Searched refs:new_palette (Results 1 - 1 of 1) sorted by relevance

/vbox/src/libs/libpng-1.2.8/
H A Dpngrutil.c1099 png_sPLT_t new_palette; local
1151 new_palette.depth = *entry_start++;
1152 entry_size = (new_palette.depth == 8 ? 6 : 10);
1163 new_palette.nentries = (png_uint_32) (data_length / entry_size);
1164 if ((png_uint_32) new_palette.nentries > (png_uint_32) (PNG_SIZE_MAX /
1170 new_palette.entries = (png_sPLT_entryp)png_malloc_warn(
1171 png_ptr, new_palette.nentries * png_sizeof(png_sPLT_entry));
1172 if (new_palette.entries == NULL)
1179 for (i = 0; i < new_palette.nentries; i++)
1181 png_sPLT_entryp pp = new_palette
[all...]

Completed in 1336 milliseconds