Freigeben über


IVMRSurfaceAllocator9 Interface

 
Microsoft DirectShow 9.0

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.

In addition to the methods inherited from IUnknown, the IVMRSurfaceAllocator9 interface exposes the following methods.

Method Description
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.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.