Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/format/
Du_format_rgtc.c274 uint8_t tmp_g[4][4]; /* [bh][bw] */ in util_format_rgtc2_unorm_pack_rgba_8unorm() local
278 tmp_g[j][i] = src_row[((y + j)*src_stride/sizeof(*src_row) + (x + i)*4) + 1]; in util_format_rgtc2_unorm_pack_rgba_8unorm()
282 util_format_unsigned_encode_rgtc_ubyte(dst + 8, tmp_g, 4, 4); in util_format_rgtc2_unorm_pack_rgba_8unorm()
299 uint8_t tmp_g[4][4]; /* [bh][bw][comps] */ in util_format_rxtc2_unorm_pack_rgba_float() local
303tmp_g[j][i] = float_to_ubyte(src_row[(y + j)*src_stride/sizeof(*src_row) + (x + i)*4 + chan2off]); in util_format_rxtc2_unorm_pack_rgba_float()
307 util_format_unsigned_encode_rgtc_ubyte(dst + 8, tmp_g, 4, 4); in util_format_rxtc2_unorm_pack_rgba_float()
331 uint8_t tmp_r, tmp_g; in util_format_rgtc2_unorm_unpack_rgba_float() local
333 util_format_unsigned_fetch_texel_rgtc(0, src + 8, i, j, &tmp_g, 2); in util_format_rgtc2_unorm_unpack_rgba_float()
335 dst[1] = ubyte_to_float(tmp_g); in util_format_rgtc2_unorm_unpack_rgba_float()
350 uint8_t tmp_r, tmp_g; in util_format_rgtc2_unorm_fetch_rgba() local
[all …]
Du_format_latc.c211 uint8_t tmp_r, tmp_g; in util_format_latc2_unorm_unpack_rgba_float() local
213 util_format_unsigned_fetch_texel_rgtc(0, src + 8, i, j, &tmp_g, 2); in util_format_latc2_unorm_unpack_rgba_float()
217 dst[3] = ubyte_to_float(tmp_g); in util_format_latc2_unorm_unpack_rgba_float()
230 uint8_t tmp_r, tmp_g; in util_format_latc2_unorm_fetch_rgba() local
233 util_format_unsigned_fetch_texel_rgtc(0, src + 8, i, j, &tmp_g, 2); in util_format_latc2_unorm_fetch_rgba()
237 dst[3] = ubyte_to_float(tmp_g); in util_format_latc2_unorm_fetch_rgba()
276 int8_t tmp_r, tmp_g; in util_format_latc2_snorm_unpack_rgba_float() local
278 util_format_signed_fetch_texel_rgtc(0, src + 8, i, j, &tmp_g, 2); in util_format_latc2_snorm_unpack_rgba_float()
282 dst[3] = byte_to_float_tex(tmp_g); in util_format_latc2_snorm_unpack_rgba_float()
301 int8_t tmp_r, tmp_g; in util_format_latc2_snorm_fetch_rgba() local
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dminimal_filtering_generator.c225 float tmp_g[MAX_LEN]; // in_unit * filter_size in CookToomFilter() local
227 MatrixTranspose(matrix_g, tmp_g, in_unit, filter_size); in CookToomFilter()
228 MatrixMultiply(tmp_g, inverse_diagonal_matrix, matrix_gt, filter_size, in_unit, in_unit); in CookToomFilter()