Microsoft DirectX 9.0

VMRMixerPrefs Enumeration

The VMRMixerPrefs enumeration contains flags that specify decimation, filtering, and color space information that will be used when the video image is created on the DirectDraw surface.

Syntax

typedef enum {
    MixerPref_NoDecimation          = 0x00000001,
    MixerPref_DecimateOutput        = 0x00000002,
    MixerPref_DecimateMask          = 0x0000000F,
    MixerPref_BiLinearFiltering     = 0x00000010,
    MixerPref_PointFiltering        = 0x00000020,
    MixerPref_FilteringMask         = 0x000000F0,
    MixerPref_RenderTargetRGB       = 0x00000100,
    MixerPref_RenderTargetYUV420    = 0x00000200,
    MixerPref_RenderTargetYUV422    = 0x00000400,
    MixerPref_RenderTargetYUV444    = 0x00000800,
    MixerPref_RenderTargetReserved  = 0x0000F000,  
    MixerPref_RenderTargetMask      = 0x0000FF00
} VMRMixerPrefs;

Members

MixerPref_NoDecimation

Indicates that the video will be rendered onto the surface in its native size.

MixerPref_DecimateOutput

Indicates that the native video will be decimated by a factor of 2 in both x and y directions.

MixerPref_DecimateMask

Used internally by the VMR to isolate the fields relevant to each parameter being set. Should not be used by applications.

MixerPref_BiLinearFiltering

Indicates that bi-linear filtering will be used. This is the default type of filtering, but not all cards can support it.

MixerPref_PointFiltering

Indicates that point filtering will be used.

MixerPref_FilteringMask

Used internally by the VMR to isolate the fields relevant to each parameter being set. Should not be used by applications.

MixerPref_RenderTargetRGB

Indicates that the render target is an RGB surface.

MixerPref_RenderTargetYUV420

Indicates that the render target is a YUV 4:2:0 surface.

MixerPref_RenderTargetYUV422

Indicates that the render target is a YUV 4:2:2 surface.

MixerPref_RenderTargetYUV444

Indicates that the render target is a YUV 4:4:4 surface.

MixerPref_RenderTargetReserved

Reserved for future use.

MixerPref_RenderTargetMask

Used internally by the VMR to isolate the fields relevant to each parameter being set. Should not be used by applications.

See Also