IVMRMixerBitmap9 interface
The IVMRMixerBitmap9 interface enables an application to blend a static image from a bitmap or Direct3D surface onto the video stream, when using the Video Mixing Renderer Filter 9 (VMR-9).
You can pass images to the VMR as frequently as you like, but changing the image several times per second may impact the performance and smoothness of the video being rendered. The new image will be blended with the next and all subsequent video frames rendered by the VMR.
Internally, the VMR uses its mixer component to perform the blending operation. In the VMR-9, the mixer is always present by default except in "renderless" mode in which the application is performing its own rendering. The image can contain embedded per pixel alpha information; this allows the image to contain regions that are transparent. Transparent areas can also be identified by a color key value. Changes in the image are only shown on the screen while the filter graph is running.
Methods
The IVMRMixerBitmap9 interface has these methods.
Method | Description |
---|---|
IVMRMixerBitmap9::GetAlphaBitmapParameters | The GetAlphaBitmapParameters method retrieves a copy of the current image and related blending parameters. |
IVMRMixerBitmap9::SetAlphaBitmap | The SetAlphaBitmap method specifies a new bitmap image and the source location of the bitmap and how and where it should be rendered on the destination rectangle. |
IVMRMixerBitmap9::UpdateAlphaBitmapParameters | The UpdateAlphaBitmapParameters method changes the bitmap location, size and blending value. |
Remarks
Include DShow.h and D3d9.h before Vmr9.h.
Requirements
Minimum supported client | Windows XP with SP2 [desktop apps only] |
Minimum supported server | Windows Server 2003 R2 [desktop apps only] |
Target Platform | Windows |
Header | vmr9.h |
See also
Displaying an Application-Supplied Bitmap on the Composited Image