Skip to main content
IMFVideoSampleAllocatorCallback interface

Enables an application to track video samples allocated by the enhanced video renderer (EVR).

The stream sinks on the EVR expose this interface as a service. To get a pointer to the interface, call the IMFGetService::GetService method, using the MR_VIDEO_ACCELERATION_SERVICE service identifier.

Members

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

Methods

The IMFVideoSampleAllocatorCallback interface has these methods.

MethodDescription
GetFreeSampleCount

Gets the number of video samples that are currently available for use.

SetCallback

Sets the callback object that receives notification whenever a video sample is returned to the allocator.

 

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

Mfidl.h

See also

IMFVideoSampleAllocator
Media Foundation Interfaces