IMFQualityAdvise interface

Enables the quality manager to adjust the audio or video quality of a component in the pipeline.

This interface is exposed by pipeline components that can adjust their quality. Typically it is exposed by decoders and stream sinks. For example, the enhanced video renderer (EVR) implements this interface. However, media sources can also implement this interface.

To get a pointer to this interface from a media source, call IMFGetService::GetService with the service identifier MF_QUALITY_SERVICES. For all other pipeline objects (transforms and media sinks), call QueryInterface.

Methods

The IMFQualityAdvise interface has these methods.

Method Description
IMFQualityAdvise::DropTime Drops samples over a specified interval of time.
IMFQualityAdvise::GetDropMode Retrieves the current drop mode.
IMFQualityAdvise::GetQualityLevel Retrieves the current quality level.
IMFQualityAdvise::SetDropMode Sets the drop mode. In drop mode, a component drops samples, more or less aggressively depending on the level of the drop mode.
IMFQualityAdvise::SetQualityLevel Sets the quality level. The quality level determines how the component consumes or produces samples.

Remarks

The quality manager typically obtains this interface when the quality manager's IMFQualityManager::NotifyTopology method is called.

Requirements

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header mfidl.h

See Also

IMFQualityManager

Media Foundation Interfaces