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

📄 recctl.h

📁 jpeg and mpeg 编解码技术源代码
💻 H
字号:
#ifndef __RECCTL_H__
#define __RECCTL_H__

#include "GUM.h"
#include "GCommDef.h"

#ifdef __cplusplus
extern "C" {
#endif	// __cplusplus

typedef enum _RECCTL_SWITCH_OPERATION
{
	RECCTL_RESET,				// a reset operation
	RECCTL_SET,					// a write operation
	RECCTL_GET					// a read operation
} RECCTL_SWITCH_OPERATION, *PRECCTL_SWITCH_OPERATION;

typedef enum _RECCTL_VIDEO_DECODER_ATTRIBUTE
{
	RECTL_VIDEO_SOURCE,			// the video decoder's input source
	RECTL_BRIGHTNESS,			// the video decoder's brightness
	RECTL_CONTRAST,				// the video decoder's contrast
	RECTL_HUE,					// the video decoder's hue
	RECTL_SATURATION			// the video decoder's saturation
} RECCTL_VIDEO_DECODER_ATTRIBUTE, * PRECCTL_VIDEO_DECODER_ATTRIBUTE;

typedef struct _RECCTL_VIDEO_DECODER_CONFIG
{
	DWORD	dwSlotNumber;		// indicate the slot number
	int		iVideoStandard;		// the video decoder's source standard
	int		iVideoSource;		// the video decoder's input source
	int		iBrightness;		// the video decoder's brightness value
	int		iContrast;			// the video decoder's contrast value
	int		iHue;				// the video decoder's hue value
	int		iSaturation;		// the video decoder's saturation value
} RECCTL_VIDEO_DECODER_CONFIG, *PRECCTL_VIDEO_DECODER_CONFIG;

typedef struct _RECCTL_LVPT_CONFIG
{
	DWORD						dwSlotNumber;	// indicate the slot number
	MPJ_Resolution				Resolution;
	MPJ_VidStd 					VideoStandard;
	BOOL 						fLogoEnable;
	LPBYTE						lpLogoBuffer;
	int 						iLogoX;
	int 						iLogoY;
	MPJ_StreamType				StreamType;
	DWORD 						dwAudioBitRate;
	DWORD 						dwAudioSampleRate;
	int 						iDelayTicks;
	int							iAdjustAudioSamplesPeriodically;
} RECCTL_LVPT_CONFIG, *PRECCTL_LVPT_CONFIG;
/*------------------------------------------------
Members:
	dwSlotNumber
		Indicate the device's slot number.
	Resolution
		Indicate one of the MPJ_Resolution, MPJ_SIF or MPJ_QSIF.
	VideoStandard
		Indicate one of the MPJ_VidStd, MPJ_NTSC or MPJ_PAL.
	fLogoEnable
		Show or hide the logo.
	lpLogoBuffer
		Point to a buffer that contains the logo picture data with YcbCr 4:2:0
		format.
	iLogoX
		The x-coordinate of upper-left corner of the logo picture displayed at
		the frame.
	iLogoY
		The y-coordinate of upper-left corner of the logo picture displayed at
		the frame.
	StreamType
		Specify the content of capture stream. It can be the following three
		kinds.
		

⌨️ 快捷键说明

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