Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/alsc/
H A Drk_aiq_alsc_algo.cpp59 static void _test_if_hw_lsc_valid(alsc_handle_t hAlsc) in _test_if_hw_lsc_valid() argument
71 _memset_lsc(hAlsc->lscHwConf, 1024); in _test_if_hw_lsc_valid()
76 _memset_lsc(hAlsc->lscHwConf, 3072); in _test_if_hw_lsc_valid()
584 static void ClearContext(alsc_handle_t hAlsc) in ClearContext() argument
586 clear_list(&hAlsc->alscRest.dominateIlluList); in ClearContext()
589 if (hAlsc->alsc_mode[mode_id].illu_case != nullptr) in ClearContext()
590 free(hAlsc->alsc_mode[mode_id].illu_case); in ClearContext()
593 if (hAlsc->illu_case) { in ClearContext()
594 for (uint32_t id = 0; id < hAlsc->illu_case_count; id++) in ClearContext()
596 alsc_illu_case_t& illu_case = hAlsc->illu_case[id]; in ClearContext()
[all …]
H A Drk_aiq_alsc_algo_v1.cpp391 alsc_handle_t hAlsc in AlscAutoConfig() argument
394 LOG1_ALSC("%s: (enter) count:%d\n", __FUNCTION__, hAlsc->count); in AlscAutoConfig()
395 int caseIndex = hAlsc->alscRest.caseIndex; in AlscAutoConfig()
401 if (hAlsc == NULL) { in AlscAutoConfig()
410 …ret = illuminant_index_estimation(hAlsc->calibLsc->aLscCof.illuNum[caseIndex], hAlsc->calibLsc->aL… in AlscAutoConfig()
411 hAlsc->alscSwInfo.awbGain, &dominateIlluProfileIdx); in AlscAutoConfig()
413 …UpdateDominateIlluList(&hAlsc->alscRest.dominateIlluList, dominateIlluProfileIdx, dominateIlluList… in AlscAutoConfig()
414 …StableIlluEstimation(hAlsc->alscRest.dominateIlluList, dominateIlluListSize, hAlsc->calibLsc->aLsc… in AlscAutoConfig()
415 hAlsc->alscSwInfo.varianceLuma ,varianceLumaTh, hAlsc->alscSwInfo.awbConverged, in AlscAutoConfig()
416 hAlsc->alscRest.dominateIlluProfileIdx, &dominateIlluProfileIdx); in AlscAutoConfig()
[all …]
H A Drk_aiq_algo_alsc_itf.cpp41 alsc_handle_t hAlsc = (alsc_handle_t)ctx->alsc_para; in create_context() local
42 hAlsc->eState = ALSC_STATE_INITIALIZED; in create_context()
63 alsc_handle_t hAlsc = (alsc_handle_t)(params->ctx->alsc_para); in prepare() local
67 sprintf(hAlsc->cur_res.name, "%dx%d", para->com.u.prepare.sns_op_width, in prepare()
69 hAlsc->cur_res.width = para->com.u.prepare.sns_op_width; in prepare()
70 hAlsc->cur_res.height = para->com.u.prepare.sns_op_height; in prepare()
72 hAlsc->alscSwInfo.prepare_type = params->u.prepare.conf_type; in prepare()
74 hAlsc->calibLscV2 = in prepare()
78 if((para->alsc_sw_info.otpInfo.flag && !hAlsc->otpGrad.flag) || \ in prepare()
82 adjustVignettingForLscOTP(hAlsc->otpGrad.lsc_b, hAlsc->otpGrad.lsc_gb, \ in prepare()
[all …]
H A Drk_aiq_alsc_algo.h29 XCamReturn AlscInit(alsc_handle_t *hAlsc, const CamCalibDbV2Context_t* calib2);
30 XCamReturn AlscRelease(alsc_handle_t hAlsc);
31 XCamReturn AlscPrepare(alsc_handle_t hAlsc);
32 XCamReturn AlscConfig(alsc_handle_t hAlsc);
33 XCamReturn AlscPreProc(alsc_handle_t hAlsc);
34 XCamReturn AlscProcessing(alsc_handle_t hAlsc);
36 XCamReturn AlscAutoParamClone(alsc_handle_t hAlsc);
37 XCamReturn AlscAutoParamFree(alsc_handle_t hAlsc);
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos_camgroup/misc/
H A Drk_aiq_algo_camgroup_alsc_itf.cpp62 alsc_handle_t hAlsc = (alsc_handle_t)(params->ctx->alsc_para); in prepare() local
66 sprintf(hAlsc->cur_res.name, "%dx%d", para->gcom.com.u.prepare.sns_op_width, in prepare()
68 hAlsc->alscSwInfo.prepare_type = params->u.prepare.conf_type; in prepare()
70 hAlsc->calibLscV2 = in prepare()
86 alsc_handle_t hAlsc = (alsc_handle_t)(inparams->ctx->alsc_para); in processing() local
88 hAlsc->alscSwInfo.grayMode = procParaGroup->_gray_mode; in processing()
104 hAlsc->alscSwInfo.awbGain[0] = in processing()
107 hAlsc->alscSwInfo.awbGain[1] = in processing()
110 hAlsc->alscSwInfo.awbIIRDampCoef = awb_res->awb_smooth_factor; in processing()
111 hAlsc->alscSwInfo.varianceLuma = awb_res->varianceLuma; in processing()
[all …]