csl_hist_defaults.h

来自「TI达芬奇dm644x各硬件模块测试代码」· C头文件 代码 · 共 55 行

H
55
字号
/** @file csl_hist_defaults.h
 *
 * @brief    Header file for functional layer of CSL
 *
 * Description
 *    - Default structure instantiations for the CSL_histHwSetup() function
 *
 *  @date 31st May, 2005
 *  @author Jesse Villarreal
 */

#include <csl_hist.h>

/* Default instantiation of CSL_HistWBGainInfo
 */
static CSL_HistWBGainInfo		csl_histWBGainDfault = {
	32,				/* wg00	*/
	32,				/* wg01	*/
	32,				/* wg02	*/
	32				/* wg03	*/
};

/* Default instantiation of CSL_HistRegInfo
 */
static CSL_HistRegInfo			csl_histRegInfoDfault = {
	CSL_HIST_R0,	/* rNum		*/
	0,				/* rhStart	*/
	256,			/* rhEnd	*/
	0,				/* rvStart	*/
	256				/* rvEnd	*/
};

/* Default instantiation of CSL_HistHwSetup. See default structs in this file
 * to see what the settings are.
 */
static CSL_HistHwSetup				csl_histHWSetupDfault = {
	CSL_HIST_SOURCE_CCDC,			/* inputSource		*/
	CSL_HIST_DATA_WIDTH_9_14,		/* inputDataWidth	*/
	0,								/* bitShift			*/
	CSL_HIST_CFA_CONVENTIONAL,		/* cfaPattern		*/
	&csl_histWBGainDfault,			/* wbGain			*/
	CSL_HIST_BINS_NUM_256,			/* numBins			*/
	CSL_HIST_CLEAR_AFTER_READ,		/* clearData		*/
	&csl_histRegInfoDfault,			/* region0			*/
	NULL,							/* region1			*/
	NULL,							/* region2			*/
	NULL,							/* region3			*/
	NULL							/* pixInfo			*/
};

#define CSL_HIST_HWSETUP_DEFAULTS		csl_histHWSetupDfault



⌨️ 快捷键说明

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