IVMRSurfaceAllocator9 interface

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

Members

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

Methods

The IVMRSurfaceAllocator9 interface has these methods.

MethodDescription
AdviseNotify

Provides the allocator-presenter with the VMR-9 filter's interface for notification callbacks.

GetSurface

Retrieves a Direct3D surface.

InitializeDevice

Called by the VMR-9 when it needs the allocator-presenter to allocate surfaces.

TerminateDevice

Releases the Direct3D device.

 

Remarks

Include DShow.h and D3d9.h before Vmr9.h.

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Header

Vmr9.h

Library

Strmiids.lib

See also

Supplying a Custom Allocator-Presenter for VMR-9
Using the Video Mixing Renderer

 

 

Community Additions

ADD
Show:
© 2014 Microsoft