Home
last modified time | relevance | path

Searched refs:png_size_t (Results 1 – 25 of 68) sorted by relevance

123

/external/libpng/
Dpngwutil.c62 (png_size_t)(8 - png_ptr->sig_bytes)); in png_write_sig()
128 png_size_t length) in png_write_chunk_data()
163 png_write_data(png_ptr, buf, (png_size_t)4); in png_write_chunk_end()
177 png_const_bytep data, png_size_t length) in png_write_complete_chunk()
194 png_const_bytep data, png_size_t length) in png_write_chunk()
823 png_write_complete_chunk(png_ptr, png_IHDR, buf, (png_size_t)13); in png_write_IHDR()
892 png_write_chunk_data(png_ptr, buf, (png_size_t)3); in png_write_PLTE()
906 png_write_chunk_data(png_ptr, buf, (png_size_t)3); in png_write_PLTE()
1078 png_write_complete_chunk(png_ptr, png_IEND, NULL, (png_size_t)0); in png_write_IEND()
1093 png_write_complete_chunk(png_ptr, png_gAMA, buf, (png_size_t)4); in png_write_gAMA_fixed()
[all …]
Dpngpread.c37 png_bytep buffer, png_size_t buffer_size) in png_process_data()
50 png_size_t PNGAPI
63 png_size_t remaining = png_ptr->buffer_size; in png_process_data_pause()
136 png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */ in png_push_read_sig()
421 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length) in png_push_fill_buffer()
431 png_size_t save_size; in png_push_fill_buffer()
448 png_size_t save_size; in png_push_fill_buffer()
470 png_size_t i, istop; in png_push_save_buffer()
485 png_size_t new_max; in png_push_save_buffer()
497 (png_size_t)new_max); in png_push_save_buffer()
[all …]
Dpngstruct.h217 png_size_t rowbytes; /* size of row in bytes */
235 png_size_t info_rowbytes; /* Added in 1.5.4: cache of updated row bytes */
331 png_size_t save_buffer_size; /* amount of data now in save_buffer */
332 png_size_t save_buffer_max; /* total size of save_buffer */
333 png_size_t buffer_size; /* total amount of available input data */
334 png_size_t current_buffer_size; /* amount of data now in current_buffer */
454 png_size_t old_big_row_buf_size;
Dpngrio.c32 png_read_data(png_structrp png_ptr, png_bytep data, png_size_t length) in png_read_data()
50 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data()
52 png_size_t check; in png_default_read_data()
Dpngrtran.c750 png_size_t num_entries = ((png_size_t)1 << total_bits); in png_set_quantize()
2154 png_bytep sp = row + (png_size_t)((row_width - 1) >> 3); in png_do_unpack()
2155 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack()
2178 png_bytep sp = row + (png_size_t)((row_width - 1) >> 2); in png_do_unpack()
2179 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack()
2201 png_bytep sp = row + (png_size_t)((row_width - 1) >> 1); in png_do_unpack()
2202 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack()
2684 png_bytep sp = row + (png_size_t)row_width; in png_do_read_filler()
2685 png_bytep dp = sp + (png_size_t)row_width; in png_do_read_filler()
2700 png_bytep sp = row + (png_size_t)row_width; in png_do_read_filler()
[all …]
Dpngwio.c33 png_write_data(png_structrp png_ptr, png_const_bytep data, png_size_t length) in png_write_data()
51 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data()
53 png_size_t check; in png_default_write_data()
Dpngtrans.c272 png_size_t i; in png_do_invert()
273 png_size_t istop = row_info->rowbytes; in png_do_invert()
286 png_size_t i; in png_do_invert()
287 png_size_t istop = row_info->rowbytes; in png_do_invert()
301 png_size_t i; in png_do_invert()
302 png_size_t istop = row_info->rowbytes; in png_do_invert()
612 row_info->rowbytes = (png_size_t)(dp-row); in png_do_strip_channel()
Dpngpriv.h731 ((png_size_t)(width) * (((png_size_t)(pixel_bits)) >> 3)) : \
732 (( ((png_size_t)(width) * ((png_size_t)(pixel_bits))) + 7) >> 3) )
1049 png_bytep data, png_size_t length),PNG_EMPTY);
1053 png_bytep buffer, png_size_t length),PNG_EMPTY);
1057 png_bytep data, png_size_t length),PNG_EMPTY);
1071 png_const_bytep data, png_size_t length),PNG_EMPTY);
1083 png_size_t length),PNG_EMPTY);
1101 png_const_bytep ptr, png_size_t length),PNG_EMPTY);
1184 png_const_charp key, png_const_charp text, png_size_t text_len),PNG_EMPTY);
1577 png_bytep buffer, png_size_t buffer_length),PNG_EMPTY);
[all …]
Dpngconf.h521 typedef size_t png_size_t; typedef
556 typedef png_size_t png_alloc_size_t;
592 typedef png_size_t * png_size_tp;
593 typedef const png_size_t * png_const_size_tp;
Dpng.h603 png_size_t text_length; /* length of the text string */
604 png_size_t itxt_length; /* length of the itxt string */
657 png_size_t size;
682 #define PNG_SIZE_MAX ((png_size_t)(-1))
788 png_size_t rowbytes; /* number of bytes in row */
807 typedef PNG_CALLBACK(void, *png_rw_ptr, (png_structp, png_bytep, png_size_t));
944 PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, png_size_t start,
945 png_size_t num_to_check));
964 PNG_EXPORT(6, png_size_t, png_get_compression_buffer_size,
968 png_size_t size));
[all …]
/external/pdfium/third_party/libpng16/
Dpngwutil.c62 (png_size_t)(8 - png_ptr->sig_bytes)); in png_write_sig()
128 png_size_t length) in png_write_chunk_data()
163 png_write_data(png_ptr, buf, (png_size_t)4); in png_write_chunk_end()
177 png_const_bytep data, png_size_t length) in png_write_complete_chunk()
194 png_const_bytep data, png_size_t length) in png_write_chunk()
818 png_write_complete_chunk(png_ptr, png_IHDR, buf, (png_size_t)13); in png_write_IHDR()
887 png_write_chunk_data(png_ptr, buf, (png_size_t)3); in png_write_PLTE()
901 png_write_chunk_data(png_ptr, buf, (png_size_t)3); in png_write_PLTE()
1071 png_write_complete_chunk(png_ptr, png_IEND, NULL, (png_size_t)0); in png_write_IEND()
1086 png_write_complete_chunk(png_ptr, png_gAMA, buf, (png_size_t)4); in png_write_gAMA_fixed()
[all …]
Dpngpread.c37 png_bytep buffer, png_size_t buffer_size) in png_process_data()
50 png_size_t PNGAPI
63 png_size_t remaining = png_ptr->buffer_size; in png_process_data_pause()
136 png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */ in png_push_read_sig()
420 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length) in png_push_fill_buffer()
430 png_size_t save_size; in png_push_fill_buffer()
447 png_size_t save_size; in png_push_fill_buffer()
469 png_size_t i, istop; in png_push_save_buffer()
484 png_size_t new_max; in png_push_save_buffer()
496 (png_size_t)new_max); in png_push_save_buffer()
[all …]
Dpngstruct.h217 png_size_t rowbytes; /* size of row in bytes */
235 png_size_t info_rowbytes; /* Added in 1.5.4: cache of updated row bytes */
331 png_size_t save_buffer_size; /* amount of data now in save_buffer */
332 png_size_t save_buffer_max; /* total size of save_buffer */
333 png_size_t buffer_size; /* total amount of available input data */
334 png_size_t current_buffer_size; /* amount of data now in current_buffer */
454 png_size_t old_big_row_buf_size;
Dpngrio.c32 png_read_data(png_structrp png_ptr, png_bytep data, png_size_t length) in png_read_data()
50 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data()
52 png_size_t check; in png_default_read_data()
Dpngrtran.c747 png_size_t num_entries = ((png_size_t)1 << total_bits); in png_set_quantize()
2151 png_bytep sp = row + (png_size_t)((row_width - 1) >> 3); in png_do_unpack()
2152 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack()
2175 png_bytep sp = row + (png_size_t)((row_width - 1) >> 2); in png_do_unpack()
2176 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack()
2198 png_bytep sp = row + (png_size_t)((row_width - 1) >> 1); in png_do_unpack()
2199 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack()
2681 png_bytep sp = row + (png_size_t)row_width; in png_do_read_filler()
2682 png_bytep dp = sp + (png_size_t)row_width; in png_do_read_filler()
2697 png_bytep sp = row + (png_size_t)row_width; in png_do_read_filler()
[all …]
Dpngpriv.h676 ((png_size_t)(width) * (((png_size_t)(pixel_bits)) >> 3)) : \
677 (( ((png_size_t)(width) * ((png_size_t)(pixel_bits))) + 7) >> 3) )
975 png_bytep data, png_size_t length),PNG_EMPTY);
979 png_bytep buffer, png_size_t length),PNG_EMPTY);
983 png_bytep data, png_size_t length),PNG_EMPTY);
997 png_const_bytep data, png_size_t length),PNG_EMPTY);
1009 png_size_t length),PNG_EMPTY);
1027 png_const_bytep ptr, png_size_t length),PNG_EMPTY);
1105 png_const_charp key, png_const_charp text, png_size_t text_len),PNG_EMPTY);
1452 png_bytep buffer, png_size_t buffer_length),PNG_EMPTY);
[all …]
Dpngwio.c33 png_write_data(png_structrp png_ptr, png_const_bytep data, png_size_t length) in png_write_data()
51 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data()
53 png_size_t check; in png_default_write_data()
Dpngconf.h521 typedef size_t png_size_t; typedef
556 typedef png_size_t png_alloc_size_t;
592 typedef png_size_t * png_size_tp;
593 typedef const png_size_t * png_const_size_tp;
Dpngtrans.c271 png_size_t i; in png_do_invert()
272 png_size_t istop = row_info->rowbytes; in png_do_invert()
285 png_size_t i; in png_do_invert()
286 png_size_t istop = row_info->rowbytes; in png_do_invert()
300 png_size_t i; in png_do_invert()
301 png_size_t istop = row_info->rowbytes; in png_do_invert()
Dpng.h608 png_size_t text_length; /* length of the text string */
609 png_size_t itxt_length; /* length of the itxt string */
662 png_size_t size;
687 #define PNG_SIZE_MAX ((png_size_t)(-1))
792 png_size_t rowbytes; /* number of bytes in row */
811 typedef PNG_CALLBACK(void, *png_rw_ptr, (png_structp, png_bytep, png_size_t));
948 PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, png_size_t start,
949 png_size_t num_to_check));
968 PNG_EXPORT(6, png_size_t, png_get_compression_buffer_size,
972 png_size_t size));
[all …]
Dpngrutil.c123 png_size_t num_checked, num_to_check; in png_read_sig()
1637 png_size_t max_dl; in png_handle_sPLT()
2285 png_size_t i; in png_handle_sCAL()
2355 png_size_t heighti = i; in png_handle_sCAL()
2785 png_ptr->unknown_chunk.size = (png_size_t)length/*SAFE*/; in png_cache_unknown_chunk()
3559 png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 3); in png_do_read_interlace()
3560 png_bytep dp = row + (png_size_t)((final_width - 1) >> 3); in png_do_read_interlace()
3684 png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 1); in png_do_read_interlace()
3685 png_bytep dp = row + (png_size_t)((final_width - 1) >> 1); in png_do_read_interlace()
3746 png_size_t pixel_bytes = (row_info->pixel_depth >> 3); in png_do_read_interlace()
[all …]
/external/libpng/intel/
Dfilter_sse2_intrinsics.c74 png_size_t rb; in png_read_filter_row_sub3_sse2()
107 png_size_t rb; in png_read_filter_row_sub4_sse2()
134 png_size_t rb; in png_read_filter_row_avg3_sse2()
188 png_size_t rb; in png_read_filter_row_avg4_sse2()
260 png_size_t rb; in png_read_filter_row_paeth3_sse2()
359 png_size_t rb; in png_read_filter_row_paeth4_sse2()
/external/libpng/contrib/visupng/
DPngFile.c413 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
415 png_size_t check;
420 check = (png_size_t)fread(data, (png_size_t)1, length,
430 png_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
DPngFile.h26 static void png_read_data(png_structp png_ptr, png_bytep data, png_size_t length);
27 static void png_write_data(png_structp png_ptr, png_bytep data, png_size_t length);
/external/libpng/mips/
Dfilter_msa_intrinsics.c369 png_size_t i, cnt, cnt16, cnt32; in png_read_filter_row_up_msa()
370 png_size_t istop = row_info->rowbytes; in png_read_filter_row_up_msa()
460 png_size_t count; in png_read_filter_row_sub4_msa()
461 png_size_t istop = row_info->rowbytes; in png_read_filter_row_sub4_msa()
499 png_size_t count; in png_read_filter_row_sub3_msa()
500 png_size_t istop = row_info->rowbytes; in png_read_filter_row_sub3_msa()
544 png_size_t i; in png_read_filter_row_avg4_msa()
548 png_size_t istop = row_info->rowbytes - 4; in png_read_filter_row_avg4_msa()
595 png_size_t i; in png_read_filter_row_avg3_msa()
599 png_size_t istop = row_info->rowbytes - 3; in png_read_filter_row_avg3_msa()

123