Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

eAVEncVideoChromaSubsampling enumeration

Specifies chroma siting. Chroma siting defines the positions of the chroma samples relative to the luma samples. This enumeration is used with the AVEncVideoInputChromaSubsampling and AVEncVideoOutputChromaSubsampling properties.

Syntax


enum eAVEncVideoChromaSubsampling {
  eAVEncVideoChromaSubsamplingFormat_SameAsSource                    = 0, 
  eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma               = 0x8, 
  eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited            = 0x4, 
  eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited              = 0x2, 
  eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes  = 0x1 

};

Constants

eAVEncVideoChromaSubsamplingFormat_SameAsSource

Use the same chroma siting as the input video. This flag applies to the AVEncVideoOutputChromaResolution property only. This flag may not be combined with other flags.

eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma

Chroma should be reconstructed as if the underlying video was progressive content, rather than skipping fields or applying chroma filtering to minimize artifacts from reconstructing 4:2:0 interlaced chroma.

eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited

Chroma samples are aligned horizontally with multiples of the luma samples.

eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited

Chroma samples are aligned vertically with multiples of the luma samples.

eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes

The chroma planes have the same phase alignment. It is not valid to omit this flag unless the data is vertically cosited. If the data is not vertically cosited, this flag is required. If this flag is absent, the Cb and Cr samples are sited on alternate lines. For example, interlaced PAL DV video uses non-aligned chroma planes.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Codecapi.h

See also

Codec API Enumerations
ICodecAPI Interface

 

 

Show:
© 2017 Microsoft