以下是 eAVEncVideoColorTransferFunction 枚举的定义:
typedef enum eAVEncVideoColorTransferFunction {
eAVEncVideoColorTransferFunction_SameAsSource = 0,
eAVEncVideoColorTransferFunction_10 = 1,
eAVEncVideoColorTransferFunction_18 = 2,
eAVEncVideoColorTransferFunction_20 = 3,
eAVEncVideoColorTransferFunction_22 = 4,
eAVEncVideoColorTransferFunction_22_709 = 5,
eAVEncVideoColorTransferFunction_22_240M = 6,
eAVEncVideoColorTransferFunction_22_8bit_sRGB = 7,
eAVEncVideoColorTransferFunction_28 = 8,
eAVEncVideoColorTransferFunction_28_709 = 9,
eAVEncVideoColorTransferFunction_28_240M = 10,
eAVEncVideoColorTransferFunction_28_8bit_sRGB = 11
} eAVEncVideoColorTransferFunction;
这个枚举定义了多种不同的颜色传输函数设置:
- eAVEncVideoColorTransferFunction_SameAsSource: 颜色传输函数与源相同。使用源视频的颜色传输函数设置。
- eAVEncVideoColorTransferFunction_10 到 eAVEncVideoColorTransferFunction_22_8bit_sRGB: 这些值表示不同的颜色传输函数,包括 ITU-R BT.709、ITU-R BT.240M、sRGB 等。
通过调整颜色传输函数设置,可以影响视频的亮度表现。选择适当的颜色传输函数取决于您的应用需求和视频源的特性。
转载请注明出处:http://www.pingtaimeng.com/article/detail/24552/Win32 API/Codecapi.h/eAVEncVideoColorTransferFunction