CTransInPlaceInputPin Class (Compact 2013)
3/26/2014
CTransInPlaceInputPin Class
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 |
---|---|
Constructs a CTransInPlaceInputPin object. |
|
Retrieves a pointer to the default allocator. |
|
Retrieves m_bReadOnly to indicate whether a stream is read-only. |
Overrideable Member Functions
Member function |
Description |
---|---|
Determines if the pin can use a specified media type. |
Implemented IPin Methods
Method |
Description |
---|---|
Provides a media type enumerator from the downstream filter. |
Implemented IMemInputPin Methods
Method |
Description |
---|---|
Retrieves the upstream allocator. |
|
Passes requests for allocator requirements downstream. |
|
Receives notification of which allocator the connected output pin will use. |
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |