alias V4L2::ColorSpace

Alias Definition

Linux::V4L2ColorSpace

Defined in:

v4l2.cr

Constant Summary

BT2020 = 10_u32

BT.2020 colorspace, used for UHDTV.

BT470_SYSTEM_BG = 6_u32

EBU Tech 3213 PAL/SECAM colorspace. This only makes sense when dealing with really old PAL/SECAM recordings. Superseded by SMPTE 170M.

BT470_SYSTEM_M = 5_u32

NTSC 1953 colorspace. This only makes sense when dealing with really, really old NTSC recordings. Superseded by SMPTE 170M.

BT878 = 4_u32

Deprecated, do not use. No driver will ever return this. This was based on a misunderstanding of the bt878 datasheet.

DCI_P3 = 12_u32

DCI-P3 colorspace, used by cinema projectors

DEFAULT = 0_u32

Default colorspace, i.e. let the driver figure it out. Can only be used with video capture.

JPEG = 7_u32

Effectively shorthand for SRGB, V4L2_YCBCR_ENC_601 and V4L2_QUANTIZATION_FULL_RANGE. To be used for (Motion-)JPEG.

OPRGB = 9_u32

opRGB colorspace

RAW = 11_u32

Raw colorspace: for RAW unprocessed images

REC709 = 3_u32

Rec.709: used for HDTV

SMPTE170M = 1_u32

SMPTE 170M: used for broadcast NTSC/PAL SDTV

SMPTE240M = 2_u32

Obsolete pre-1998 SMPTE 240M HDTV standard, superseded by Rec 709

SRGB = 8_u32

For RGB colorspaces such as produces by most webcams.