Export (0) Print
Expand All

IVMRSurfaceAllocator interface

The IVMRSurfaceAllocator interface is implemented by the default allocator-presenter for the Video Mixing Renderer Filter 7 (VMR-7). It must also be implemented by any plug-in allocator-presenter that an application provides to the VMR-7. The VMR-7 uses the methods on this interface to allocate, prepare and free DirectDraw surfaces. Applications do not use this interface.

For the VMR-9, use the IVMRSurfaceAllocator9 interface.

Members

The IVMRSurfaceAllocator interface inherits from the IUnknown interface. IVMRSurfaceAllocator also has these types of members:

Methods

The IVMRSurfaceAllocator interface has these methods.

MethodDescription
AdviseNotify

Called by the VMR to provide the allocator-presenter with an interface pointer for notification callbacks.

AllocateSurface

Allocates a DirectDraw surface.

FreeSurface

Frees the allocated DirectDraw surface.

PrepareSurface

Prepares the DirectDraw surface to have the next video frame decoded into it.

 

Requirements

Minimum supported client

Windows XP with SP1 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Using the Video Mixing Renderer

 

 

Community Additions

ADD
Show:
© 2014 Microsoft