V4L2_PIX_FMT_Y8I — Interleaved grey-scale image, e.g. from a stereo-pair


This is a grey-scale image with a depth of 8 bits per pixel, but with pixels from 2 sources interleaved. Each pixel is stored in a 16-bit word. E.g. the R200 RealSense camera stores pixel from the left sensor in lower and from the right sensor in the higher 8 bits.

Example 2.16. V4L2_PIX_FMT_Y8I 4 × 4 pixel image

Byte Order. Each cell is one byte.

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