Share via


eAVEncVideoChromaSubsampling Enumeration

 
Microsoft DirectShow 9.0

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,
};

Members

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

Header: Include codecapi.h.

See Also