Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Dcolorspace.c128 double bscale, rscale; in ff_fill_rgb2yuv_table() local
144 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()
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()
/third_party/astc-encoder/Source/
Dastcenc_ideal_endpoints_and_weights.cpp957 float rscale = high_bound - low_bound; in compute_quantized_weights_for_decimation() local
958 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()