Searched refs:MAX_PALETTE_SIZE (Results 1 – 5 of 5) sorted by relevance
252 #define COLOR_HASH_SIZE (MAX_PALETTE_SIZE * 4)281 if (num_colors > MAX_PALETTE_SIZE) { in WebPGetColorPalette()282 return MAX_PALETTE_SIZE + 1; // Exact count not needed. in WebPGetColorPalette()
35 #define MAX_PALETTE_SIZE 256 macro
71 uint32_t palette_[MAX_PALETTE_SIZE];
125 uint32_t palette[MAX_PALETTE_SIZE], in AnalyzeAndCreatePalette() argument128 if (num_colors > MAX_PALETTE_SIZE) { in AnalyzeAndCreatePalette()1416 uint32_t idx_map[MAX_PALETTE_SIZE]; in ApplyPalette()1417 uint32_t palette_sorted[MAX_PALETTE_SIZE]; in ApplyPalette()1466 uint32_t tmp_palette[MAX_PALETTE_SIZE]; in EncodePalette()1471 assert(palette_size >= 1 && palette_size <= MAX_PALETTE_SIZE); in EncodePalette()