📄 _csl_histsetwbgain.c
字号:
/** @file _csl_histSetWBGain.c
*
* @brief File for functional layer of CSL API @a CSL_histSetWBGain()
*
* Description
* - The @a CSL_histSetWBGain() function definition & it's associated
* functions
*
* @date 11st Aug, 2005
* @author Jesse Villarreal
*/
#include <csl_hist_aux.h>
#pragma CODE_SECTION (CSL_histSetWBGain, ".text:csl_section:hist");
/** @brief Sets the white balance information
*
*/
CSL_Status CSL_histSetWBGain(
/** Pointer to the object that holds reference to the
* instance of HIST requested after the call
*/
CSL_HistHandle hHist,
/** Sets the region information
*/
CSL_HistWBGainInfo *data
){
CSL_HistRegsOvly histRegs = hHist->regs;
CSL_Status status=CSL_SOK;
if(data == NULL) return (CSL_ESYS_INVPARAMS);
histRegs->WB_GAIN = CSL_FMK(HIST_WB_GAIN_WG00,data->wg00) |
CSL_FMK(HIST_WB_GAIN_WG01,data->wg01) |
CSL_FMK(HIST_WB_GAIN_WG02,data->wg02) |
CSL_FMK(HIST_WB_GAIN_WG03,data->wg03);
return status;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -