Home
last modified time | relevance | path

Searched refs:MAX_PALETTE_SIZE (Results 1 – 5 of 5) sorted by relevance

/external/webp/src/utils/
Dutils.c247 #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()
/external/webp/src/webp/
Dformat_constants.h35 #define MAX_PALETTE_SIZE 256 macro
/external/webp/include/webp/
Dformat_constants.h35 #define MAX_PALETTE_SIZE 256 macro
/external/webp/src/enc/
Dvp8li_enc.h71 uint32_t palette_[MAX_PALETTE_SIZE];
Dvp8l_enc.c125 uint32_t palette[MAX_PALETTE_SIZE], in AnalyzeAndCreatePalette() argument
128 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()