다음을 통해 공유


VMR9AllocationInfo

 
Microsoft DirectShow 9.0

VMR9AllocationInfo

The VMR9AllocationInfo structure describes the Direct3D surfaces that a VMR-9 Allocator-Presenter object should allocate.

Syntax

typedef struct VMR9AllocationInfo{
  DWORD  dwFlags;
  DWORD  dwWidth;
  DWORD  dwHeight;
  D3DFORMAT  Format;
  D3DPOOL  Pool;
  DWORD  MinBuffers;
  SIZE  szAspectRatio;
  SIZE  szNativeSize;
};

Members

dwFlags

Specifies a bitwise combination of flags from the VMR9SurfaceAllocationFlags enumeration type.

dwWidth

Specifies the width of the surfaces.

dwHeight

Specifies the height of the surfaces.

Format

Specifies the surface format, as a D3DFORMAT type. The value D3DFMT_UNKNOWN (zero) indicates that the surface format should be compatible with the display.

Pool

Specifies the Direct3D memory pool to use for the surfaces, as a D3DPOOL type.

MinBuffers

Specifies the minimum number of buffers to create.

szAspectRatio

Specifies the video aspect ratio as a SIZE structure.

szNativeSize

Specifies the native video size as a SIZE structure.

Requirements

Header: Vmr9.h.

See Also