Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Drpzaenc.c267 double *slope, double *y_intercept, double *correlation_coef) in leastsquares() argument
302 *y_intercept = (sumy - (*slope) * sumx) / count; in leastsquares()
566 double slope, y_intercept, correlation_coef; in rpza_encode_stream() local
709 slope = y_intercept = correlation_coef = 0; in rpza_encode_stream()
712 &slope, &y_intercept, &correlation_coef)) { in rpza_encode_stream()
716 tmp_min = (int)(0.5 + min * slope + y_intercept); in rpza_encode_stream()
717 tmp_max = (int)(0.5 + max * slope + y_intercept); in rpza_encode_stream()