Name

V4L2_PIX_FMT_Y12 — Grey-scale image

Description

This is a grey-scale image with a depth of 12 bits per pixel. Pixels are stored in 16-bit words with unused high bits padded with 0. The least significant byte is stored at lower memory addresses (little-endian).

Example 2.11. V4L2_PIX_FMT_Y12 4 × 4 pixel image

Byte Order. Each cell is one byte.

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