以下是 eAVEncVideoColorPrimaries 枚举的定义:
typedef enum eAVEncVideoColorPrimaries {
eAVEncVideoColorPrimaries_SameAsSource = 0,
eAVEncVideoColorPrimaries_Reserved = 1,
eAVEncVideoColorPrimaries_BT709 = 2,
eAVEncVideoColorPrimaries_BT470_2_SysM = 3,
eAVEncVideoColorPrimaries_BT470_2_SysBG = 4,
eAVEncVideoColorPrimaries_SMPTE170M = 5,
eAVEncVideoColorPrimaries_SMPTE240M = 6,
eAVEncVideoColorPrimaries_EBU3213 = 7,
eAVEncVideoColorPrimaries_SMPTE_C = 8,
eAVEncVideoColorPrimaries_Custom = 9
} eAVEncVideoColorPrimaries;
这个枚举定义了几种不同的颜色原色设置:
- eAVEncVideoColorPrimaries_SameAsSource: 颜色原色与源相同。使用源视频的颜色原色设置。
- eAVEncVideoColorPrimaries_Reserved: 保留值,未指定颜色原色。
- eAVEncVideoColorPrimaries_BT709: ITU-R BT.709 标准定义的颜色原色。
- eAVEncVideoColorPrimaries_BT470_2_SysM: ITU-R BT.470-2 System M 标准定义的颜色原色。
- eAVEncVideoColorPrimaries_BT470_2_SysBG: ITU-R BT.470-2 System B, G 标准定义的颜色原色。
- eAVEncVideoColorPrimaries_SMPTE170M: SMPTE 170M 标准定义的颜色原色。
- eAVEncVideoColorPrimaries_SMPTE240M: SMPTE 240M 标准定义的颜色原色。
- eAVEncVideoColorPrimaries_EBU3213: EBU 3213-E 标准定义的颜色原色。
- eAVEncVideoColorPrimaries_SMPTE_C: SMPTE C 标准定义的颜色原色。
- eAVEncVideoColorPrimaries_Custom: 自定义颜色原色。
通过调整颜色原色设置,可以影响视频的颜色表现。选择适当的颜色原色取决于您的应用需求和视频源的特性。
转载请注明出处:http://www.pingtaimeng.com/article/detail/24551/Win32 API/Codecapi.h/eAVEncVideoColorPrimaries