2.9.6. V4L2_PIX_FMT_SBGGR16 (‘BYR2’)

man V4L2_PIX_FMT_SBGGR16(2)

Bayer RGB format

2.9.6.1. Description

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 tange 0 to 1023.

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