Compartilhar via


CTransInPlaceFilter Class (Windows CE 5.0)

Send Feedback

ms939085.tsip03(en-us,MSDN.10).gif

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 CUnknown class, and supports the IBaseFilter interface, the IMediaFilter interface, and two pins.

Each pin supports the IPin interface and uses the shared memory transport based on the IMemInputPin interface.

The filter uses classes derived from the CBaseMediaFilter class to support IBaseFilter and IMediaFilter.

The input pin is derived from the CBaseInputPin class, and the output pin is derived from the CBaseOutputPin class.

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 CTransInPlaceFilter object.
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 Transform member function, and then delivers the sample.
RegisterPerfId Registers a performance measurement identifier (if PERF is defined).
Transform Performs transformation operations in place on the IMediaSample interface (pure virtual).

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.