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 VMRMixerPrefs {
  MixerPref_NoDecimation,
  MixerPref_DecimateOutput,
  MixerPref_ARAdjustXorY,
  MixerPref_DecimationReserved,
  MixerPref_DecimateMask,
  MixerPref_BiLinearFiltering,
  MixerPref_PointFiltering,
  MixerPref_FilteringMask,
  MixerPref_RenderTargetRGB,
  MixerPref_RenderTargetYUV,
  MixerPref_RenderTargetYUV420,
  MixerPref_RenderTargetYUV422,
  MixerPref_RenderTargetYUV444,
  MixerPref_RenderTargetReserved,
  MixerPref_RenderTargetMask,
  MixerPref_DynamicSwitchToBOB,
  MixerPref_DynamicDecimateBy2,
  MixerPref_DynamicReserved,
  MixerPref_DynamicMask
} ;

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::GetMixingPrefs

IVMRMixerControl::SetMixingPrefs