?? cfiltermpeg2decinputpin.h
字號:
//
// CFilterMpeg2DecInputPin.h
//
#ifndef __H_CMpegInputPin__
#define __H_CMpegInputPin__
class CFilterMpeg2Dec;
class CFilterMpeg2DecInputPin : public CBaseInputPin
{
friend class CFilterMpeg2Dec;
protected:
CFilterMpeg2Dec * mDecodeFilter;
public:
CFilterMpeg2DecInputPin(TCHAR * inObjectName, CFilterMpeg2Dec * inFilter, HRESULT * outResult);
~CFilterMpeg2DecInputPin();
// check if the pin can support this specific proposed type and format
virtual HRESULT CheckMediaType(const CMediaType * mtIn); // PURE
// chance to customize the transform process
STDMETHODIMP Receive(IMediaSample *pSample);
// passes it to the filter
STDMETHODIMP EndOfStream(void);
STDMETHODIMP BeginFlush(void);
STDMETHODIMP EndFlush(void);
STDMETHODIMP NewSegment(REFERENCE_TIME tStart,
REFERENCE_TIME tStop, double dRate);
HRESULT CompleteConnect(IPin *pReceivePin);
// Media type
public:
CMediaType& CurrentMediaType(void) { return m_mt; }
};
#endif // __H_CMpegInputPin__
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -