Searched refs:sum_x2 (Results 1 – 4 of 4) sorted by relevance
/external/libhevc/encoder/ |
D | rc_rd_model_fix.c | 186 number_t sum_x2; in find_model_coeffs() local 214 sum_x2.sm = 0; in find_model_coeffs() 227 sum_x2.e = 0; in find_model_coeffs() 291 add32_var_q(temp, sum_x2, &sum_x2); in find_model_coeffs() 318 div32_var_q(sum_x2, s_num_frms_used, &sum_x2); in find_model_coeffs() 338 mult32_var_q(sum_x2, sum_y, &temp); in find_model_coeffs() 346 mult32_var_q(sum_x2, sum_x, &temp); in find_model_coeffs() 350 mult32_var_q(sum_x2, sum_x2, &temp); in find_model_coeffs() 355 sub32_var_q(sum_x2, temp, &var_x_x); in find_model_coeffs() 383 mult32_var_q(model_coeff_b, sum_x2, &temp1); in find_model_coeffs() [all …]
|
D | rc_rd_model.c | 148 float sum_x2 = 0; in find_model_coeffs() local 173 sum_x2 += x0 * x0; in find_model_coeffs() 183 sum_x2 /= u1_num_frms_used; in find_model_coeffs() 198 var_x2_y = sum_x2_y - sum_x2 * sum_y; in find_model_coeffs() 200 var_x2_x = sum_x3 - sum_x2 * sum_x; in find_model_coeffs() 201 var_x2_x2 = sum_x4 - sum_x2 * sum_x2; in find_model_coeffs() 202 var_x_x = sum_x2 - sum_x * sum_x; in find_model_coeffs() 214 model_coeff_c = sum_y - (model_coeff_a * sum_x) - (model_coeff_b * sum_x2); in find_model_coeffs() 225 var_x_x = sum_x2 - sum_x * sum_x; in find_model_coeffs()
|
/external/pdfium/third_party/lcms/src/ |
D | cmssamp.c | 286 double sum_x = 0, sum_x2 = 0, sum_x3 = 0, sum_x4 = 0; in RootOfLeastSquaresFitQuadraticCurve() local 301 sum_x2 += xn*xn; in RootOfLeastSquaresFitQuadraticCurve() 310 _cmsVEC3init(&m.v[0], n, sum_x, sum_x2); in RootOfLeastSquaresFitQuadraticCurve() 311 _cmsVEC3init(&m.v[1], sum_x, sum_x2, sum_x3); in RootOfLeastSquaresFitQuadraticCurve() 312 _cmsVEC3init(&m.v[2], sum_x2, sum_x3, sum_x4); in RootOfLeastSquaresFitQuadraticCurve()
|
/external/libavc/encoder/ |
D | irc_rd_model.c | 122 float sum_x2 = 0; in find_model_coeffs() local 150 sum_x2 += x0 * x0; in find_model_coeffs() 160 sum_x2 /= u1_num_frms_used; in find_model_coeffs()
|