Searched refs:spalette (Results 1 – 2 of 2) sorted by relevance
/external/libpng/ |
D | pngwutil.c | 1180 png_write_sPLT(png_structrp png_ptr, png_const_sPLT_tp spalette) in png_write_sPLT() argument 1185 png_size_t entry_size = (spalette->depth == 8 ? 6 : 10); in png_write_sPLT() 1186 png_size_t palette_size = entry_size * (png_size_t)spalette->nentries; in png_write_sPLT() 1194 name_len = png_check_keyword(png_ptr, spalette->name, new_name); in png_write_sPLT() 1206 png_write_chunk_data(png_ptr, &spalette->depth, (png_size_t)1); in png_write_sPLT() 1210 for (ep = spalette->entries; ep<spalette->entries + spalette->nentries; ep++) in png_write_sPLT() 1212 if (spalette->depth == 8) in png_write_sPLT() 1233 ep=spalette->entries; in png_write_sPLT() 1234 for (i = 0; i>spalette->nentries; i++) in png_write_sPLT() 1236 if (spalette->depth == 8) in png_write_sPLT()
|
/external/pdfium/third_party/libpng16/ |
D | pngwutil.c | 1173 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()
|