Export (0) Print
Expand All

IVMRSurfaceAllocatorEx9 interface

The IVMRSurfaceAllocatorEx9 interface provides a way for custom allocator-presenters to control where the Video Mixing Renderer Filter 9 (VMR-9) draws the composited image.

To use this interface, implement it on your allocator-presenter. At the start of each frame, the VMR-9 calls QueryInterface on the allocator-presenter for the IVMRSurfaceAllocatorEx9 interface. If the allocator-presenter returns the interface, the VMR-9 calls the IVMRSurfaceAllocatorEx9::GetSurfaceEx method instead of the usual IVMRSurfaceAllocator9::GetSurface method. This enables your allocator-presenter to specify the rectangle within the returned IDirect3DSurface9 where the composed video image will be written. This feature enables all of the video image scaling operations to be performed in a single stage, and is available in both RGB and YUV mixing modes.

Members

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

Methods

The IVMRSurfaceAllocatorEx9 interface has these methods.

MethodDescription
GetSurfaceEx

Gets a Direct3D surface and a destination rectangle.

 

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

Using the Video Mixing Renderer

 

 

Community Additions

ADD
Show:
© 2014 Microsoft