Condividi tramite


CTransformOutputPin Class

 
Microsoft DirectShow 9.0

CTransformOutputPin Class

CTransformOutputPin Class Hierarchy

The CTransformOutputPin class implements an output pin that is used by the CTransformFilter class.

Typically, you do not need to derive from this class. Most of the methods in this class call corresponding methods on the CTransformFilter class, which you can override. If you derive from this class, you must override the filter's CTransformFilter::GetPin method to create instances of your derived class.

This class exposes the IMediaSeeking and IMediaPosition interfaces through the CPosPassThru object. It passes all seek requests to the next filter upstream.

Requirements

**  Header:** Declared in Transfrm.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

Protected Member Variables  
m_pTransformFilter Pointer to the owning filter.
Public Member Variables  
m_pPosition Helper object to pass seek commands upstream.
Public Methods  
CTransformOutputPin Constructor method.
~CTransformOutputPin Destructor method.
CheckConnect Determines whether a pin connection is suitable.
BreakConnect Releases the pin from a connection.
CompleteConnect Completes a connection to another pin.
CheckMediaType Determines if the pin accepts a specific media type.
SetMediaType Sets the media type for the connection.
DecideBufferSize Sets the buffer requirements.
GetMediaType Retrieves a preferred media type, by index value.
CurrentMediaType Retrieves the media type for the current pin connection.
IPin Methods  
QueryId Retrieves an identifier for the pin.
IQualityControl Methods  
Notify Notifies the pin that a quality change is requested.