Searched defs:entry_size (Results 1 - 2 of 2) sorted by relevance

/vbox/src/libs/libpng-1.2.8/
H A Dpngrutil.c1103 int data_length, entry_size, i; local
1152 entry_size = (new_palette.depth == 8 ? 6 : 10);
1156 if (data_length % entry_size)
1163 new_palette.nentries = (png_uint_32) (data_length / entry_size);
H A Dpngwutil.c775 int entry_size = (spalette->depth == 8 ? 6 : 10); local
776 int palette_size = entry_size * spalette->nentries;
816 png_write_chunk_data(png_ptr, entrybuf, (png_size_t)entry_size);
838 png_write_chunk_data(png_ptr, entrybuf, entry_size);

Completed in 143 milliseconds