Searched refs:sum_coeff (Results 1 – 5 of 5) sorted by relevance
661 int sum_coeff, offset; in edgefilter_fix_transfer() local717 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 …]
1224 int sum_coeff, offset; in rk_Sharp_V1_fix_transfer() local1304 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 …]
21 int sum_coeff, offset; in sharp_select_params_by_ISO_V4() local150 int sum_coeff, offset; in sharp_fix_transfer_V4() local314 … sum_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()
254 int sum_coeff, offset; in sharp_select_params_by_ISO_V3() local398 int sum_coeff, offset; in sharp_fix_transfer_V3() local521 … sum_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()548 …sum_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()
42 int sum_coeff, offset; in sharp_select_params_by_ISO_V33() local288 int sum_coeff, offset; in sharp_fix_transfer_V33() local499 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()