IMFSampleAllocatorControl interface (mfidl.h)

Implemented by video capture sources and transforms. Allows the system to provide components with a sample allocator to allocate samples using memory that is accessible from within a container.

Inheritance

The IMFSampleAllocatorControl interface inherits from the IUnknown interface.

Methods

The IMFSampleAllocatorControl interface has these methods.

 
IMFSampleAllocatorControl::GetAllocatorUsage

Retrieves the sample allocator usage for the specified output stream.
IMFSampleAllocatorControl::SetDefaultAllocator

Sets the default sample allocator to use for the specified output stream.

Remarks

Components that do not implement this interface, or do not use the allocator provided by the system, can still allocate samples, but when running from inside a container, the system will have to copy all samples into container memory, which is less efficient.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004 (10.0; Build 19041)
Minimum supported server Windows Server, version 2004 (10.0; Build 19041)
Header mfidl.h