2.7.5. V4L2_PIX_FMT_Y10BPACK ('Y10B')¶
Grey-scale image as a bit-packed array
2.7.5.1. Description¶
This is a packed grey-scale image format with a depth of 10 bits per pixel. Pixels are stored in a bit-packed array of 10bit bits per pixel, with no padding between them and with the most significant bits coming first from the left.
Bit-packed representation.
pixels cross the byte boundary and have a ratio of 5 bytes for each 4 pixels.
Y'00[9:2] |
Y'00[1:0]Y'01[9:4] |
Y'01[3:0]Y'02[9:6] |
Y'02[5:0]Y'03[9:8] |
Y'03[7:0] |