IMFVideoSampleAllocatorCallback interface (mfidl.h)

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.

Inheritance

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

Methods

The IMFVideoSampleAllocatorCallback interface has these methods.

 
IMFVideoSampleAllocatorCallback::GetFreeSampleCount

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

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

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header mfidl.h

See also

IMFVideoSampleAllocator

Media Foundation Interfaces