Searched refs:idx_map (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi_array_merge.cpp | 589 int *idx_map = new int[narrays + 1]; in remap_arrays() local 592 unique_ptr<int[]> idx_map = make_unique<int[]>(narrays + 1); in remap_arrays() 604 idx_map[i] = new_narrays; in remap_arrays() 611 map[i].set_target_id(idx_map[map[i].target_array_id()]); in remap_arrays() 618 map[i].set_target_id(idx_map[i]); in remap_arrays() 676 delete[] idx_map; in remap_arrays()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | vp8l_enc.c | 142 uint32_t sorted[], uint32_t idx_map[]) { in PrepareMapToPalette() argument 147 idx_map[SearchColorNoIdx(sorted, palette[i], num_colors)] = i; in PrepareMapToPalette() 195 uint32_t idx_map[MAX_PALETTE_SIZE] = {0}; in CoOccurrenceBuild() local 201 PrepareMapToPalette(palette, num_colors, palette_sorted, idx_map); in CoOccurrenceBuild() 206 prev_idx = idx_map[SearchColorNoIdx(palette_sorted, pix, num_colors)]; in CoOccurrenceBuild() 1608 uint32_t idx_map[MAX_PALETTE_SIZE]; in ApplyPalette() local 1610 PrepareMapToPalette(palette, palette_size, palette_sorted, idx_map); in ApplyPalette() 1612 idx_map[SearchColorNoIdx(palette_sorted, pix, palette_size)]); in ApplyPalette()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | vp8l_enc.c | 1327 uint32_t sorted[], uint32_t idx_map[]) { in PrepareMapToPalette() argument 1332 idx_map[SearchColorNoIdx(sorted, palette[i], num_colors)] = i; in PrepareMapToPalette() 1405 uint32_t idx_map[MAX_PALETTE_SIZE]; in ApplyPalette() local 1407 PrepareMapToPalette(palette, palette_size, palette_sorted, idx_map); in ApplyPalette() 1409 idx_map[SearchColorNoIdx(palette_sorted, pix, palette_size)]); in ApplyPalette()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | ir_reader.cpp | 614 const unsigned idx_map[] = { 3, 0, 1, 2 }; /* w=bit 3, x=0, y=1, z=2 */ in read_assignment() local 622 mask |= 1 << idx_map[mask_str[i] - 'w']; in read_assignment()
|
D | ir.cpp | 1935 static const unsigned char idx_map[26] = { in create() local 1962 swiz_idx[i] = idx_map[str[i] - 'a'] - base; in create()
|