Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This is an abstract base class that provides support for a simple transform filter with a single input and a single output.

It is derived from the CUnknownclass, and supports the IBaseFilterinterface, the IMediaFilterinterface, and two pins.

Each pin supports the IPininterface and uses the shared memory transport based on the IMemInputPininterface.

The filter uses classes derived from the CBaseMediaFilterclass to support IBaseFilterand IMediaFilter.

The input pin is derived from the CBaseInputPinclass, and the output pin is derived from the CBaseOutputPinclass.

Protected Data Members

Member Description

m_idTransInPlace

Performance-measuring identifier.

Member Functions

Member function Description

Copy

Retrieves a pointer to an identical copy of a media sample.

CTransInPlaceFilter

Constructs a CTransInPlaceFilterobject.

InputPin

Retrieves a pointer to the input pin associated with the filter.

OutputPin

Retrieves a pointer to the output pin associated with the filter.

Overrideable Member Functions

Member function Description

CheckTransform

Verifies that the media type is supported by input and output pins.

CompleteConnect

Reconnects the input or output pin if necessary.

DecideBufferSize

Determines the size of the transport buffer.

GetMediaType

Returns the media type to be used by the output pin.

GetPin

Returns a pin if an index is specified.

Receive

Receives the sample, calls the derived class's Transformmember function, and then delivers the sample.

RegisterPerfId

Registers a performance measurement identifier (if PERF is defined).

Transform

Performs transformation operations in place on the IMediaSampleinterface (pure virtual).

Requirements

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment