VMRRenderPrefs enumeration (strmif.h)
The VMRRenderPrefs enumeration type is used with the IVMRFilterConfig::GetRenderingPrefs and IVMRFilterConfig::SetRenderingPrefs methods to get and set basic rendering preferences.
Syntax
typedef enum VMRRenderPrefs {
RenderPrefs_RestrictToInitialMonitor = 0,
RenderPrefs_ForceOffscreen = 0x1,
RenderPrefs_ForceOverlays = 0x2,
RenderPrefs_AllowOverlays = 0,
RenderPrefs_AllowOffscreen = 0,
RenderPrefs_DoNotRenderColorKeyAndBorder = 0x8,
RenderPrefs_Reserved = 0x10,
RenderPrefs_PreferAGPMemWhenMixing = 0x20,
RenderPrefs_Mask = 0x3f
} ;
Constants
RenderPrefs_RestrictToInitialMonitorValue: 0 Not implemented; do not use. |
RenderPrefs_ForceOffscreenValue: 0x1 Indicates that the Video Mixing Renderer Filter 7 (VMR-7) should use only offscreen surfaces for rendering. |
RenderPrefs_ForceOverlaysValue: 0x2 Indicates that the VMR-7 should fail if no overlay surfaces are available. |
RenderPrefs_AllowOverlaysValue: 0 Indicates that the VMR-7 should use overlays if they are available. Should not be used by new applications. |
RenderPrefs_AllowOffscreenValue: 0 Indicates that the VMR-7 should use offscreen surfaces if no overlays are available. Should not be used by new applications. |
RenderPrefs_DoNotRenderColorKeyAndBorderValue: 0x8 Indicates that the application is responsible for painting the color keys. |
RenderPrefs_ReservedValue: 0x10 Reserved; do not use. |
RenderPrefs_PreferAGPMemWhenMixingValue: 0x20 Indicates that the VMR-7 should attempt to use AGP memory when allocating texture surfaces. |
RenderPrefs_MaskValue: 0x3f Bitwise OR of all of the above flags. |
Remarks
By default the VMR-7 tries to allocate DirectDraw texture surfaces from Video Memory and falls back to AGP memory if there is no Video Memory remaining to fulfill the allocation. In order for the VMR-7 to use AGP memory, the graphics card must have some basic support for blitting from AGP memory to Video Memory.
Requirements
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | strmif.h (include Dshow.h) |