1 .. -*- coding: utf-8; mode: rst -*-
3 .. _V4L2-PIX-FMT-SRGGB10:
5 ***************************************************************************************************************************
6 V4L2_PIX_FMT_SRGGB10 ('RG10'), V4L2_PIX_FMT_SGRBG10 ('BA10'), V4L2_PIX_FMT_SGBRG10 ('GB10'), V4L2_PIX_FMT_SBGGR10 ('BG10'),
7 ***************************************************************************************************************************
9 *man V4L2_PIX_FMT_SRGGB10(2)*
14 10-bit Bayer formats expanded to 16 bits
20 These four pixel formats are raw sRGB / Bayer formats with 10 bits per
21 colour. Each colour component is stored in a 16-bit word, with 6 unused
22 high bits filled with zeros. Each n-pixel row contains n/2 green samples
23 and n/2 blue or red samples, with alternating red and blue rows. Bytes
24 are stored in memory in little endian order. They are conventionally
25 described as GRGR... BGBG..., RGRG... GBGB..., etc. Below is an example
26 of one of these formats
30 Each cell is one byte, high 6 bits in high bytes are 0.
37 :widths: 2 1 1 1 1 1 1 1 1
123 .. ------------------------------------------------------------------------------
124 .. This file was automatically converted from DocBook-XML with the dbxml
125 .. library (https://github.com/return42/sphkerneldoc). The origin XML comes
126 .. from the linux kernel, refer to:
128 .. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
129 .. ------------------------------------------------------------------------------