Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| Microsoft DirectShow 9.0 | 
VMR9SurfaceAllocationFlags Enumeration
The VMR9SurfaceAllocationFlags enumeration type is used with the IVMRSurfaceAllocator9::InitializeDevice method to specify surface creation parameters (VMR-9 only).
Syntax
typedef enum VMR9SurfaceAllocationFlags{
  VMR9AllocFlag_3DRenderTarget  = 0x0001,
  VMR9AllocFlag_DXVATarget       = 0x0002,
  VMR9AllocFlag_TextureSurface   = 0x0004,
  VMR9AllocFlag_OffscreenSurface = 0x0008,
  VMR9AllocFlag_RGBDynamicSwitch = 0x0010,
  VMR9AllocFlag_UsageReserved    = 0x00E0,
  VMR9AllocFlag_UsageMask        = 0x00FF
};
Members
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
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
See Also