Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Dcolorspace.c144 double bscale, rscale; in ff_fill_rgb2yuv_table() local
159 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()
Dvf_colormatrix.c149 double bscale, rscale; in calc_coefficients() local
157 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()
/third_party/mesa3d/src/mesa/main/
Dpixeltransfer.c84 const GLfloat rscale = (GLfloat) (ctx->PixelMaps.RtoR.Size - 1); in _mesa_map_rgba() local
98 rgba[i][RCOMP] = rMap[(int)_mesa_lroundevenf(r * rscale)]; in _mesa_map_rgba()