Searched refs:y_intercept (Results 1 - 1 of 1) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | rpzaenc.c | 267 double *slope, double *y_intercept, double *correlation_coef) in leastsquares() 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() 265 leastsquares(uint16_t *block_ptr, BlockInfo *bi, channel_offset xchannel, channel_offset ychannel, double *slope, double *y_intercept, double *correlation_coef) leastsquares() argument
|
Completed in 2 milliseconds