⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ivideokeyer.h

📁 最近在学习directshow, Directshow实务精选的源代码
💻 H
字号:
//
// IVideoKeyer.h
// Desc: DirectShow sample code - custom interface
//
/*-----------------------------------------------------*\
			HQ Tech, Make Technology Easy!       
 More information, please go to http://hqtech.nease.net.
/*-----------------------------------------------------*/

#ifndef __H_IVideoKeyer__
#define __H_IVideoKeyer__

typedef enum
{
	DETECT_ONCE,
	DETECT_ALWAYS,
	CUSTOMIZE
} DETECT_TYPE;

#ifdef __cplusplus
extern "C" {
#endif

//----------------------------------------------------------------------------
// IVideoKeyer
//----------------------------------------------------------------------------
DECLARE_INTERFACE_(IVideoKeyer, IUnknown)
{
	STDMETHOD(get_ConnectedMediaType) (THIS_
		CMediaType * outMainType, CMediaType * outMixingType
	) PURE;
	
	STDMETHOD(put_DetectType) (THIS_
		DETECT_TYPE inType
	) PURE;

	STDMETHOD(get_DetectType) (THIS_
		DETECT_TYPE * outType
	) PURE;

	STDMETHOD(put_BackgroundColor) (THIS_
		BYTE inRed, BYTE inGreen, BYTE inBlue
	) PURE;

	STDMETHOD(get_BackgroundColor) (THIS_
		BYTE * outRed, BYTE * outGreen, BYTE * outBlue
	) PURE;
};
//----------------------------------------------------------------------------

#ifdef __cplusplus
}
#endif

#endif // __H_IVideoKeyer__

⌨️ 快捷键说明

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