Compartir a través de


Color Space Converter Filter

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This transform filter converts from one color type to another color 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 Property Description

Filter Interfaces

IBaseFilter Interface

Input Pin Media Types

MEDIATYPE_Video, FORMAT_VideoInfo. The following subtypes are valid:

  • MEDIASUBTYPE_RGB24
  • MEDIASUBTYPE_RGB32
  • MEDIASUBTYPE_RGB8
  • MEDIASUBTYPE_CLJR
  • MEDIASUBTYPE_UYVY
  • MEDIASUBTYPE_Y41P
  • MEDIASUBTYPE_YUY2
  • MEDIASUBTYPE_YV12
  • MEDIASUBTYPE_YVU9

Input Pin Interfaces

IMemInputPin, IPin, IQualityControl

Output Pin Media Types

MEDIATYPE_Video, FORMAT_VideoInfo. The following subtypes are valid:

  • MEDIASUBTYPE_RGB24
  • MEDIASUBTYPE_RGB32
  • MEDIASUBTYPE_RGB555
  • MEDIASUBTYPE_RGB565
  • MEDIASUBTYPE_RGB8
  • MEDIASUBTYPE_YV12

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

The following table shows the color space conversions that this filter supports:

Supported conversion RGB24 Output RGB32 Output RGB555 Output RGB565 Output RGB8 Output YV12 Output

RGB24

Input

X

X

X

X

X

 

RGB32

Input

X

X

X

X

X

 

RGB8

Input

X

X

X

X

X

 

CLJR

Input

 

 

 

X

 

 

UYVY

Input

 

 

 

X

 

 

Y41P

Input

 

 

 

X

 

 

YUY2

Input

X

X

X

X

X

X

YV12

Input

 

 

 

X

 

 

YVU9

Input

 

 

 

X

 

 

See Also

Concepts

Supported DirectShow Filters