Home
last modified time | relevance | path

Searched refs:sum_x2 (Results 1 – 6 of 6) sorted by relevance

/external/libhevc/encoder/
Drc_rd_model_fix.c186 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 …]
Drc_rd_model.c148 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/
Dcmssamp.c286 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/adhd/cras/src/server/
Drate_estimator.c23 lsq->sum_x2 += x * x; in least_square_add_sample()
31 denom = lsq->num_samples * lsq->sum_x2 - lsq->sum_x * lsq->sum_x; in least_square_best_fit_slope()
Drate_estimator.h19 double sum_x2; member
/external/libavc/encoder/
Dirc_rd_model.c122 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()