MFOverlayRect Method (IMFFrame)
frame for overlay
frame mask
rectangle for overlay
overlay flags
transparency: 0.0 - transparent (no mix), 1.0 - solid.
additional properties (for example, audio_gain)
audio buffer's ID
Mixes frames - overlays _pFrameOverlay frame over this frame, the position is from top-left corner, for 4:2:2 images (e.g. UYVY) horizontal position is aligned by two (e.g. 21->20). By default audio gain is calculated based on overlay size and transparency or can be specified via 'audio_gain' props.
Syntax

Parameters

_pFrameOverlay
frame for overlay
_pFrameMask
frame mask
_pRect
rectangle for overlay
_eMFOverlayFlags
overlay flags
_dblAlpha
transparency: 0.0 - transparent (no mix), 1.0 - solid.
_bsPropsList
additional properties (for example, audio_gain)
_bsAudioBufferID
audio buffer's ID
See Also

Reference

IMFFrame Interface
IMFFrame Members