Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format_s3tc.c304 uint8_t src_tmp; in util_format_dxtn_pack_rgba_8unorm() local
306 src_tmp = src[(y + j)*src_stride/sizeof(*src) + (x+i)*comps + k]; in util_format_dxtn_pack_rgba_8unorm()
308 tmp[j][i][k] = util_format_linear_to_srgb_8unorm(src_tmp); in util_format_dxtn_pack_rgba_8unorm()
311 tmp[j][i][k] = src_tmp; in util_format_dxtn_pack_rgba_8unorm()
381 float src_tmp; in util_format_dxtn_pack_rgba_float() local
383 src_tmp = src[(y + j)*src_stride/sizeof(*src) + (x+i)*4 + k]; in util_format_dxtn_pack_rgba_float()
385 tmp[j][i][k] = util_format_linear_float_to_srgb_8unorm(src_tmp); in util_format_dxtn_pack_rgba_float()
388 tmp[j][i][k] = float_to_ubyte(src_tmp); in util_format_dxtn_pack_rgba_float()
392 src_tmp = src[(y + j)*src_stride/sizeof(*src) + (x+i)*4 + 3]; in util_format_dxtn_pack_rgba_float()
393 tmp[j][i][3] = float_to_ubyte(src_tmp); in util_format_dxtn_pack_rgba_float()