eAVEncVideoChromaResolution 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 chroma resolution. This enumeration is used with the AVEncVideoInputChromaResolution and AVEncVideoOutputChromaResolution properties.
Syntax
typedef enum eAVEncVideoChromaResolution {
eAVEncVideoChromaResolution_SameAsSource = 0,
eAVEncVideoChromaResolution_444 = 1,
eAVEncVideoChromaResolution_422 = 2,
eAVEncVideoChromaResolution_420 = 3,
eAVEncVideoChromaResolution_411 = 4
} ;
Constants
eAVEncVideoChromaResolution_SameAsSource Value: 0 Use the same chroma resolution as the input video. This flag applies to the AVEncVideoOutputChromaResolution property only. |
eAVEncVideoChromaResolution_444 Value: 1 4:4:4 (no downsampling). |
eAVEncVideoChromaResolution_422 Value: 2 4:2:2 (2:1 horizontal downsampling, with no vertical downsampling). |
eAVEncVideoChromaResolution_420 Value: 3 4:2:0 (2:1 horizontal downsampling, with 2:1 vertical downsampling). |
eAVEncVideoChromaResolution_411 Value: 4 4:1:1 (4:1 horizontal downsampling, with no vertical downsampling). |
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 |