Home
last modified time | relevance | path

Searched refs:model_coeff_a (Results 1 – 3 of 3) sorted by relevance

/external/libhevc/encoder/
Drc_rd_model_fix.c198 number_t model_coeff_a, model_coeff_b, model_coeff_c, model_coeff_den; in find_model_coeffs() local
203 model_coeff_a.sm = 0; in find_model_coeffs()
204 model_coeff_a.e = 0; in find_model_coeffs()
375 sub32_var_q(temp, temp1, &model_coeff_a); in find_model_coeffs()
378 div32_var_q(model_coeff_a, model_coeff_den, &model_coeff_a); in find_model_coeffs()
382 mult32_var_q(model_coeff_a, sum_x, &temp); in find_model_coeffs()
391 pmc_model_coeff[1] = model_coeff_a; in find_model_coeffs()
416 model_coeff_a = model_coeff_b; in find_model_coeffs()
421 pmc_model_coeff_lin[1] = model_coeff_a; in find_model_coeffs()
468 mult32_var_q(s_prevfrm_bits, s_avgqp_prvfrm, &model_coeff_a); in find_model_coeffs()
[all …]
Drc_rd_model.c157 float model_coeff_a, model_coeff_b, model_coeff_c, model_coeff_den; in find_model_coeffs() local
211 model_coeff_a = (var_x2_y * var_x2_x - var_x_y * var_x2_x2); in find_model_coeffs()
212 model_coeff_a /= model_coeff_den; in find_model_coeffs()
214 model_coeff_c = sum_y - (model_coeff_a * sum_x) - (model_coeff_b * sum_x2); in find_model_coeffs()
218 pmc_model_coeff[1] = model_coeff_a; in find_model_coeffs()
229 model_coeff_a = (var_x_y / var_x_x); in find_model_coeffs()
230 model_coeff_c = sum_y - (model_coeff_a * sum_x); in find_model_coeffs()
232 model_coeff_b = model_coeff_a; in find_model_coeffs()
235 pmc_model_coeff_lin[1] = model_coeff_a; in find_model_coeffs()
257 model_coeff_a = (float)(u4_prevfrm_bits * u1_avgqp_prvfrm) / u4_prevfrm_sad; in find_model_coeffs()
[all …]
/external/libavc/encoder/
Dirc_rd_model.c127 float model_coeff_a = 0.0, model_coeff_b = 0.0, model_coeff_c = 0.0; in find_model_coeffs() local
180 model_coeff_a = (float)(u4_prevfrm_bits * u1_avgqp_prvfrm) in find_model_coeffs()
183 model_coeff_a = 0; in find_model_coeffs()
189 pmc_model_coeff_lin_wo_int[1] = model_coeff_a; in find_model_coeffs()