Searched refs:new_palette (Results 1 – 4 of 4) sorted by relevance
1167 png_sPLT_t new_palette; in png_handle_sPLT() local1241 new_palette.depth = *entry_start++; in png_handle_sPLT()1242 entry_size = (new_palette.depth == 8 ? 6 : 10); in png_handle_sPLT()1254 new_palette.nentries = (png_int_32) ( data_length / entry_size); in png_handle_sPLT()1255 if ((png_uint_32) new_palette.nentries > in png_handle_sPLT()1261 new_palette.entries = (png_sPLT_entryp)png_malloc_warn( in png_handle_sPLT()1262 png_ptr, new_palette.nentries * png_sizeof(png_sPLT_entry)); in png_handle_sPLT()1263 if (new_palette.entries == NULL) in png_handle_sPLT()1270 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()1272 pp = new_palette.entries + i; in png_handle_sPLT()[all …]
1631 png_sPLT_t new_palette; in png_handle_sPLT() local1710 new_palette.depth = *entry_start++; in png_handle_sPLT()1711 entry_size = (new_palette.depth == 8 ? 6 : 10); in png_handle_sPLT()1733 new_palette.nentries = (png_int_32)(data_length / entry_size); in png_handle_sPLT()1735 new_palette.entries = (png_sPLT_entryp)png_malloc_warn( in png_handle_sPLT()1736 png_ptr, new_palette.nentries * (sizeof (png_sPLT_entry))); in png_handle_sPLT()1738 if (new_palette.entries == NULL) in png_handle_sPLT()1745 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()1747 pp = new_palette.entries + i; in png_handle_sPLT()1749 if (new_palette.depth == 8) in png_handle_sPLT()[all …]
1633 png_sPLT_t new_palette; in png_handle_sPLT() local1712 new_palette.depth = *entry_start++; in png_handle_sPLT()1713 entry_size = (new_palette.depth == 8 ? 6 : 10); in png_handle_sPLT()1735 new_palette.nentries = (png_int_32)(data_length / entry_size); in png_handle_sPLT()1737 new_palette.entries = (png_sPLT_entryp)png_malloc_warn( in png_handle_sPLT()1738 png_ptr, new_palette.nentries * (sizeof (png_sPLT_entry))); in png_handle_sPLT()1740 if (new_palette.entries == NULL) in png_handle_sPLT()1747 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()1749 pp = new_palette.entries + i; in png_handle_sPLT()1751 if (new_palette.depth == 8) in png_handle_sPLT()[all …]