VMR9SurfaceAllocationFlags enumeration
The VMR9SurfaceAllocationFlags enumeration type is used with the IVMRSurfaceAllocator9::InitializeDevice method to specify surface creation parameters (VMR-9 only).
Syntax
typedef enum __MIDL___MIDL_itf_vmr9_0000_0001_0001 {
VMR9AllocFlag_3DRenderTarget,
VMR9AllocFlag_DXVATarget,
VMR9AllocFlag_TextureSurface,
VMR9AllocFlag_OffscreenSurface,
VMR9AllocFlag_RGBDynamicSwitch,
VMR9AllocFlag_UsageReserved,
VMR9AllocFlag_UsageMask
} VMR9SurfaceAllocationFlags;
Constants
| VMR9AllocFlag_3DRenderTarget | Indicates that the surface is a Direct3D render target. |
| VMR9AllocFlag_DXVATarget | Indicates that the render target supports DXVA. |
| VMR9AllocFlag_TextureSurface | Indicates that the target is a Direct3D texture surface. |
| VMR9AllocFlag_OffscreenSurface | Indicates an offscreen surface. |
| VMR9AllocFlag_RGBDynamicSwitch | In YUV mixing mode, indicates that the mixer can accept RGB formats in addition to the specified YUV format. The allocator-presenter can switch between the formats dynamically. This flag is only valid in YUV mixing mode. |
| VMR9AllocFlag_UsageReserved | Reserved for future use. |
| VMR9AllocFlag_UsageMask | Bitwise OR of all flags; not used by applications |
Remarks
The VMR9AllocFlag_TextureSurface flag can be combined with the VMR9AllocFlag_DXVATarget and VMR9AllocFlag_3DRenderTarget flags.
Requirements
| Header | vmr9.h |