class ColorSpace
Defined at line 481 of file fidling/gen/sdk/fidl/fuchsia.images2/fuchsia.images2/hlcpp/fuchsia/images2/cpp/fidl.h
Expresses the color space used to interpret video pixel values.
This list has a separate entry for each variant of a color space standard.
For this reason, should we ever add support for the RGB variant of 709, for
example, we'd add a separate entry to this list for that variant. Similarly
for the RGB variants of 2020 or 2100. Similarly for the YcCbcCrc variant of
2020. Similarly for the ICtCp variant of 2100.
See ImageFormatIsSupportedColorSpaceForPixelFormat() for whether a
combination of `PixelFormat` and `ColorSpace` is potentially supported.
Generally, a `ColorSpace` is not supported for any `PixelFormat` whose
bits-per-sample isn't compatible with the color space's spec, nor for any
`PixelFormat` which is a mismatch in terms of RGB vs. YUV.
The "limited range" in comments below refers to where black and white are
defined to be (and simimlar for chroma), but should not be interpreted as
guaranteeing that there won't be values outside the nominal "limited range".
In other words, "limited range" doesn't necessarily mean there won't be any
values below black or above white, or outside the "limited" chroma range.
For "full range", black is 0 and white is the max possible/permitted numeric
value (and similar for chroma).
Public Members
static ColorSpace INVALID
static ColorSpace SRGB
static ColorSpace REC601_NTSC
static ColorSpace REC601_NTSC_FULL_RANGE
static ColorSpace REC601_PAL
static ColorSpace REC601_PAL_FULL_RANGE
static ColorSpace REC709
static ColorSpace REC2020
static ColorSpace REC2100
static ColorSpace PASSTHROUGH
static ColorSpace DO_NOT_CARE
Public Methods
void ColorSpace ()
Defined at line 483 of file fidling/gen/sdk/fidl/fuchsia.images2/fuchsia.images2/hlcpp/fuchsia/images2/cpp/fidl.h
void ColorSpace (uint32_t value)
Defined at line 484 of file fidling/gen/sdk/fidl/fuchsia.images2/fuchsia.images2/hlcpp/fuchsia/images2/cpp/fidl.h
uint32_t operator unsigned int ()
Defined at line 485 of file fidling/gen/sdk/fidl/fuchsia.images2/fuchsia.images2/hlcpp/fuchsia/images2/cpp/fidl.h
bool IsUnknown ()
Defined at line 487 of file fidling/gen/sdk/fidl/fuchsia.images2/fuchsia.images2/hlcpp/fuchsia/images2/cpp/fidl.h
ColorSpace Unknown ()
Defined at line 516 of file fidling/gen/sdk/fidl/fuchsia.images2/fuchsia.images2/hlcpp/fuchsia/images2/cpp/fidl.h