Partager via


VMRRenderPrefs (Compact 2013)

3/26/2014

This enumeration is used with the IVMRFilterConfig::GetRenderingPrefs and IVMRFilterConfig::SetRenderingPrefs methods to get and set basic rendering preferences.

Syntax

typedef enum {
    RenderPrefs_RestrictToInitialMonitor     = 0x00000000,
    RenderPrefs_ForceOffscreen               = 0x00000001,
    RenderPrefs_ForceOverlays                = 0x00000002,
    RenderPrefs_AllowOverlays                = 0x00000000,
    RenderPrefs_AllowOffscreen               = 0x00000000,
    RenderPrefs_DoNotRenderColorKeyAndBorder = 0x00000008,
    RenderPrefs_Reserved                     = 0x00000010,
    RenderPrefs_PreferAGPMemWhenMixing       = 0x00000020,
    RenderPrefs_RenderTargetRGB              = 0x01000000,
    RenderPrefs_RenderTargetYUV              = 0x02000000,
    RenderPrefs_Mask                         = 0x0300003f,
} VMRRenderPrefs;

Elements

  • RenderPrefs_RestrictToInitialMonitor
    Not implemented; do not use.
  • RenderPrefs_ForceOffscreen
    Indicates that the VMR uses only offscreen surfaces for rendering.
  • RenderPrefs_ForceOverlays
    Indicates that the VMR was not successful if no overlay surfaces are available.
  • RenderPrefs_AllowOverlays
    Indicates that the VMR uses overlays if they are available. Not to be used by new applications.
  • RenderPrefs_AllowOffscreen
    Indicates that the VMR uses offscreen surfaces if no overlays are available. Not to be used by new applications.
  • RenderPrefs_DoNotRenderColorKeyAndBorder
    Indicates that the application is responsible for painting the color keys.
  • RenderPrefs_Reserved
    Reserved; do not use.
  • RenderPrefs_PreferAGPMemWhenMixing
    Indicates that the VMR attempts to use AGP memory when allocating texture surfaces.
  • RenderPrefs_RenderTargetRGB
    Indicates that RGB surfaces can be created.
  • RenderPrefs_RenderTargetYUV
    Indicates that YUV surfaces can be created.
  • RenderPrefs_Mask
    Bitwise OR of all of the above flags.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

DirectShow Enumerations