IMFVideoMixerBitmap interface (evr9.h)

[The component described on this page, Enhanced Video Renderer, is a legacy feature. It has been superseded by the Simple Video Renderer (SVR) exposed through the MediaPlayer and IMFMediaEngine components. To play video content you should send data into one of these components and allow them to instantiate the new video renderer. These components have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer or the lower level IMFMediaEngine APIs to play video media in Windows instead of the EVR, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Alpha-blends a static bitmap image with the video displayed by the Enhanced Video Renderer (EVR).

The EVR mixer implements this interface. To get a pointer to the interface, call IMFGetService::GetService. The service identifier GUID is MR_VIDEO_MIXER_SERVICE. Call GetService on any of the following objects:

  • The Media Session, if the topology contains an instance of the EVR.
  • The EVR media sink.
  • The DirectShow EVR filter.
  • The EVR mixer.
If you implement a custom mixer for the EVR, the mixer can optionally expose this interface as a service.

Inheritance

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

Methods

The IMFVideoMixerBitmap interface has these methods.

 
IMFVideoMixerBitmap::ClearAlphaBitmap

Removes the current bitmap and releases any resources associated with it.
IMFVideoMixerBitmap::GetAlphaBitmapParameters

Retrieves the current settings that the enhanced video renderer (EVR) uses to alpha-blend the bitmap with the video.
IMFVideoMixerBitmap::SetAlphaBitmap

Sets a bitmap image for the enhanced video renderer (EVR) to alpha-blend with the video.
IMFVideoMixerBitmap::UpdateAlphaBitmapParameters

Updates the current alpha-blending settings, including the source and destination rectangles, the color key, and other information. You can update some or all of the blending parameters.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header evr9.h

See also

Enhanced Video Renderer

Media Foundation Interfaces