Video for Linux Two API Specification: Revision 0.24
Prev |  | Next

# V4L2_PIX_FMT_Y16 ('Y16 ')

## Name

`V4L2_PIX_FMT_Y16` -- Grey-scale image

## Description

This is a grey-scale image with a depth of 16 bits per pixel. The least significant byte is stored at lower memory addresses (little-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-1. `V4L2_PIX_FMT_Y16` 4 × 4 pixel image

Byte Order. Each cell is one byte.

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

Prev | Home | Next
V4L2_PIX_FMT_GREY ('GREY') | Up | V4L2_PIX_FMT_YUYV ('YUYV')