cbranchinputpin.h
来自「最近在学习directshow, Directshow实务精选的源代码」· C头文件 代码 · 共 31 行
H
31 行
//
// CBranchInputPin.h
//
#ifndef __H_CBranchInputPin__
#define __H_CBranchInputPin__
class CFilterVideoKeyer;
class CBranchInputPin : public CBaseInputPin
{
private:
CFilterVideoKeyer * mFilter;
CCritSec mSyncStream;
public:
CBranchInputPin(CFilterVideoKeyer * inFilter, HRESULT * phr, LPCWSTR inPinName);
~CBranchInputPin();
// check that we can support this output type
HRESULT CheckMediaType(const CMediaType* mtIn);
STDMETHODIMP Receive(IMediaSample * pSample);
STDMETHODIMP EndOfStream(void);
STDMETHODIMP BeginFlush(void);
STDMETHODIMP EndFlush(void);
public:
CMediaType& CurrentMediaType(void) { return m_mt; };
};
#endif // __H_CBranchInputPin__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?