Home
last modified time | relevance | path

Searched refs:idat_size (Results 1 – 9 of 9) sorted by relevance

/external/qemu/distrib/libpng-1.2.19/
Dpngpread.c298 png_ptr->idat_size = png_ptr->push_length; in png_push_read_chunk()
689 png_ptr->idat_size = png_ptr->push_length; in png_push_read_IDAT()
691 if (png_ptr->idat_size && png_ptr->save_buffer_size) in png_push_read_IDAT()
695 if (png_ptr->idat_size < (png_uint_32)png_ptr->save_buffer_size) in png_push_read_IDAT()
697 save_size = (png_size_t)png_ptr->idat_size; in png_push_read_IDAT()
699 if((png_uint_32)save_size != png_ptr->idat_size) in png_push_read_IDAT()
708 png_ptr->idat_size -= save_size; in png_push_read_IDAT()
713 if (png_ptr->idat_size && png_ptr->current_buffer_size) in png_push_read_IDAT()
717 if (png_ptr->idat_size < (png_uint_32)png_ptr->current_buffer_size) in png_push_read_IDAT()
719 save_size = (png_size_t)png_ptr->idat_size; in png_push_read_IDAT()
[all …]
Dpngread.c461 png_ptr->idat_size = length; in png_read_info()
704 while (!png_ptr->idat_size) in png_read_row()
711 png_ptr->idat_size = png_get_uint_31(png_ptr,chunk_length); in png_read_row()
720 if (png_ptr->zbuf_size > png_ptr->idat_size) in png_read_row()
721 png_ptr->zstream.avail_in = (uInt)png_ptr->idat_size; in png_read_row()
724 png_ptr->idat_size -= png_ptr->zstream.avail_in; in png_read_row()
730 png_ptr->idat_size) in png_read_row()
Dpngrutil.c3945 while (!png_ptr->idat_size) in png_read_finish_row()
3952 png_ptr->idat_size = png_get_uint_31(png_ptr, chunk_length); in png_read_finish_row()
3961 if (png_ptr->zbuf_size > png_ptr->idat_size) in png_read_finish_row()
3962 png_ptr->zstream.avail_in = (uInt)png_ptr->idat_size; in png_read_finish_row()
3964 png_ptr->idat_size -= png_ptr->zstream.avail_in; in png_read_finish_row()
3970 png_ptr->idat_size) in png_read_finish_row()
3992 if (png_ptr->idat_size || png_ptr->zstream.avail_in) in png_read_finish_row()
Dpng.h1178 png_uint_32 idat_size; /* current IDAT size for read */ member
/external/libpng/
Dpngpread.c330 png_ptr->idat_size = png_ptr->push_length; in png_push_read_chunk()
767 png_ptr->idat_size = png_ptr->push_length; in png_push_read_IDAT()
769 if (png_ptr->idat_size && png_ptr->save_buffer_size) in png_push_read_IDAT()
773 if (png_ptr->idat_size < (png_uint_32)png_ptr->save_buffer_size) in png_push_read_IDAT()
775 save_size = (png_size_t)png_ptr->idat_size; in png_push_read_IDAT()
778 if ((png_uint_32)save_size != png_ptr->idat_size) in png_push_read_IDAT()
788 png_ptr->idat_size -= save_size; in png_push_read_IDAT()
793 if (png_ptr->idat_size && png_ptr->current_buffer_size) in png_push_read_IDAT()
797 if (png_ptr->idat_size < (png_uint_32)png_ptr->current_buffer_size) in png_push_read_IDAT()
799 save_size = (png_size_t)png_ptr->idat_size; in png_push_read_IDAT()
[all …]
Dpngread.c488 png_ptr->idat_size = length; in png_read_info()
746 while (!png_ptr->idat_size) in png_read_row()
757 png_ptr->idat_size = png_read_chunk_header(png_ptr); in png_read_row()
763 if (png_ptr->zbuf_size > png_ptr->idat_size) in png_read_row()
764 png_ptr->zstream.avail_in = (uInt)png_ptr->idat_size; in png_read_row()
767 png_ptr->idat_size -= png_ptr->zstream.avail_in; in png_read_row()
773 png_ptr->idat_size) in png_read_row()
931 png_ptr->idat_size = png_read_chunk_header(png_ptr); in png_set_read_offset()
935 png_seek_data(png_ptr, idat_position + IDAT_HEADER_SIZE + png_ptr->idat_size - bytes_left); in png_set_read_offset()
936 png_ptr->idat_size = bytes_left; in png_set_read_offset()
[all …]
Dpngrutil.c3178 while (!png_ptr->idat_size) in png_read_finish_row()
3185 png_ptr->idat_size = png_get_uint_31(png_ptr, chunk_length); in png_read_finish_row()
3194 if (png_ptr->zbuf_size > png_ptr->idat_size) in png_read_finish_row()
3195 png_ptr->zstream.avail_in = (uInt)png_ptr->idat_size; in png_read_finish_row()
3197 png_ptr->idat_size -= png_ptr->zstream.avail_in; in png_read_finish_row()
3203 png_ptr->idat_size) in png_read_finish_row()
3225 if (png_ptr->idat_size || png_ptr->zstream.avail_in) in png_read_finish_row()
Dpng.h1364 png_uint_32 idat_size PNG_DEPSTRUCT; /* current IDAT size for read */
DCHANGES1063 Check chunk_length and idat_size for invalid (over PNG_MAX_UINT) lengths.