Windows Dev Center

Expand Minimize

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_ARAdjustXorY          = 0x00000004,
  MixerPref_DecimationReserved    = 0x00000008,
  MixerPref_DecimateMask          = 0x0000000F,
  MixerPref_BiLinearFiltering     = 0x00000010,
  MixerPref_PointFiltering        = 0x00000020,
  MixerPref_FilteringMask         = 0x000000F0,
  MixerPref_RenderTargetRGB       = 0x00000100,
  MixerPref_RenderTargetYUV       = 0x00001000,
  MixerPref_RenderTargetYUV420    = 0x00000200,
  MixerPref_RenderTargetYUV422    = 0x00000400,
  MixerPref_RenderTargetYUV444    = 0x00000800,
  MixerPref_RenderTargetReserved  = 0x0000E000,
  MixerPref_RenderTargetMask      = 0x0000FF00,
  MixerPref_DynamicSwitchToBOB    = 0x00010000,
  MixerPref_DynamicDecimateBy2    = 0x00020000,
  MixerPref_DynamicReserved       = 0x000C0000,
  MixerPref_DynamicMask           = 0x000F0000
} VMRMixerPrefs;

Constants

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.

Note  Deprecated.
MixerPref_RenderTargetYUV422

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

Note  Deprecated.
MixerPref_RenderTargetYUV444

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

Note  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

Strmif.h (include Dshow.h)

See also

DirectShow Enumerated Types
IVMRMixerControl::SetMixingPrefs
IVMRMixerControl::GetMixingPrefs

 

 

Community Additions

ADD
Show:
© 2015 Microsoft