1 .. -*- coding: utf-8; mode: rst -*-
3 .. _V4L2-PIX-FMT-SRGGB12:
4 .. _v4l2-pix-fmt-sbggr12:
5 .. _v4l2-pix-fmt-sgbrg12:
6 .. _v4l2-pix-fmt-sgrbg12:
9 ***************************************************************************************************************************
10 V4L2_PIX_FMT_SRGGB12 ('RG12'), V4L2_PIX_FMT_SGRBG12 ('BA12'), V4L2_PIX_FMT_SGBRG12 ('GB12'), V4L2_PIX_FMT_SBGGR12 ('BG12'),
11 ***************************************************************************************************************************
13 *man V4L2_PIX_FMT_SRGGB12(2)*
18 12-bit Bayer formats expanded to 16 bits
24 These four pixel formats are raw sRGB / Bayer formats with 12 bits per
25 colour. Each colour component is stored in a 16-bit word, with 4 unused
26 high bits filled with zeros. Each n-pixel row contains n/2 green samples
27 and n/2 blue or red samples, with alternating red and blue rows. Bytes
28 are stored in memory in little endian order. They are conventionally
29 described as GRGR... BGBG..., RGRG... GBGB..., etc. Below is an example
30 of one of these formats
33 Each cell is one byte, high 6 bits in high bytes are 0.
40 :widths: 2 1 1 1 1 1 1 1 1