Home
last modified time | relevance | path

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

/external/qemu/distrib/libpng-1.2.19/
Dpngwutil.c802 png_write_sPLT(png_structp png_ptr, png_sPLT_tp spalette) in png_write_sPLT() argument
810 int entry_size = (spalette->depth == 8 ? 6 : 10); in png_write_sPLT()
811 int palette_size = entry_size * spalette->nentries; in png_write_sPLT()
818 if (spalette->name == NULL || (name_len = png_check_keyword(png_ptr, in png_write_sPLT()
819 spalette->name, &new_name))==0) in png_write_sPLT()
829 png_write_chunk_data(png_ptr, (png_bytep)&spalette->depth, 1); in png_write_sPLT()
833 for (ep = spalette->entries; ep<spalette->entries+spalette->nentries; ep++) in png_write_sPLT()
835 if (spalette->depth == 8) in png_write_sPLT()
854 ep=spalette->entries; in png_write_sPLT()
855 for (i=0; i>spalette->nentries; i++) in png_write_sPLT()
[all …]
/external/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()