共用方式為


VMRMixerPrefs Enumeration

 
Microsoft DirectShow 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

  MixerPref_ARAdjustXorY          = 0x00000004,
    MixerPref_DecimationReserved    = 0x00000008,

Members

MixerPref_NoDecimation

No decimation. The video will be rendered onto the surface in its native size.

MixerPref_DecimateOutput

Decimate output by 2 in the x and y directions.

MixerPref_ARAdjustXorY

Adjust the horizontal or vertical size of the video streams to match the target aspect ratio. If this flag is not present, the VMR adjusts the horizontal size only. For more information, see Aspect Ratio Correction.

MixerPref_DecimationReserved

Reserved.

MixerPref_DecimateMask

Bitmask to isolate the flags that control decimation. (This value is not a valid flag.)

MixerPref_BiLinearFiltering

Use bi-linear filtering. This is the default type of filtering, but not all cards can support it.

MixerPref_PointFiltering

Use point filtering.

MixerPref_FilteringMask

Bitmask to isolate the flags the control filtering.  (This value is not a valid flag.)

MixerPref_RenderTargetRGB

The render target is an RGB surface.

MixerPref_RenderTargetYUV

The render target is a YUV surface. Requires Windows XP Service Pack 2. For more information, see YUV Mixing Mode.

MixerPref_RenderTargetYUV420

The render target is a YUV 4:2:0 surface. Deprecated.

MixerPref_RenderTargetYUV422

The render target is a YUV 4:2:2 surface. Deprecated.

MixerPref_RenderTargetYUV444

The render target is a YUV 4:4:4 surface. Deprecated.

MixerPref_RenderTargetReserved

Reserved.

MixerPref_RenderTargetMask

Bitmask to isolate flags that control the render target. (This value is not a valid flag.)

MixerPref_DynamicSwitchToBOB

In YUV mixing mode only, this flag switches the VMR to bob deinterlacing. You can add or remove this flag while the filter graph is running; the change will be applied when the VMR mixer composes the next video frame.

MixerPref_DynamicDecimateBy2

In YUV mixing mode only, this flag causes the VMR to decimate the image by a factor of 2 horizontally and vertically. You can add or remove this flag while the filter graph is running; the change is applied when the VMR mixer composes the next video frame.

MixerPref_DynamicReserved

Reserved.

MixerPref_DynamicMask

Bitmask to isolate the MixerPref_DynamicSwitchToBOB and MixerPref_DynamicDecimateBy2 flags. (This value is not a valid flag.)

Requirements

  Header: Dshow.h

See Also