IVMRSurfaceAllocatorNotify9 interface

The IVMRSurfaceAllocatorNotify9 interface is implemented by the Video Mixing Renderer Filter 9 (VMR-9). Applications use this interface to set a custom allocator-presenter and the allocator-presenter uses this interface to inform the VMR of changes to the system environment that affect the Direct3D surfaces.

Members

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

Methods

The IVMRSurfaceAllocatorNotify9 interface has these methods.

MethodDescription
AdviseSurfaceAllocator

Called by an application to instruct the VMR to use a custom allocator-presenter.

AllocateSurfaceHelper

Allocates a Direct3D surface based on specified parameters.

ChangeD3DDevice

Notifies the VMR that the Direct3D playback device has changed.

NotifyEvent

Called by the allocator-presenter to inform the VMR of any significant DirectShow events during the allocation or presentation processes.

SetD3DDevice

Sets the initial Direct3D device and monitor to be used for video playback.

 

Remarks

The VMR-9 supports this interface in renderless mode only. Otherwise, QueryInterface returns E_NOINTERFACE. For more information, see VMR Modes of Operation.

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

Using the Video Mixing Renderer
Video Mixing Renderer Filter 9

 

 

Community Additions

ADD
Show:
© 2014 Microsoft