Name

V4L2_PIX_FMT_Z16 — 16-bit depth data with distance values at each pixel

Description

This is a 16-bit format, representing depth data. Each pixel is a distance to the respective point in the image coordinates. Distance unit can vary and has to be negotiated with the device separately. Each pixel is stored in a 16-bit word in the little endian byte order.

Example 2.38. V4L2_PIX_FMT_Z16 4 × 4 pixel image

Byte Order. Each cell is one byte.

start + 0:Z00lowZ00highZ01lowZ01highZ02lowZ02highZ03lowZ03high
start + 8:Z10lowZ10highZ11lowZ11highZ12lowZ12highZ13lowZ13high
start + 16:Z20lowZ20highZ21lowZ21highZ22lowZ22highZ23lowZ23high
start + 24:Z30lowZ30highZ31lowZ31highZ32lowZ32highZ33lowZ33high