Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexcompress_cpal.c50 GLuint palette_size; member
88 if (info->palette_size == 16) { in paletted_to_color()
127 expect_size = info->palette_size * info->size; in _mesa_cpal_compressed_size()
136 if (info->palette_size == 16) in _mesa_cpal_compressed_size()
187 indices = (const GLubyte *) palette + info->palette_size * info->size; in _mesa_cpal_compressed_teximage2d()
221 if (info->palette_size == 16) in _mesa_cpal_compressed_teximage2d()
/external/opencv3/3rdparty/libwebp/enc/
Dvp8l.c50 int* const palette_size) { in AnalyzeAndCreatePalette() argument
101 *palette_size = num_colors; in AnalyzeAndCreatePalette()
818 const uint32_t* palette, int palette_size, in ApplyPalette() argument
822 for (i = 0; i < palette_size; ++i) { in ApplyPalette()
831 for (i = 0; i < palette_size; ++i) { in ApplyPalette()
852 for (i = 0; i < palette_size; ++i) { in ApplyPalette()
882 const int palette_size = enc->palette_size_; in EncodePalette() local
888 if (palette_size <= 4) { in EncodePalette()
889 xbits = (palette_size <= 2) ? 3 : 2; in EncodePalette()
891 xbits = (palette_size <= 16) ? 1 : 0; in EncodePalette()
[all …]
/external/webp/src/enc/
Dvp8l.c128 int* const palette_size) { in AnalyzeAndCreatePalette() argument
177 *palette_size = num_colors; in AnalyzeAndCreatePalette()
1211 const uint32_t* palette, int palette_size, in ApplyPalette() argument
1220 for (i = 0; i < palette_size; ++i) { in ApplyPalette()
1229 for (i = 0; i < palette_size; ++i) { in ApplyPalette()
1247 MapToPalette(palette, palette_size, &last_pix, &last_idx, in ApplyPalette()
1268 const int palette_size = enc->palette_size_; in MapImageFromPalette() local
1273 if (palette_size <= 4) { in MapImageFromPalette()
1274 xbits = (palette_size <= 2) ? 3 : 2; in MapImageFromPalette()
1276 xbits = (palette_size <= 16) ? 1 : 0; in MapImageFromPalette()
[all …]
Ddelta_palettization.c352 const uint32_t palette[], int palette_size) { in FindBestPaletteEntry() argument
356 for (i = 1; i < palette_size; ++i) { in FindBestPaletteEntry()
390 int palette_size, in ApplyDeltaPalette() argument
409 palette, palette_size); in ApplyDeltaPalette()
Dalpha.c269 stats->palette_size = best.stats.palette_size; in ApplyFiltersAndEncode()
/external/opencv3/3rdparty/libwebp/webp/
Dencode.h199 int palette_size; // number of color in palette, if used member
/external/webp/src/webp/
Dencode.h223 int palette_size; // number of color in palette, if used member
/external/webp/include/webp/
Dencode.h223 int palette_size; // number of color in palette, if used member
/external/opencv3/modules/viz/test/
Dtests_simple.cpp220 size_t palette_size = sizeof(palette)/sizeof(palette[0]); in TEST() local
226 colors.at<Vec3b>(i) = palette[i & palette_size]; in TEST()
/external/libvncserver/libvncserver/
Dtight.c1843 palette_size(palette)); in SendPngRect()
1849 png_set_PLTE(png_ptr, info_ptr, png_palette, palette_size(palette)); in SendPngRect()
/external/libpng/
Dpngwutil.c1179 png_size_t palette_size = entry_size * spalette->nentries; in png_write_sPLT() local
1194 (png_uint_32)(name_len + 2 + palette_size)); in png_write_sPLT()
/external/pdfium/third_party/lpng_v163/
Dpngwutil.c1254 png_size_t palette_size = entry_size * spalette->nentries; in png_write_sPLT() local
1269 (png_uint_32)(name_len + 2 + palette_size)); in png_write_sPLT()
/external/opencv3/3rdparty/libpng/
Dpngwutil.c1185 png_size_t palette_size = entry_size * spalette->nentries; in png_write_sPLT() local
1198 (png_uint_32)(name_len + 2 + palette_size)); in png_write_sPLT()