linux_dsm_epyc7002/Documentation/media/uapi/v4l/pixfmt-srggb8.rst
Mauro Carvalho Chehab 4810923765 [media] docs-rst: remove width hints from pixfmt byte order tables
Those hints are wrong, and doesn't really improve the look
of those tables. So, keep them only when they're useful.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-08-22 10:16:18 -03:00

81 lines
1.2 KiB
ReStructuredText

.. -*- coding: utf-8; mode: rst -*-
.. _V4L2-PIX-FMT-SRGGB8:
****************************
V4L2_PIX_FMT_SRGGB8 ('RGGB')
****************************
Bayer RGB format
Description
===========
This is commonly the native format of digital cameras, reflecting the
arrangement of sensors on the CCD device. Only one red, green or blue
value is given for each pixel. Missing components must be interpolated
from neighbouring pixels. From left to right the first row consists of a
red and green value, the second row of a green and blue value. This
scheme repeats to the right and down for every two columns and rows.
**Byte Order.**
Each cell is one byte.
.. flat-table::
:header-rows: 0
:stub-columns: 0
- .. row 1
- start + 0:
- R\ :sub:`00`
- G\ :sub:`01`
- R\ :sub:`02`
- G\ :sub:`03`
- .. row 2
- start + 4:
- G\ :sub:`10`
- B\ :sub:`11`
- G\ :sub:`12`
- B\ :sub:`13`
- .. row 3
- start + 8:
- R\ :sub:`20`
- G\ :sub:`21`
- R\ :sub:`22`
- G\ :sub:`23`
- .. row 4
- start + 12:
- G\ :sub:`30`
- B\ :sub:`31`
- G\ :sub:`32`
- B\ :sub:`33`