eAVEncVideoColorPrimaries enumeration (codecapi.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Specifies the color primaries of the video. This enumeration is used with the AVEncVideoInputColorPrimaries and AVEncVideoOutputColorPrimaries properties.

Syntax

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_EBU3231 = 7,
  eAVEncVideoColorPrimaries_SMPTE_C = 8
} ;

Constants

 
eAVEncVideoColorPrimaries_SameAsSource
Value: 0
Use the same primaries as the input video. This flag applies to the AVEncVideoOutputColorPrimaries property only.
eAVEncVideoColorPrimaries_Reserved
Value: 1
Reserved. Do not use.
eAVEncVideoColorPrimaries_BT709
Value: 2
ITU-R BT.709 (including sRGB and scRGB).
eAVEncVideoColorPrimaries_BT470_2_SysM
Value: 3
ITU-R.BT.470-4 System M (NTSC).
eAVEncVideoColorPrimaries_BT470_2_SysBG
Value: 4
ITU-R.BT.470-4 System B,G (NTSC).
eAVEncVideoColorPrimaries_SMPTE170M
Value: 5
SMPTE 170M.
eAVEncVideoColorPrimaries_SMPTE240M
Value: 6
SMPTE 240M.
eAVEncVideoColorPrimaries_EBU3231
Value: 7
EBU 3213.
eAVEncVideoColorPrimaries_SMPTE_C
Value: 8
SPMTE C (NTSC).

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Header codecapi.h

See also

Codec API Enumerations

ICodecAPI Interface