Searched refs:rscale (Results 1 – 4 of 4) sorted by relevance
128 double bscale, rscale; in ff_fill_rgb2yuv_table() local144 rscale = 0.5 / (cr - 1.0); in ff_fill_rgb2yuv_table()149 rgb2yuv[2][1] = rscale * cg; in ff_fill_rgb2yuv_table()150 rgb2yuv[2][2] = rscale * cb; in ff_fill_rgb2yuv_table()
149 double bscale, rscale; in calc_coefficients() local157 rscale = 0.5 / (yuv_coeff[i][0][2] - 1.0); in calc_coefficients()161 yuv_coeff[i][2][0] = rscale * yuv_coeff[i][0][0]; in calc_coefficients()162 yuv_coeff[i][2][1] = rscale * yuv_coeff[i][0][1]; in calc_coefficients()
84 const GLfloat rscale = (GLfloat) (ctx->PixelMaps.RtoR.Size - 1); in _mesa_map_rgba() local98 rgba[i][RCOMP] = rMap[(int)_mesa_lroundevenf(r * rscale)]; in _mesa_map_rgba()
957 float rscale = high_bound - low_bound; in compute_quantized_weights_for_decimation() local958 float scale = 1.0f / rscale; in compute_quantized_weights_for_decimation()961 rscale *= 1.0f / 64.0f; in compute_quantized_weights_for_decimation()966 vfloat rscalev(rscale); in compute_quantized_weights_for_decimation()