Home
last modified time | relevance | path

Searched refs:palette_size (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/extras/
A Dextras.c118 const uint32_t palette[], int palette_size, in WebPImportColorMappedARGB() argument
125 palette == NULL || palette_size > MAX_PALETTE_SIZE || palette_size <= 0) { in WebPImportColorMappedARGB()
134 if (indexed[x] >= palette_size) { in WebPImportColorMappedARGB()
A Dextras.h51 const uint32_t palette[], int palette_size,
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dvp8l_enc.c129 *palette_size = 0; in AnalyzeAndCreatePalette()
132 *palette_size = num_colors; in AnalyzeAndCreatePalette()
197 if (use_palette && palette_size <= 16) { in AnalyzeEntropy()
295 entropy[kPalette] += palette_size * 8; in AnalyzeEntropy()
1296 (void)palette_size; in SearchColorGreedy()
1386 for (j = 0; j < palette_size; ++j) { in ApplyPalette()
1435 if (palette_size <= 4) { in MapImageFromPalette()
1436 xbits = (palette_size <= 2) ? 3 : 2; in MapImageFromPalette()
1438 xbits = (palette_size <= 16) ? 1 : 0; in MapImageFromPalette()
1460 assert(palette_size >= 1 && palette_size <= MAX_PALETTE_SIZE); in EncodePalette()
[all …]
A Dalpha_enc.c276 stats->palette_size = best.stats.palette_size; in ApplyFiltersAndEncode()
/AliOS-Things-master/components/littlevgl/src/lv_draw/
A Dlv_img_decoder.c364 uint32_t palette_size = 1 << px_size; in lv_img_decoder_built_in_open() local
377 … user_data->palette = lv_mem_alloc(palette_size * sizeof(lv_color_t)); in lv_img_decoder_built_in_open()
389 lv_fs_read(user_data->f, user_data->palette, palette_size * sizeof(lv_color_t), NULL); in lv_img_decoder_built_in_open()
399 for(i = 0; i < palette_size; i++) { in lv_img_decoder_built_in_open()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/webp/
A Dencode.h224 int palette_size; // number of color in palette, if used member
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/webp/
A Dencode.h224 int palette_size; // number of color in palette, if used member
/AliOS-Things-master/components/SDL2/src/image/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/
A Dencode.h224 int palette_size; // number of color in palette, if used member
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/
A Dcwebp.c179 if (stats->palette_size > 0) { in PrintFullLosslessInfo()
180 fprintf(stderr, " * Palette size: %d\n", stats->palette_size); in PrintFullLosslessInfo()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dpngwutil.c1185 size_t palette_size = entry_size * (size_t)spalette->nentries; in png_write_sPLT() local
1200 (png_uint_32)(name_len + 2 + palette_size)); in png_write_sPLT()

Completed in 23 milliseconds