共用方式為


VMR9MixerPrefs Enumeration

 
Microsoft DirectShow 9.0

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 {
  MixerPref9_NoDecimation            = 0x00000001,
  MixerPref9_DecimateOutput          = 0x00000002,
MixerPref9_ARAdjustXorY            = 0x00000004,
  MixerPref9_NonSquareMixing         = 0x00000008,
  MixerPref9_DecimateMask            = 0x0000000F,
  MixerPref9_BiLinearFiltering       = 0x00000010,
  MixerPref9_PointFiltering          = 0x00000020,
  MixerPref9_AnisotropicFiltering    = 0x00000040,
  MixerPref9_PyramidalQuadFiltering  = 0x00000080,
  MixerPref9_GaussianQuadFiltering   = 0x00000100,
  MixerPref9_FilteringReserved       = 0x00000E00,
  MixerPref9_FilteringMask           = 0x00000FF0,
  MixerPref9_RenderTargetRGB         = 0x00001000,

  MixerPref9_RenderTargetReserved    = 0x000FC000,
  MixerPref9_RenderTargetMask        = 0x000FF000
} VMR9MixerPrefs;

Members

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

4-sample tent filtering.

MixerPref9_GaussianQuadFiltering

4-sample Gaussian filterng.

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