Microsoft DirectX 8.1 (C++)

AVI Decompressor Filter

The AVI Decompressor filter enables Video Compression Manager (VCM) codecs to join a filter graph. The application does not need to add the filter to the filter graph; it is pulled in automatically by the Filter Graph Manager when needed.

When the Filter Graph Manager is building a graph to render an AVI file, it checks the FOURCC in the file's AVI header to determine whether the video stream is compressed. If it is, the Filter Graph Manager adds the AVI Decompressor, which then searches the registry for an installed decompressor that can handle the file.

Note   MPEG decompressors are never implemented as VCM codecs, but only as native DirectShow filters. Also, the Intel® Indeo® decompressors provided with DirectShow are implemented as native filters, not as VCM codecs.

On its upstream pin the AVI Decompressor typically connects to the AVI Splitter. On its output pin it typically connects to the Video Renderer or the AVI Mux Filter.

Filter Interfaces IBaseFilter
Input Pin Media Types MEDIATYPE_Video, MEDIASUBTYPE_NULL, FORMAT_VideoInfo

The subtype must correspond to a FOURCC. (For more information, see FOURCCMap Class.)
Input Pin Interfaces IMemInputPin, IPin, IQualityControl
Output Pin Media Types MEDIATYPE_Video, MEDIASUBTYPE_NULL, FORMAT_VideoInfo
Output Pin Interfaces IMediaPosition, IMediaSeeking, IPin, IQualityControl
Filter CLSID CLSID_AVIDec
Property Page CLSID No property page.
Executable quartz.dll
Merit MERIT_NORMAL
Filter Category CLSID_LegacyAmFilterCategory