V4L2_PIX_FMT_SBGGR16
— Bayer RGB format
This format is similar to
V4L2_PIX_FMT_SBGGR8
, except each pixel has
a depth of 16 bits. The least significant byte is stored at lower
memory addresses (little-endian). Note the actual sampling precision
may be lower than 16 bits, for example 10 bits per pixel with values
in range 0 to 1023.
Example 2.6. V4L2_PIX_FMT_SBGGR16
4 × 4
pixel image
Byte Order. Each cell is one byte.
start + 0: | B00low | B00high | G01low | G01high | B02low | B02high | G03low | G03high |
start + 8: | G10low | G10high | R11low | R11high | G12low | G12high | R13low | R13high |
start + 16: | B20low | B20high | G21low | G21high | B22low | B22high | G23low | G23high |
start + 24: | G30low | G30high | R31low | R31high | G32low | G32high | R33low | R33high |