Home
last modified time | relevance | path

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

/external/skia/third_party/libpng/
Dpngwutil.c1173 png_write_sPLT(png_structrp png_ptr, png_const_sPLT_tp spalette) in png_write_sPLT() argument
1178 png_size_t entry_size = (spalette->depth == 8 ? 6 : 10); in png_write_sPLT()
1179 png_size_t palette_size = entry_size * spalette->nentries; in png_write_sPLT()
1187 name_len = png_check_keyword(png_ptr, spalette->name, new_name); in png_write_sPLT()
1199 png_write_chunk_data(png_ptr, &spalette->depth, (png_size_t)1); in png_write_sPLT()
1203 for (ep = spalette->entries; ep<spalette->entries + spalette->nentries; ep++) in png_write_sPLT()
1205 if (spalette->depth == 8) in png_write_sPLT()
1226 ep=spalette->entries; in png_write_sPLT()
1227 for (i = 0; i>spalette->nentries; i++) in png_write_sPLT()
1229 if (spalette->depth == 8) in png_write_sPLT()
/external/libpng/
Dpngwutil.c1173 png_write_sPLT(png_structrp png_ptr, png_const_sPLT_tp spalette) in png_write_sPLT() argument
1178 png_size_t entry_size = (spalette->depth == 8 ? 6 : 10); in png_write_sPLT()
1179 png_size_t palette_size = entry_size * spalette->nentries; in png_write_sPLT()
1187 name_len = png_check_keyword(png_ptr, spalette->name, new_name); in png_write_sPLT()
1199 png_write_chunk_data(png_ptr, &spalette->depth, (png_size_t)1); in png_write_sPLT()
1203 for (ep = spalette->entries; ep<spalette->entries + spalette->nentries; ep++) in png_write_sPLT()
1205 if (spalette->depth == 8) in png_write_sPLT()
1226 ep=spalette->entries; in png_write_sPLT()
1227 for (i = 0; i>spalette->nentries; i++) in png_write_sPLT()
1229 if (spalette->depth == 8) in png_write_sPLT()
/external/pdfium/third_party/libpng16/
Dpngwutil.c1173 png_write_sPLT(png_structrp png_ptr, png_const_sPLT_tp spalette) in png_write_sPLT() argument
1178 png_size_t entry_size = (spalette->depth == 8 ? 6 : 10); in png_write_sPLT()
1179 png_size_t palette_size = entry_size * spalette->nentries; in png_write_sPLT()
1187 name_len = png_check_keyword(png_ptr, spalette->name, new_name); in png_write_sPLT()
1199 png_write_chunk_data(png_ptr, &spalette->depth, (png_size_t)1); in png_write_sPLT()
1203 for (ep = spalette->entries; ep<spalette->entries + spalette->nentries; ep++) in png_write_sPLT()
1205 if (spalette->depth == 8) in png_write_sPLT()
1226 ep=spalette->entries; in png_write_sPLT()
1227 for (i = 0; i>spalette->nentries; i++) in png_write_sPLT()
1229 if (spalette->depth == 8) in png_write_sPLT()
/external/syslinux/com32/lib/libpng/
Dpngwutil.c850 png_write_sPLT(png_structp png_ptr, png_sPLT_tp spalette) in png_write_sPLT() argument
858 int entry_size = (spalette->depth == 8 ? 6 : 10); in png_write_sPLT()
859 int palette_size = entry_size * spalette->nentries; in png_write_sPLT()
867 if ((name_len = png_check_keyword(png_ptr,spalette->name, &new_name))==0) in png_write_sPLT()
875 png_write_chunk_data(png_ptr, (png_bytep)&spalette->depth, (png_size_t)1); in png_write_sPLT()
879 for (ep = spalette->entries; ep<spalette->entries + spalette->nentries; ep++) in png_write_sPLT()
881 if (spalette->depth == 8) in png_write_sPLT()
900 ep=spalette->entries; in png_write_sPLT()
901 for (i=0; i>spalette->nentries; i++) in png_write_sPLT()
903 if (spalette->depth == 8) in png_write_sPLT()