共用方式為


Color Space Converter Filter

 
Microsoft DirectShow 9.0

Color Space Converter Filter

This transform filter converts from one RGB color type to another RGB type, such as between 24-bit and 8-bit RGB color. Since this type of conversion is generally handled more efficiently within a video decompressor, the main use of the Color Space Converter is when the stream source consists of uncompressed RGB frames.

Filter Interfaces IBaseFilter
Input Pin Media Types MEDIATYPE_Video, FORMAT_VideoInfo.

The following subtypes are valid:
  • MEDIASUBTYPE_RGB8
  • MEDIASUBTYPE_RGB555
  • MEDIASUBTYPE_RGB565
  • MEDIASUBTYPE_RGB24
  • MEDIASUBTYPE_RGB32
Input Pin Interfaces IMemInputPin, IPin, IQualityControl
Output Pin Media Types MEDIATYPE_Video, FORMAT_VideoInfo.

The following subtypes are valid:
  • MEDIASUBTYPE_RGB8
  • MEDIASUBTYPE_RGB555
  • MEDIASUBTYPE_RGB565
  • MEDIASUBTYPE_RGB24
  • MEDIASUBTYPE_RGB32
Output Pin Interfaces IMediaPosition, IMediaSeeking, IPin, IQualityControl
Filter CLSID CLSID_Colour
Property Page CLSID No property page.
Executable quartz.dll
Merit MERIT_UNLIKELY
Filter Category CLSID_LegacyAmFilterCategory

See Also