outputpin.h

来自「This site include optimized H.264 baseli」· C头文件 代码 · 共 45 行

H
45
字号
/***************************************************************************************	
*	Directshow Filter Integrateion source code is developped by Mr. Xie Haijun.
*
*	DHCODEC is authorized to use this code for free.
*
*	Date: 2007-April-02.
*
*****************************************************************************************/
// OutputPin.h: interface for the COutputPin class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_OUTPUTPIN_H__27C83698_CAB5_4A18_95FF_9EE1B6A34E2F__INCLUDED_)
#define AFX_OUTPUTPIN_H__27C83698_CAB5_4A18_95FF_9EE1B6A34E2F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <streams.h>

class CArbitrateFilter;

class COutputPin : public CBaseOutputPin
{
	friend class CArbitrateFilter;
private:
	CArbitrateFilter *  pMyFilter;

public:
	COutputPin(CArbitrateFilter *pFilter,HRESULT *phr);
    ~COutputPin();

	DECLARE_IUNKNOWN;

	STDMETHODIMP NonDelegatingQueryInterface(REFIID riid,void **ppv);

	HRESULT CheckMediaType(const CMediaType *);
	HRESULT DecideBufferSize(IMemAllocator *pAlloc,ALLOCATOR_PROPERTIES * pprop);
	HRESULT GetMediaType(int iPosition,CMediaType *pMediaType);

};

#endif // !defined(AFX_OUTPUTPIN_H__27C83698_CAB5_4A18_95FF_9EE1B6A34E2F__INCLUDED_)

⌨️ 快捷键说明

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