VMR9MixerPrefs enumeration

The VMR9MixerPrefs enumeration type contains flags that specify how the Video Mixing Render 9 filter (VMR-9) mixes the video streams. Settings include decimation, filtering, and render target preferences.

Syntax

typedef enum __MIDL___MIDL_itf_vmr9_0000_0005_0001 {
  MixerPref9_NoDecimation,
  MixerPref9_DecimateOutput,
  MixerPref9_ARAdjustXorY,
  MixerPref9_NonSquareMixing,
  MixerPref9_DecimateMask,
  MixerPref9_BiLinearFiltering,
  MixerPref9_PointFiltering,
  MixerPref9_AnisotropicFiltering,
  MixerPref9_PyramidalQuadFiltering,
  MixerPref9_GaussianQuadFiltering,
  MixerPref9_FilteringReserved,
  MixerPref9_FilteringMask,
  MixerPref9_RenderTargetRGB,
  MixerPref9_RenderTargetYUV,
  MixerPref9_RenderTargetReserved,
  MixerPref9_RenderTargetMask,
  MixerPref9_DynamicSwitchToBOB,
  MixerPref9_DynamicDecimateBy2,
  MixerPref9_DynamicReserved,
  MixerPref9_DynamicMask
} VMR9MixerPrefs;

Constants

MixerPref9_NoDecimation No decimation. The video will be rendered onto the surface in its native size.
MixerPref9_DecimateOutput Decimate output by 2 in the x and y directions.
MixerPref9_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. Requires Windows XP Service Pack 2. For more information, see Aspect Ratio Correction.
MixerPref9_NonSquareMixing Do not perform aspect ratio correction on the composited stream if the input video streams have the same aspect ratio. Requires Windows XP Service Pack 2. For more information, see Non-Square Mixing.
MixerPref9_DecimateMask Bitmask to isolate the flags that control decimation. (This value is not a valid flag.)
MixerPref9_BiLinearFiltering Bilinear interpolation filtering. A weighted average of a 2 x 2 area of neighboring pixels is used.
MixerPref9_PointFiltering Point filtering. The value of the nearest is pixel is used.
MixerPref9_AnisotropicFiltering Anisotropic filtering.
MixerPref9_PyramidalQuadFiltering Four-sample tent filtering.
MixerPref9_GaussianQuadFiltering Four-sample Gaussian filtering.
MixerPref9_FilteringReserved Reserved for future use.
MixerPref9_FilteringMask Bitmask to isolate flags that control filtering. (This value is not a valid flag.)
MixerPref9_RenderTargetRGB Use an RGB render target.
MixerPref9_RenderTargetYUV Indicates that the target is a YUV surface. Requires Windows XP Service Pack 2. For more information, see YUV Mixing Mode.
MixerPref9_RenderTargetReserved Reserved for future use.
MixerPref9_RenderTargetMask Bitmaks to isolate flags that control the render target. (This value is not a valid flag.)
MixerPref9_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 is applied when the VMR mixer composes the next video frame.
MixerPref9_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 will be applied when the VMR mixer composes the next video frame.
MixerPref9_DynamicReserved Reserved.
MixerPref9_DynamicMask Bitmask to isolate the MixerPref9_DynamicSwitchToBOB and MixerPref9_DynamicDecimateBy2 flags. (This value is not a valid flag.)

Requirements

   
Header vmr9.h

See also

DirectShow Enumerated Types

IVMRMixerControl9::GetMixingPrefs

IVMRMixerControl9::SetMixingPrefs