@ -426,6 +426,7 @@ enum AVPixelFormat {
enum AVColorPrimaries {
AVCOL_PRI_BT709 = 1 , ///< also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP177 Annex B
AVCOL_PRI_UNSPECIFIED = 2 ,
AVCOL_PRI_RESERVED = 3 ,
AVCOL_PRI_BT470M = 4 ,
AVCOL_PRI_BT470BG = 5 , ///< also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM
AVCOL_PRI_SMPTE170M = 6 , ///< also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
@ -441,6 +442,7 @@ enum AVColorPrimaries {
enum AVColorTransferCharacteristic {
AVCOL_TRC_BT709 = 1 , ///< also ITU-R BT1361
AVCOL_TRC_UNSPECIFIED = 2 ,
AVCOL_TRC_RESERVED = 3 ,
AVCOL_TRC_GAMMA22 = 4 , ///< also ITU-R BT470M / ITU-R BT1700 625 PAL & SECAM
AVCOL_TRC_GAMMA28 = 5 , ///< also ITU-R BT470BG
AVCOL_TRC_SMPTE170M = 6 , ///< also ITU-R BT601-6 525 or 625 / ITU-R BT1358 525 or 625 / ITU-R BT1700 NTSC
@ -463,6 +465,7 @@ enum AVColorSpace {
AVCOL_SPC_RGB = 0 ,
AVCOL_SPC_BT709 = 1 , ///< also ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / SMPTE RP177 Annex B
AVCOL_SPC_UNSPECIFIED = 2 ,
AVCOL_SPC_RESERVED = 3 ,
AVCOL_SPC_FCC = 4 ,
AVCOL_SPC_BT470BG = 5 , ///< also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM / IEC 61966-2-4 xvYCC601
AVCOL_SPC_SMPTE170M = 6 , ///< also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC / functionally identical to above