Searched refs:idx_map (Results 1 – 3 of 3) sorted by relevance
/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/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()
|