ColorPrimaries
Description:
[ CCode ( cprefix = "GST_VIDEO_COLOR_PRIMARIES_" , type_id = "gst_video_color_primaries_get_type ()" ) ]
[ GIR ( name = "VideoColorPrimaries" ) ]
public enum ColorPrimaries
The color primaries define the how to transform linear RGB values to and from the CIE XYZ colorspace.
Content:
Enum values:
- ADOBERGB - Adobe RGB primaries.
- BT2020 - ITU-R BT2020 primaries.
- BT470BG - BT470BG primaries, also
ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM
- BT470M - BT470M primaries, also FCC
Title 47 Code of Federal Regulations 73.682 (a)(20)
- BT709 - BT709 primaries, also ITU-R
BT1361 / IEC 61966-2-4 / SMPTE RP177 Annex B
- EBU3213 - EBU 3213 primaries (
JEDEC P22 phosphors).
- FILM - Generic film (colour filters
using Illuminant C)
- SMPTE170M - SMPTE170M primaries,
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
- SMPTE240M - SMPTE240M primaries
- SMPTEEG432 - SMPTE EG 432
primaries (ST 432-1 (2010) / P3 D65).
- SMPTERP431 - SMPTE RP 431
primaries (ST 431-2 (2011) / DCI P3).
- SMPTEST428 - SMPTE ST 428
primaries (CIE 1931 XYZ).
- UNKNOWN - unknown color primaries
Static methods:
Methods:
- public unowned ColorPrimariesInfo? get_info ()
Get information about the chromaticity coordinates of primaries
.
- public uint to_iso ()
Converts ColorPrimaries to the "colour
primaries" (ColourPrimaries) value defined by "ISO/IEC 23001-8 Section 7.1 Table 2" and "ITU-T H.273 Table 2".