Searched refs:palette_color (Results 1 – 1 of 1) sorted by relevance
65 uint16_t* const palette_color = bp.palette_mode_info.color[plane]; in ReadPaletteColors() local70 palette_color[index++] = cache[i]; in ReadPaletteColors()75 palette_color[index++] = in ReadPaletteColors()84 palette_color[index] = in ReadPaletteColors()85 std::min(palette_color[index - 1] + delta, max_value); in ReadPaletteColors()86 if (palette_color[index] + (plane_type == kPlaneTypeY ? 1 : 0) >= in ReadPaletteColors()91 Memset(&palette_color[index + 1], max_value, palette_size - index - 1); in ReadPaletteColors()94 const int range = (1 << bitdepth) - palette_color[index] - in ReadPaletteColors()101 std::inplace_merge(palette_color, palette_color + merge_pivot, in ReadPaletteColors()102 palette_color + palette_size); in ReadPaletteColors()