Searched defs:spalette (Results 1 - 2 of 2) sorted by relevance
/external/libpng/ |
H A D | pngwutil.c | 850 png_write_sPLT(png_structp png_ptr, png_sPLT_tp spalette) argument 858 int entry_size = (spalette->depth == 8 ? 6 : 10); 859 int palette_size = entry_size * spalette->nentries; 867 if ((name_len = png_check_keyword(png_ptr,spalette->name, &new_name))==0) 875 png_write_chunk_data(png_ptr, (png_bytep)&spalette->depth, (png_size_t)1); 879 for (ep = spalette->entries; ep<spalette->entries + spalette->nentries; ep++) 881 if (spalette->depth == 8) 900 ep=spalette [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
H A D | pngwutil.c | 802 png_write_sPLT(png_structp png_ptr, png_sPLT_tp spalette) argument 810 int entry_size = (spalette->depth == 8 ? 6 : 10); 811 int palette_size = entry_size * spalette->nentries; 818 if (spalette->name == NULL || (name_len = png_check_keyword(png_ptr, 819 spalette->name, &new_name))==0) 829 png_write_chunk_data(png_ptr, (png_bytep)&spalette->depth, 1); 833 for (ep = spalette->entries; ep<spalette->entries+spalette->nentries; ep++) 835 if (spalette [all...] |
Completed in 163 milliseconds