Home
last modified time | relevance | path

Searched refs:accmRest (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/accm/
H A Drk_aiq_accm_algo_v1.cpp54 const float *pMatrixUndamped = accm_context->accmRest.undampedCcmMatrix; in CCMV1PrintDBG()
55 const float *pOffsetUndamped = accm_context->accmRest.undampedCcOffset; in CCMV1PrintDBG()
153 sensorGain, &hAccm->accmRest.color_inhibition_level); in AccmAutoConfig()
155 … if(hAccm->accmRest.color_inhibition_level > 100 || hAccm->accmRest.color_inhibition_level < 0) { in AccmAutoConfig()
156 … LOGE_ACCM("flevel2: %f is out of range [0 100]\n", hAccm->accmRest.color_inhibition_level); in AccmAutoConfig()
160 fScale *= (100 - hAccm->accmRest.color_inhibition_level) / 100; in AccmAutoConfig()
175 hAccm->isReCal_, hAccm->accmRest.fScale, fScale, in AccmAutoConfig()
176 hAccm->accmRest.color_saturation_level, saturation_level); in AccmAutoConfig()
179 fabs(fScale - hAccm->accmRest.fScale) > DIVMIN || in AccmAutoConfig()
180 fabs(saturation_level - hAccm->accmRest.color_saturation_level) > DIVMIN; in AccmAutoConfig()
[all …]
H A Drk_aiq_accm_algo_v2.cpp60 const float* pMatrixUndamped = accm_context->accmRest.undampedCcmMatrix; in CCMV2PrintDBG()
61 const float* pOffsetUndamped = accm_context->accmRest.undampedCcOffset; in CCMV2PrintDBG()
146 sensorGain, &hAccm->accmRest.color_inhibition_level); in AccmAutoConfig()
148 … if (hAccm->accmRest.color_inhibition_level > 100 || hAccm->accmRest.color_inhibition_level < 0) { in AccmAutoConfig()
149 … LOGE_ACCM("flevel2: %f is out of range [0 100]\n", hAccm->accmRest.color_inhibition_level); in AccmAutoConfig()
153 fScale *= (100 - hAccm->accmRest.color_inhibition_level) / 100; in AccmAutoConfig()
167 hAccm->isReCal_, hAccm->accmRest.fScale, fScale, in AccmAutoConfig()
168 hAccm->accmRest.color_saturation_level, saturation_level); in AccmAutoConfig()
171 fabs(fScale - hAccm->accmRest.fScale) > DIVMIN || in AccmAutoConfig()
172 fabs(saturation_level - hAccm->accmRest.color_saturation_level) > DIVMIN; in AccmAutoConfig()
[all …]
H A Drk_aiq_uapi_accm_int.cpp119 ccm_querry_info->finalSat = ccm_contex->accmRest.fSaturation; in rk_aiq_uapi_accm_QueryCcmInfo()
120 if (ccm_contex->accmRest.pCcmProfile1) { in rk_aiq_uapi_accm_QueryCcmInfo()
121 if (ccm_contex->accmRest.pCcmProfile1->name) { in rk_aiq_uapi_accm_QueryCcmInfo()
122 strcpy(ccm_querry_info->ccmname1, ccm_contex->accmRest.pCcmProfile1->name); in rk_aiq_uapi_accm_QueryCcmInfo()
125 if (ccm_contex->accmRest.pCcmProfile2) { in rk_aiq_uapi_accm_QueryCcmInfo()
126 if (ccm_contex->accmRest.pCcmProfile2->name) { in rk_aiq_uapi_accm_QueryCcmInfo()
127 strcpy(ccm_querry_info->ccmname2, ccm_contex->accmRest.pCcmProfile2->name); in rk_aiq_uapi_accm_QueryCcmInfo()
145 ccm_querry_info->finalSat = ccm_contex->accmRest.fSaturation; in rk_aiq_uapi_accm_QueryCcmInfo()
146 if (ccm_contex->accmRest.pCcmProfile1) { in rk_aiq_uapi_accm_QueryCcmInfo()
147 if (ccm_contex->accmRest.pCcmProfile1->name) { in rk_aiq_uapi_accm_QueryCcmInfo()
[all …]
H A Drk_aiq_accm_algo_com.cpp679 memset(hAccm->accmRest.undampedCcmMatrix, 0, sizeof(hAccm->accmRest.undampedCcmMatrix)); in interpCCMbywbgain()
680 memset(hAccm->accmRest.undampedCcOffset, 0, sizeof(hAccm->accmRest.undampedCcOffset)); in interpCCMbywbgain()
690 UpdateIlluProbList(&hAccm->accmRest.problist, i, prob[i], problistsize); in interpCCMbywbgain()
694 StableProbEstimation(&hAccm->accmRest.problist, problistsize, frames, pCcm->aCcmCof_len, prob); in interpCCMbywbgain()
741 hAccm->accmRest.undampedCcmMatrix[j] += undampedCcmMatrix[j]*prob[i]; in interpCCMbywbgain()
743 hAccm->accmRest.undampedCcOffset[j] += undampedCcOffset[j]*prob[i]; in interpCCMbywbgain()
745 hAccm->accmRest.fSaturation = probfSaturation; in interpCCMbywbgain()
746 hAccm->accmRest.pCcmProfile1 = pCcmProfile1; in interpCCMbywbgain()
747 hAccm->accmRest.pCcmProfile2 = pCcmProfile2; in interpCCMbywbgain()
771 …UpdateDominateIlluList(&hAccm->accmRest.dominateIlluList, dominateIlluProfileIdx, dominateIlluList… in selectCCM()
[all …]
H A Drk_aiq_types_accm_algo_prvt.h79 accm_rest_t accmRest; member