次の方法で共有


CTransInPlaceInputPin Class (Windows Embedded CE 6.0)

1/6/2010

Ee492276.9fffe0e9-07d2-46b1-8b13-ffa533b02938(en-US,WinEmbedded.60).gif

This class implements the input pin of a transform-inplace filter (CTransInPlaceFilter). This is part of a transform filter that transforms data in place rather than making a copy of it. The CTransInPlaceFilter::InputPin member function returns a pointer to CTransInPlaceInputPin object.

Typically, you can create objects of a class derived from CTransInPlaceInputPin without modifying this class. That is, you can usually override member functions in the CTransInPlaceFilter class that member functions of the CTransInPlaceInputPin class call, and not have to derive your own classes for either of the pin classes.

However, if you want to override this class and derive your filter class from CTransInPlaceFilter, you must override the CTransInPlaceFilter::GetPin member function to create pins of your derived class.

Protected Data Members

Member Description

m_bReadOnly

Flag to indicate if the stream is read-only.

m_pTIPFilter

Pointer to the CTransInPlaceFilter object that owns this pin.

Member Functions

Member function Description

CTransInPlaceInputPin

Constructs a CTransInPlaceInputPin object.

PeekAllocator

Retrieves a pointer to the default allocator.

ReadOnly

Retrieves m_bReadOnly to indicate whether a stream is read-only.

Overrideable Member Functions

Member function Description

CheckMediaType

Determines if the pin can use a specified media type.

Implemented IPin Methods

Method Description

EnumMediaTypes

Provides a media type enumerator from the downstream filter.

Implemented IMemInputPin Methods

Method Description

GetAllocator

Retrieves the upstream allocator.

GetAllocatorRequirements

Passes requests for allocator requirements downstream.

NotifyAllocator

Receives notification of which allocator the connected output pin will use.

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

See Also

Reference

DirectShow Classes