1 .. -*- coding: utf-8; mode: rst -*-
3 .. _V4L2-PIX-FMT-SRGGB10:
4 .. _v4l2-pix-fmt-sbggr10:
5 .. _v4l2-pix-fmt-sgbrg10:
6 .. _v4l2-pix-fmt-sgrbg10:
8 ***************************************************************************************************************************
9 V4L2_PIX_FMT_SRGGB10 ('RG10'), V4L2_PIX_FMT_SGRBG10 ('BA10'), V4L2_PIX_FMT_SGBRG10 ('GB10'), V4L2_PIX_FMT_SBGGR10 ('BG10'),
10 ***************************************************************************************************************************
12 *man V4L2_PIX_FMT_SRGGB10(2)*
17 10-bit Bayer formats expanded to 16 bits
23 These four pixel formats are raw sRGB / Bayer formats with 10 bits per
24 colour. Each colour component is stored in a 16-bit word, with 6 unused
25 high bits filled with zeros. Each n-pixel row contains n/2 green samples
26 and n/2 blue or red samples, with alternating red and blue rows. Bytes
27 are stored in memory in little endian order. They are conventionally
28 described as GRGR... BGBG..., RGRG... GBGB..., etc. Below is an example
29 of one of these formats
32 Each cell is one byte, high 6 bits in high bytes are 0.
39 :widths: 2 1 1 1 1 1 1 1 1