Searched refs:nonlinear_to_linear (Results 1 – 4 of 4) sorted by relevance
70 nonlinear_to_linear(GLubyte cs8) in nonlinear_to_linear() function493 texel[RCOMP] = nonlinear_to_linear(rgba[RCOMP]); in _mesa_fetch_texel_srgb_dxt1()494 texel[GCOMP] = nonlinear_to_linear(rgba[GCOMP]); in _mesa_fetch_texel_srgb_dxt1()495 texel[BCOMP] = nonlinear_to_linear(rgba[BCOMP]); in _mesa_fetch_texel_srgb_dxt1()506 texel[RCOMP] = nonlinear_to_linear(rgba[RCOMP]); in _mesa_fetch_texel_srgba_dxt1()507 texel[GCOMP] = nonlinear_to_linear(rgba[GCOMP]); in _mesa_fetch_texel_srgba_dxt1()508 texel[BCOMP] = nonlinear_to_linear(rgba[BCOMP]); in _mesa_fetch_texel_srgba_dxt1()519 texel[RCOMP] = nonlinear_to_linear(rgba[RCOMP]); in _mesa_fetch_texel_srgba_dxt3()520 texel[GCOMP] = nonlinear_to_linear(rgba[GCOMP]); in _mesa_fetch_texel_srgba_dxt3()521 texel[BCOMP] = nonlinear_to_linear(rgba[BCOMP]); in _mesa_fetch_texel_srgba_dxt3()[all …]
61 nonlinear_to_linear(GLubyte cs8) in nonlinear_to_linear() function745 dst[i][RCOMP] = nonlinear_to_linear(s[i*3+2]); in unpack_SRGB8()746 dst[i][GCOMP] = nonlinear_to_linear(s[i*3+1]); in unpack_SRGB8()747 dst[i][BCOMP] = nonlinear_to_linear(s[i*3+0]); in unpack_SRGB8()758 dst[i][RCOMP] = nonlinear_to_linear( (s[i] >> 24) ); in unpack_SRGBA8()759 dst[i][GCOMP] = nonlinear_to_linear( (s[i] >> 16) & 0xff ); in unpack_SRGBA8()760 dst[i][BCOMP] = nonlinear_to_linear( (s[i] >> 8) & 0xff ); in unpack_SRGBA8()771 dst[i][RCOMP] = nonlinear_to_linear( (s[i] >> 16) & 0xff ); in unpack_SARGB8()772 dst[i][GCOMP] = nonlinear_to_linear( (s[i] >> 8) & 0xff ); in unpack_SARGB8()773 dst[i][BCOMP] = nonlinear_to_linear( (s[i] ) & 0xff ); in unpack_SARGB8()[all …]
983 texel[RCOMP] = nonlinear_to_linear(src[2]); in FETCH()984 texel[GCOMP] = nonlinear_to_linear(src[1]); in FETCH()985 texel[BCOMP] = nonlinear_to_linear(src[0]); in FETCH()996 texel[RCOMP] = nonlinear_to_linear( (s >> 24) ); in FETCH()997 texel[GCOMP] = nonlinear_to_linear( (s >> 16) & 0xff ); in FETCH()998 texel[BCOMP] = nonlinear_to_linear( (s >> 8) & 0xff ); in FETCH()1009 texel[RCOMP] = nonlinear_to_linear( (s >> 16) & 0xff ); in FETCH()1010 texel[GCOMP] = nonlinear_to_linear( (s >> 8) & 0xff ); in FETCH()1011 texel[BCOMP] = nonlinear_to_linear( (s ) & 0xff ); in FETCH()1024 texel[BCOMP] = nonlinear_to_linear(src[0]); in FETCH()[all …]
57 nonlinear_to_linear(GLubyte cs8) in nonlinear_to_linear() function