Home
last modified time | relevance | path

Searched refs:var_x_x (Results 1 – 2 of 2) sorted by relevance

/external/libhevc/encoder/
Drc_rd_model_fix.c193 number_t var_x_x; in find_model_coeffs() local
221 var_x_x.sm = 0; in find_model_coeffs()
234 var_x_x.e = 0; in find_model_coeffs()
355 sub32_var_q(sum_x2, temp, &var_x_x); in find_model_coeffs()
359 mult32_var_q(var_x2_x2, var_x_x, &temp1); in find_model_coeffs()
366 mult32_var_q(var_x2_y, var_x_x, &temp1); in find_model_coeffs()
405 sub32_var_q(sum_x2, temp, &var_x_x); in find_model_coeffs()
407 if((0 != var_x_x.sm) && (u1_num_frms > 1)) in find_model_coeffs()
410 div32_var_q(var_x_y, var_x_x, &model_coeff_b); in find_model_coeffs()
Drc_rd_model.c155 float var_x_x = 0; in find_model_coeffs() local
202 var_x_x = sum_x2 - sum_x * sum_x; in find_model_coeffs()
204 model_coeff_den = (var_x2_x * var_x2_x - var_x2_x2 * var_x_x); in find_model_coeffs()
208 model_coeff_b = (var_x_y * var_x2_x - var_x2_y * var_x_x); in find_model_coeffs()
225 var_x_x = sum_x2 - sum_x * sum_x; in find_model_coeffs()
227 if(0 != var_x_x) in find_model_coeffs()
229 model_coeff_a = (var_x_y / var_x_x); in find_model_coeffs()