Partager via


Overlay Mixer (Windows Embedded CE 6.0)

1/6/2010

This feature is depreciated, and it is recommended that it not be used. It is provided here for compatibility reasons.

The Overlay Mixer filter is a video renderer that is designed specifically for broadcast video streams with Line21 closed captioning. The Overlay Mixer filter supports video port extensions (VPEs), which enable it to work with hardware MPEG-2 decoders that send data directly to the graphics card rather than over the PCI bus.

The Overlay Mixer filter can be used in other scenarios where you have multiple input streams, but it does not perform any actual mixing or alpha blending of the overlaid graphics. For all other rendering scenarios, the video renderer filter is the preferred renderer.

Both renderers make use of Microsoft DirectDraw® and overlay surfaces on the graphics card when these are available. The only difference is that the Overlay Mixer filter requires an overlay surface, whereas the Video Renderer filter can use other means of rendering video if an overlay surface is not available.

The Overlay Mixer filter uses destination color keying to mix video surfaces with overlays. It blits the color key and the subtitle or Line21 data to the primary surface and sends the video to the overlay surface. The graphics card then composites the two surfaces into its frame buffer.

The following table shows the filter properties.

Filter property Description

Filter Interfaces

IBaseFilter

IMediaPosition

IMediaSeeking

IQualProp

Input Pin Media Types

Major Type: MEDIATYPE_Video subtypes:

  • MEDIASUBTYPE_Overlay (pin 0 only)
  • DirectDraw YUV formats: MEDIASUBTYPE_YUVxx (pin 0 only)
  • DirectDraw Video Acceleration formats: MEDIASUBTYPE_DVAxxx (pin 0 only)
  • DirectDraw RGB formats: MEDIASUBTYPE_RGBxx (all input pins)
    Format Type:
    Format_VIDEOINFO, Format_VIDEOINFO2

Input Pin Interfaces

IMemInputPin

IOverlay (pin 0 only)

IPin

IQualityControl

IVPNotify

Output Pin Media Types

MEDIATYPE_Video, MEDIASUBTYPE_Overlay

Output Pin Interfaces

IPin, IQualityControl

Filter CLSID

CLSID_OverlayMixer

Executable

Quartz.dll

Merit

MERIT_DO_NOT_USE

Filter Category

CLSID_LegacyAmFilterCategory

See Also

Concepts

Supported DirectShow Filters