1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-SRGGB14P:
4 .. _v4l2-pix-fmt-sbggr14p:
5 .. _v4l2-pix-fmt-sgbrg14p:
6 .. _v4l2-pix-fmt-sgrbg14p:
8 *******************************************************************************************************************************
9 V4L2_PIX_FMT_SRGGB14P ('pREE'), V4L2_PIX_FMT_SGRBG14P ('pgEE'), V4L2_PIX_FMT_SGBRG14P ('pGEE'), V4L2_PIX_FMT_SBGGR14P ('pBEE'),
10 *******************************************************************************************************************************
12 *man V4L2_PIX_FMT_SRGGB14P(2)*
17 14-bit packed Bayer formats
23 These four pixel formats are packed raw sRGB / Bayer formats with 14
24 bits per colour. Every four consecutive samples are packed into seven
25 bytes. Each of the first four bytes contain the eight high order bits
26 of the pixels, and the three following bytes contains the six least
27 significants bits of each pixel, in the same order.
29 Each n-pixel row contains n/2 green samples and n/2 blue or red samples,
30 with alternating green-red and green-blue rows. They are conventionally
31 described as GRGR... BGBG..., RGRG... GBGB..., etc. Below is an example
32 of one of these formats:
35 Each cell is one byte.
41 .. tabularcolumns:: |p{1.8cm}|p{1.0cm}|p{1.0cm}|p{1.0cm}|p{1.1cm}|p{3.3cm}|p{3.3cm}|p{3.3cm}|
46 :widths: 2 1 1 1 1 3 3 3
61 - G\ :sub:`01low bits 1--0`\ (bits 7--6)
63 B\ :sub:`00low bits 5--0`\ (bits 5--0)
65 - B\ :sub:`02low bits 3--0`\ (bits 7--4)
67 G\ :sub:`01low bits 5--2`\ (bits 3--0)
69 - G\ :sub:`03low bits 5--0`\ (bits 7--2)
71 B\ :sub:`02low bits 5--4`\ (bits 1--0)
85 - R\ :sub:`11low bits 1--0`\ (bits 7--6)
87 G\ :sub:`10low bits 5--0`\ (bits 5--0)
89 - G\ :sub:`12low bits 3--0`\ (bits 7--4)
91 R\ :sub:`11low bits 5--2`\ (bits 3--0)
93 - R\ :sub:`13low bits 5--0`\ (bits 7--2)
95 G\ :sub:`12low bits 5--4`\ (bits 1--0)
109 - G\ :sub:`21low bits 1--0`\ (bits 7--6)
111 B\ :sub:`20low bits 5--0`\ (bits 5--0)
113 - B\ :sub:`22low bits 3--0`\ (bits 7--4)
115 G\ :sub:`21low bits 5--2`\ (bits 3--0)
117 - G\ :sub:`23low bits 5--0`\ (bits 7--2)
119 B\ :sub:`22low bits 5--4`\ (bits 1--0)
133 - R\ :sub:`31low bits 1--0`\ (bits 7--6)
134 G\ :sub:`30low bits 5--0`\ (bits 5--0)
136 - G\ :sub:`32low bits 3--0`\ (bits 7--4)
137 R\ :sub:`31low bits 5--2`\ (bits 3--0)
139 - R\ :sub:`33low bits 5--0`\ (bits 7--2)
140 G\ :sub:`32low bits 5--4`\ (bits 1--0)