Searched refs:MAX_PALETTE_SIZE (Results 1 – 5 of 5) sorted by relevance
247 #define COLOR_HASH_SIZE (MAX_PALETTE_SIZE * 4)276 if (num_colors > MAX_PALETTE_SIZE) { in WebPGetColorPalette()277 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()1405 uint32_t idx_map[MAX_PALETTE_SIZE]; in ApplyPalette()1406 uint32_t palette_sorted[MAX_PALETTE_SIZE]; in ApplyPalette()1455 uint32_t tmp_palette[MAX_PALETTE_SIZE]; in EncodePalette()1460 assert(palette_size >= 1 && palette_size <= MAX_PALETTE_SIZE); in EncodePalette()