V4L2_PIX_FMT_Y16_BE — Grey-scale image


This is a grey-scale image with a depth of 16 bits per pixel. The most significant byte is stored at lower memory addresses (big-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.15. V4L2_PIX_FMT_Y16_BE 4 × 4 pixel image

Byte Order. Each cell is one byte.

start + 0:Y'00highY'00lowY'01highY'01lowY'02highY'02lowY'03highY'03low
start + 8:Y'10highY'10lowY'11highY'11lowY'12highY'12lowY'13highY'13low
start + 16:Y'20highY'20lowY'21highY'21lowY'22highY'22lowY'23highY'23low
start + 24:Y'30highY'30lowY'31highY'31lowY'32highY'32lowY'33highY'33low