VMRALLOCATIONINFO structure

The VMRALLOCATIONINFO structure is used in the VMR-7 filter's IVMRSurfaceAllocator::AllocateSurface method.

Syntax


typedef struct tagVMRALLOCATIONINFO {
  DWORD              dwFlags;
  LPBITMAPINFOHEADER lpHdr;
  LPDDPIXELFORMAT    lpPixFmt;
  SIZE               szAspectRatio;
  DWORD              dwMinBuffers;
  DWORD              dwMaxBuffers;
  DWORD              dwInterlaceFlags;
  SIZE               szNativeSize;
} VMRALLOCATIONINFO;

Members

dwFlags

A bitwise OR of flags from the VMRSurfaceAllocationFlags enumeration.

lpHdr

Pointer to the BITMAPINFOHEADER structure associated with the surface.

lpPixFmt

Pointer to the DDPIXELFORMAT structure associated with the surface.

szAspectRatio

A SIZE structure that specifies the aspect ratio of the new surface.

dwMinBuffers

The minimum number of buffers to create for this surface.

dwMaxBuffers

The maximum number of buffers to create for this surface.

dwInterlaceFlags

A bitwise OR of flags that indicate the interlacing. For a list of flags, see the dwInterlaceFlags member of the VIDEOINFOHEADER2 structure.

szNativeSize

The size of the native video rectangle.

Requirements

Product

Windows XP

Header

Strmif.h (include Dshow.h)

See also

DirectShow Structures

 

 

Show: