IMFVideoSampleAllocator Interface

Allocates video samples for a video media sink.

The stream sinks on the enhanced video renderer (EVR) expose this interface as a service. To obtain a pointer to the interface, call IMFGetService::GetService using the service identifier MR_VIDEO_ACCELERATION_SERVICE. Custom media sinks can also implement this interface. The Media Session uses this interface to allocate samples for the EVR, unless the upstream decoder supports DirectX Video Acceleration (DXVA).

Syntax

interface IMFVideoSampleAllocator : public IUnknown  

Requirements

Header: Declared in mfidl.h.

Library: Use mfuuid.lib.