Searched refs:rscale (Results 1 – 3 of 3) sorted by relevance
144 double bscale, rscale; in ff_fill_rgb2yuv_table() local159 rscale = 0.5 / (coeffs->cr - 1.0); in ff_fill_rgb2yuv_table()164 rgb2yuv[2][1] = rscale * coeffs->cg; in ff_fill_rgb2yuv_table()165 rgb2yuv[2][2] = rscale * coeffs->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()