Home
last modified time | relevance | path

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

/external/syslinux/com32/lib/libpng/
Dpngrutil.c1167 png_sPLT_t new_palette; in png_handle_sPLT() local
1241 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 …]
/external/pdfium/third_party/libpng16/
Dpngrutil.c1631 png_sPLT_t new_palette; in png_handle_sPLT() local
1710 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 …]
/external/skia/third_party/libpng/
Dpngrutil.c1631 png_sPLT_t new_palette; in png_handle_sPLT() local
1710 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 …]
/external/libpng/
Dpngrutil.c1633 png_sPLT_t new_palette; in png_handle_sPLT() local
1712 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 …]