tffdshowdecvideoallocator.h.svn-base

来自「ffshow源码」· SVN-BASE 代码 · 共 21 行

SVN-BASE
21
字号
#ifndef _TFFDSHOWDECVIDEOALLOCATOR_H_#define _TFFDSHOWDECVIDEOALLOCATOR_H_class TffdshowDecVideoAllocator :public CMemAllocator{protected: CBaseFilter *filter; CMediaType mt;public: TffdshowDecVideoAllocator(CBaseFilter* Ifilter,HRESULT* phr); STDMETHODIMP_(ULONG) NonDelegatingAddRef() {return filter->AddRef();} STDMETHODIMP_(ULONG) NonDelegatingRelease() {return filter->Release();} void NotifyMediaType(const CMediaType &Imt); bool mtChanged; STDMETHODIMP GetBuffer(IMediaSample** ppBuffer,REFERENCE_TIME* pStartTime,REFERENCE_TIME* pEndTime,DWORD dwFlags);};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?