2.7.1.4. V4L2_PIX_FMT_Y12P (‘Y12P’)

Grey-scale image as a MIPI RAW12 packed array

2.7.1.4.1. Description

This is a packed grey-scale image format with a depth of 12 bits per pixel. Two consecutive pixels are packed into 3 bytes. The first 2 bytes contain the 8 high order bits of the pixels, and the 3rd byte contains the 4 least significants bits of each pixel, in the same order.

Byte Order. Each cell is one byte.

start + 0:

Y’00high

Y’01high

Y’01low(bits 7--4)

Y’00low(bits 3--0)