Share via


IMixerOCX Interface

 
Microsoft DirectShow 9.0

IMixerOCX Interface

The IMixerOCX interface is implemented on the Overlay Mixer. This interface enables clients that do not own their own windows, such as an ActiveX control, to set properties of the video rectangle and advise the filter of events.

  • **Note   **Applications should generally use the Video Mixing Renderer Filter 9 (VMR-9) and not the Overlay Mixer. The only scenario that requires the Overlay Mixer is when the video capture or decoder hardware uses video ports to transfer video data to the graphics card. The VMR-9 does not support video ports.

In addition to the methods inherited from IUnknown, the IMixerOCX interface exposes the following methods.

Method Description
Advise Provides the Overlay Mixer with a pointer to the client's IMixerOCXNotify interface for callback notifications.
GetAspectRatio Not implemented.
GetStatus Not implemented.
GetVideoSize Retrieves the current size of the video rectangle.
OnDisplayChange Not implemented.
OnDraw Instructs the Overlay Mixer to draw the video rectangle.
SetDrawRegion Specifies the location and dimensions of the video and clipping rectangles in screen coordinates.
UnAdvise Instructs the Overlay Mixer to release its pointer to the client's IMixerOCXNotify interface.

Requirements

Header: Include Mixerocx.h.

Library: Use Strmiids.lib.