Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/asharp/
H A Drk_aiq_asharp_algo_edgefilter.cpp661 int sum_coeff, offset; in edgefilter_fix_transfer() local
717 sum_coeff = 0; in edgefilter_fix_transfer()
721 sum_coeff += ROUND_F(edgeflt->gf_coef_3x3[k] * (1 << reg_gf_coef_3x3_fix_bits)); in edgefilter_fix_transfer()
724 offset = int(sum_coeff_float * (1 << reg_gf_coef_3x3_fix_bits)) - sum_coeff; in edgefilter_fix_transfer()
731 sum_coeff = 0; in edgefilter_fix_transfer()
735 sum_coeff += ROUND_F(edgeflt->h0_h_coef_5x5[k] * (1 << reg_h0_h_coef_5x5_fix_bits)); in edgefilter_fix_transfer()
738 offset = int(sum_coeff_float * (1 << reg_h0_h_coef_5x5_fix_bits)) - sum_coeff; in edgefilter_fix_transfer()
748 sum_coeff = 0; in edgefilter_fix_transfer()
752 sum_coeff += ROUND_F(edgeflt->h_coef_5x5[k] * (1 << reg_h_coef_5x5_fix_bits)); in edgefilter_fix_transfer()
755 offset = int(sum_coeff_float * (1 << reg_h_coef_5x5_fix_bits)) - sum_coeff; in edgefilter_fix_transfer()
[all …]
H A Drk_aiq_asharp_algo_sharp.cpp1224 int sum_coeff, offset; in rk_Sharp_V1_fix_transfer() local
1304 sum_coeff = 0; in rk_Sharp_V1_fix_transfer()
1311 sum_coeff += ROUND_F(pSharpV1->kernel_pbf[k] * (1 << reg_sharpenHW_pPBfCoeff_fix_bits)); in rk_Sharp_V1_fix_transfer()
1314 offset = int(sum_coeff_float * (1 << reg_sharpenHW_pPBfCoeff_fix_bits)) - sum_coeff; in rk_Sharp_V1_fix_transfer()
1319 sum_coeff = 0; in rk_Sharp_V1_fix_transfer()
1329 sum_coeff += ROUND_F(pSharpV1->h_rf_m[k] * (1 << reg_sharpenHW_pMRfCoeff_fix_bits)); in rk_Sharp_V1_fix_transfer()
1332 offset = int(sum_coeff_float * (1 << reg_sharpenHW_pMRfCoeff_fix_bits)) - sum_coeff; in rk_Sharp_V1_fix_transfer()
1336 sum_coeff = 0; in rk_Sharp_V1_fix_transfer()
1352 sum_coeff += ROUND_F(pSharpV1->kernel_mbf[k] * (1 << reg_sharpenHW_pMBfCoeff_fix_bits)); in rk_Sharp_V1_fix_transfer()
1355 offset = int(sum_coeff_float * (1 << reg_sharpenHW_pMBfCoeff_fix_bits)) - sum_coeff; in rk_Sharp_V1_fix_transfer()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/asharp4/
H A Drk_aiq_asharp_algo_sharp_v4.cpp21 int sum_coeff, offset; in sharp_select_params_by_ISO_V4() local
150 int sum_coeff, offset; in sharp_fix_transfer_V4() local
314sum_coeff = pFix->sharp_pbf_coef[0] + 4 * pFix->sharp_pbf_coef[1] + 4 * pFix->sharp_pbf_coef[2]; in sharp_fix_transfer_V4()
315 offset = (1 << rk_sharp_V4_pbfCoeff_fix_bits) - sum_coeff; in sharp_fix_transfer_V4()
349 sum_coeff = pFix->sharp_bf_coef[0] + 4 * pFix->sharp_bf_coef[1] + 4 * pFix->sharp_bf_coef[2]; in sharp_fix_transfer_V4()
350 offset = (1 << rk_sharp_V4_hbfCoeff_fix_bits) - sum_coeff; in sharp_fix_transfer_V4()
404 sum_coeff = pFix->sharp_gaus_coef[0] in sharp_fix_transfer_V4()
410 offset = (1 << rk_sharp_V4_rfCoeff_fix_bits) - sum_coeff; in sharp_fix_transfer_V4()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/asharp3/
H A Drk_aiq_asharp_algo_sharp_v3.cpp254 int sum_coeff, offset; in sharp_select_params_by_ISO_V3() local
398 int sum_coeff, offset; in sharp_fix_transfer_V3() local
521sum_coeff = pFix->sharp_pbf_coef[0] + 4 * pFix->sharp_pbf_coef[1] + 4 * pFix->sharp_pbf_coef[2]; in sharp_fix_transfer_V3()
522 offset = (1 << rk_sharp_V3_pbfCoeff_fix_bits) - sum_coeff; in sharp_fix_transfer_V3()
535 sum_coeff = pFix->sharp_bf_coef[0] + 4 * pFix->sharp_bf_coef[1] + 4 * pFix->sharp_bf_coef[2]; in sharp_fix_transfer_V3()
536 offset = (1 << rk_sharp_V3_hbfCoeff_fix_bits) - sum_coeff; in sharp_fix_transfer_V3()
548sum_coeff = pFix->sharp_gaus_coef[0] + 4 * pFix->sharp_gaus_coef[1] + 4 * pFix->sharp_gaus_coef[2]; in sharp_fix_transfer_V3()
549 offset = (1 << rk_sharp_V3_rfCoeff_fix_bits) - sum_coeff; in sharp_fix_transfer_V3()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/asharpV33/
H A Drk_aiq_asharp_algo_sharp_v33.cpp42 int sum_coeff, offset; in sharp_select_params_by_ISO_V33() local
288 int sum_coeff, offset; in sharp_fix_transfer_V33() local
499 sum_coeff = pFix->sharp_pbf_coef[0] + 4 * pFix->sharp_pbf_coef[1] + 4 * pFix->sharp_pbf_coef[2]; in sharp_fix_transfer_V33()
500 offset = (1 << RK_SHARP_V33_PBFCOEFF_FIX_BITS) - sum_coeff; in sharp_fix_transfer_V33()
536 sum_coeff = pFix->sharp_bf_coef[0] + 4 * pFix->sharp_bf_coef[1] + 4 * pFix->sharp_bf_coef[2]; in sharp_fix_transfer_V33()
537 offset = (1 << RK_SHARP_V33_PBFCOEFF_FIX_BITS) - sum_coeff; in sharp_fix_transfer_V33()
657 sum_coeff = pFix->sharp_gaus_coef[0] + in sharp_fix_transfer_V33()
663 offset = (1 << RK_SHARP_V33_RFCOEFF_FIX_BITS) - sum_coeff; in sharp_fix_transfer_V33()