alias V4L2::YCbCrEncoding

Alias Definition

Linux::V4L2YCbCrEncoding

Defined in:

v4l2.cr

Constant Summary

BT2020 = 6_u8

BT.2020 Non-constant Luminance Y'CbCr

BT2020_CONST_LUM = 7_u8

BT.2020 Constant Luminance Y'CbcCrc

DEFAULT = 0_u8

Mapping of DEFAULT to actual encodings for the various colorspaces:

V4L2_COLORSPACE_SMPTE170M, V4L2_COLORSPACE_470_SYSTEM_M, V4L2_COLORSPACE_470_SYSTEM_BG, V4L2_COLORSPACE_SRGB, V4L2_COLORSPACE_OPRGB and V4L2_COLORSPACE_JPEG: 601

V4L2_COLORSPACE_REC709 and V4L2_COLORSPACE_DCI_P3: 709

V4L2_COLORSPACE_BT2020: BT2020

V4L2_COLORSPACE_SMPTE240M: SMPTE240M

ITU601 = 1_u8

ITU-R 601 -- SDTV

REC709 = 2_u8

Rec. 709 -- HDTV

SMPTE240M = 8_u8

SMPTE 240M -- Obsolete HDTV

SYCC = 5_u8

sYCC (Y'CbCr encoding of sRGB), identical to ENC_601. It was added originally due to a misunderstanding of the sYCC standard. It should not be used, instead use 601.

XV601 = 3_u8

ITU-R 601/EN 61966-2-4 Extended Gamut -- SDTV

XV709 = 4_u8

Rec. 709/EN 61966-2-4 Extended Gamut -- HDTV