Home
last modified time | relevance | path

Searched refs:otpGrad (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/alsc/
H A Drk_aiq_algo_alsc_itf.cpp78 if((para->alsc_sw_info.otpInfo.flag && !hAlsc->otpGrad.flag) || \ in prepare()
82 adjustVignettingForLscOTP(hAlsc->otpGrad.lsc_b, hAlsc->otpGrad.lsc_gb, \ in prepare()
83 hAlsc->otpGrad.lsc_gr, hAlsc->otpGrad.lsc_r, \ in prepare()
87 hAlsc->otpGrad.lsc_r[0], in prepare()
88 hAlsc->otpGrad.lsc_r[1], in prepare()
89 hAlsc->otpGrad.lsc_r[2], in prepare()
90 hAlsc->otpGrad.lsc_r[3], in prepare()
91 hAlsc->otpGrad.lsc_r[4], in prepare()
92 hAlsc->otpGrad.lsc_gr[0], in prepare()
93 hAlsc->otpGrad.lsc_gr[1], in prepare()
[all …]
H A Drk_aiq_alsc_convert_otp.cpp10 void convertLscTableParameter(resolution_t *cur_res, alsc_otp_grad_t *otpGrad, in convertLscTableParameter() argument
16 int32_t srcLscWidth = otpGrad->width; in convertLscTableParameter()
17 int32_t srcLscHeight = otpGrad->height; in convertLscTableParameter()
65 writeFile(fileName, otpGrad->lsc_r); in convertLscTableParameter()
67 writeFile(fileName, otpGrad->lsc_b); in convertLscTableParameter()
69 writeFile(fileName, otpGrad->lsc_gr); in convertLscTableParameter()
71 writeFile(fileName, otpGrad->lsc_gb); in convertLscTableParameter()
78 calculateCorrectFactor(otpGrad->lsc_r, rTable, srcLscWidth, srcLscHeight, sizeX, sizeY); in convertLscTableParameter()
79 calculateCorrectFactor(otpGrad->lsc_gr, grTable, srcLscWidth, srcLscHeight, sizeX, sizeY); in convertLscTableParameter()
80 calculateCorrectFactor(otpGrad->lsc_gb, gbTable, srcLscWidth, srcLscHeight, sizeX, sizeY); in convertLscTableParameter()
[all …]
H A Drk_aiq_alsc_algo_v1.cpp460 genLscMatrixToHwConf(&hAlsc->alscRest.dampedLscMatrixTable, &hAlsc->lscHwConf, &hAlsc->otpGrad); in AlscAutoConfig()
558 XCamReturn convertSensorLscOTP(resolution_t *cur_res, alsc_otp_grad_t *otpGrad, in convertSensorLscOTP() argument
563 if (!cur_res || !otpGrad) in convertSensorLscOTP()
566 if (!otpGrad->flag) in convertSensorLscOTP()
569 if ((cur_res->width >= otpGrad->width && \ in convertSensorLscOTP()
570 cur_res->height >= otpGrad->height) || \ in convertSensorLscOTP()
571 (cur_res->width <= otpGrad->width && \ in convertSensorLscOTP()
572 cur_res->height <= otpGrad->height)) { in convertSensorLscOTP()
573 convertLscTableParameter(cur_res, otpGrad, bayerPattern); in convertSensorLscOTP()
589 hAlsc->otpGrad.flag = alscSwInfo->otpInfo.flag; in alscGetOtpInfo()
[all …]
H A Drk_aiq_alsc_algo.cpp86 …ToHwConf(lsc_matrix_t *dampedLscMatrixTable, rk_aiq_lsc_cfg_t *lscHwConf, alsc_otp_grad_t *otpGrad) in genLscMatrixToHwConf() argument
96 (float(otpGrad->lsc_r[i]) / 1024) + 0.5; in genLscMatrixToHwConf()
98 (float(otpGrad->lsc_gr[i]) / 1024) + 0.5; in genLscMatrixToHwConf()
100 (float(otpGrad->lsc_gb[i]) / 1024) + 0.5; in genLscMatrixToHwConf()
102 (float(otpGrad->lsc_b[i]) / 1024) + 0.5; in genLscMatrixToHwConf()
374 alsc_otp_grad_t *otpGrad, in DampingandOtp() argument
430 genLscMatrixToHwConf(pMatrixDamped, lscHwConf, otpGrad); in DampingandOtp()
630 XCamReturn convertSensorLscOTP(resolution_t *cur_res, alsc_otp_grad_t *otpGrad, in convertSensorLscOTP() argument
635 if (!cur_res || !otpGrad) in convertSensorLscOTP()
638 if (!otpGrad->flag) in convertSensorLscOTP()
[all …]
H A Drk_aiq_alsc_algo.h27 XCamReturn convertSensorLscOTP(resolution_t *cur_res, alsc_otp_grad_t *otpGrad,
H A Drk_aiq_alsc_convert_otp.h76 void convertLscTableParameter(resolution_t *cur_res, alsc_otp_grad_t *otpGrad, RkAiqBayerPattern_t …
H A Drk_aiq_types_alsc_algo_prvt.h153 alsc_otp_grad_t otpGrad; member