Home
last modified time | relevance | path

Searched defs:png_ptr (Results 1 – 25 of 57) sorted by relevance

123

/external/libpng/
Dpngget.c20 png_get_valid(png_const_structrp png_ptr, png_const_inforp info_ptr, in png_get_valid()
30 png_get_rowbytes(png_const_structrp png_ptr, png_const_inforp info_ptr) in png_get_rowbytes()
40 png_get_rows(png_const_structrp png_ptr, png_const_inforp info_ptr) in png_get_rows()
52 png_get_image_width(png_const_structrp png_ptr, png_const_inforp info_ptr) in png_get_image_width()
61 png_get_image_height(png_const_structrp png_ptr, png_const_inforp info_ptr) in png_get_image_height()
70 png_get_bit_depth(png_const_structrp png_ptr, png_const_inforp info_ptr) in png_get_bit_depth()
79 png_get_color_type(png_const_structrp png_ptr, png_const_inforp info_ptr) in png_get_color_type()
88 png_get_filter_type(png_const_structrp png_ptr, png_const_inforp info_ptr) in png_get_filter_type()
97 png_get_interlace_type(png_const_structrp png_ptr, png_const_inforp info_ptr) in png_get_interlace_type()
106 png_get_compression_type(png_const_structrp png_ptr, png_const_inforp info_ptr) in png_get_compression_type()
[all …]
Dpngset.c25 png_set_bKGD(png_const_structrp png_ptr, png_inforp info_ptr, in png_set_bKGD()
40 png_set_cHRM_fixed(png_const_structrp png_ptr, png_inforp info_ptr, in png_set_cHRM_fixed()
69 png_set_cHRM_XYZ_fixed(png_const_structrp png_ptr, png_inforp info_ptr, in png_set_cHRM_XYZ_fixed()
102 png_set_cHRM(png_const_structrp png_ptr, png_inforp info_ptr, in png_set_cHRM()
118 png_set_cHRM_XYZ(png_const_structrp png_ptr, png_inforp info_ptr, double red_X, in png_set_cHRM_XYZ()
139 png_set_eXIf(png_const_structrp png_ptr, png_inforp info_ptr, in png_set_eXIf()
148 png_set_eXIf_1(png_const_structrp png_ptr, png_inforp info_ptr, in png_set_eXIf_1()
186 png_set_gAMA_fixed(png_const_structrp png_ptr, png_inforp info_ptr, in png_set_gAMA_fixed()
200 png_set_gAMA(png_const_structrp png_ptr, png_inforp info_ptr, double file_gamma) in png_set_gAMA()
210 png_set_hIST(png_const_structrp png_ptr, png_inforp info_ptr, in png_set_hIST()
[all …]
Dpngpread.c36 png_process_data(png_structrp png_ptr, png_inforp info_ptr, in png_process_data()
51 png_process_data_pause(png_structrp png_ptr, int save) in png_process_data_pause()
78 png_process_data_skip(png_structrp png_ptr) in png_process_data_skip()
94 png_process_some_data(png_structrp png_ptr, png_inforp info_ptr) in png_process_some_data()
134 png_push_read_sig(png_structrp png_ptr, png_inforp info_ptr) in png_push_read_sig()
167 png_push_read_chunk(png_structrp png_ptr, png_inforp info_ptr) in png_push_read_chunk()
421 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, size_t length) in png_push_fill_buffer()
464 png_push_save_buffer(png_structrp png_ptr) in png_push_save_buffer()
524 png_push_restore_buffer(png_structrp png_ptr, png_bytep buffer, in png_push_restore_buffer()
534 png_push_read_IDAT(png_structrp png_ptr) in png_push_read_IDAT()
[all …]
Dpngtrans.c21 png_set_bgr(png_structrp png_ptr) in png_set_bgr()
35 png_set_swap(png_structrp png_ptr) in png_set_swap()
50 png_set_packing(png_structrp png_ptr) in png_set_packing()
70 png_set_packswap(png_structrp png_ptr) in png_set_packswap()
84 png_set_shift(png_structrp png_ptr, png_const_color_8p true_bits) in png_set_shift()
99 png_set_interlace_handling(png_structrp png_ptr) in png_set_interlace_handling()
120 png_set_filler(png_structrp png_ptr, png_uint_32 filler, int filler_loc) in png_set_filler()
205 png_set_add_alpha(png_structrp png_ptr, png_uint_32 filler, int filler_loc) in png_set_add_alpha()
223 png_set_swap_alpha(png_structrp png_ptr) in png_set_swap_alpha()
237 png_set_invert_alpha(png_structrp png_ptr) in png_set_invert_alpha()
[all …]
Dpng.c47 png_set_sig_bytes(png_structrp png_ptr, int num_bytes) in png_set_sig_bytes()
118 png_zfree(voidpf png_ptr, voidpf ptr) in png_zfree()
127 png_reset_crc(png_structrp png_ptr) in png_reset_crc()
139 png_calculate_crc(png_structrp png_ptr, png_const_bytep ptr, size_t length) in png_calculate_crc()
193 png_user_version_check(png_structrp png_ptr, png_const_charp user_png_ver) in png_user_version_check()
319 png_structrp png_ptr = png_voidcast(png_structrp, variable
386 png_destroy_info_struct(png_const_structrp png_ptr, png_infopp info_ptr_ptr) in png_destroy_info_struct()
452 png_data_freer(png_const_structrp png_ptr, png_inforp info_ptr, in png_data_freer()
471 png_free_data(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_32 mask, in png_free_data()
686 png_get_io_ptr(png_const_structrp png_ptr) in png_get_io_ptr()
[all …]
Dpngwrite.c24 write_unknown_chunks(png_structrp png_ptr, png_const_inforp info_ptr, in write_unknown_chunks()
84 png_write_info_before_PLTE(png_structrp png_ptr, png_const_inforp info_ptr) in png_write_info_before_PLTE()
192 png_write_info(png_structrp png_ptr, png_const_inforp info_ptr) in png_write_info()
358 png_write_end(png_structrp png_ptr, png_inforp info_ptr) in png_write_end()
512 png_structrp png_ptr = png_create_png_struct(user_png_ver, error_ptr, variable
589 png_write_rows(png_structrp png_ptr, png_bytepp row, in png_write_rows()
611 png_write_image(png_structrp png_ptr, png_bytepp image) in png_write_image()
708 png_write_row(png_structrp png_ptr, png_const_bytep row) in png_write_row()
918 png_set_flush(png_structrp png_ptr, int nrows) in png_set_flush()
930 png_write_flush(png_structrp png_ptr) in png_write_flush()
[all …]
Dpngerror.c216 png_warning(png_const_structrp png_ptr, png_const_charp warning_message) in png_warning()
284 png_formatted_warning(png_const_structrp png_ptr, png_warning_parameters p, in png_formatted_warning()
362 png_benign_error(png_const_structrp png_ptr, png_const_charp error_message) in png_benign_error()
392 png_app_warning(png_const_structrp png_ptr, png_const_charp error_message) in png_app_warning()
405 png_app_error(png_const_structrp png_ptr, png_const_charp error_message) in png_app_error()
434 png_format_buffer(png_const_structrp png_ptr, png_charp buffer, png_const_charp in png_format_buffer()
497 png_chunk_warning(png_const_structrp png_ptr, png_const_charp warning_message) in png_chunk_warning()
514 png_chunk_benign_error(png_const_structrp png_ptr, png_const_charp in png_chunk_benign_error()
531 png_chunk_report(png_const_structrp png_ptr, png_const_charp message, int error) in png_chunk_report()
597 png_set_longjmp_fn(png_structrp png_ptr, png_longjmp_ptr longjmp_fn, in png_set_longjmp_fn()
[all …]
Dpngwutil.c51 png_write_sig(png_structrp png_ptr) in png_write_sig()
73 png_write_chunk_header(png_structrp png_ptr, png_uint_32 chunk_name, in png_write_chunk_header()
115 png_write_chunk_start(png_structrp png_ptr, png_const_bytep chunk_string, in png_write_chunk_start()
127 png_write_chunk_data(png_structrp png_ptr, png_const_bytep data, size_t length) in png_write_chunk_data()
146 png_write_chunk_end(png_structrp png_ptr) in png_write_chunk_end()
175 png_write_complete_chunk(png_structrp png_ptr, png_uint_32 chunk_name, in png_write_complete_chunk()
192 png_write_chunk(png_structrp png_ptr, png_const_bytep chunk_string, in png_write_chunk()
204 png_image_size(png_structrp png_ptr) in png_image_size()
292 png_deflate_claim(png_structrp png_ptr, png_uint_32 owner, in png_deflate_claim()
439 png_free_buffer_list(png_structrp png_ptr, png_compression_bufferp *listp) in png_free_buffer_list()
[all …]
Dpngwio.c33 png_write_data(png_structrp png_ptr, png_const_bytep data, size_t length) in png_write_data()
51 png_default_write_data(png_structp png_ptr, png_bytep data, size_t length) in png_default_write_data()
71 png_flush(png_structrp png_ptr) in png_flush()
79 png_default_flush(png_structp png_ptr) in png_default_flush()
122 png_set_write_fn(png_structrp png_ptr, png_voidp io_ptr, in png_set_write_fn()
Dpngmem.c25 png_destroy_png_struct(png_structrp png_ptr) in png_destroy_png_struct()
109 png_malloc_array_checked(png_const_structrp png_ptr, int nelements, in png_malloc_array_checked()
232 png_free(png_const_structrp png_ptr, png_voidp ptr) in png_free()
260 png_set_mem_fn(png_structrp png_ptr, png_voidp mem_ptr, png_malloc_ptr in png_set_mem_fn()
276 png_get_mem_ptr(png_const_structrp png_ptr) in png_get_mem_ptr()
Dpngrutil.c22 png_get_uint_31(png_const_structrp png_ptr, png_const_bytep buf) in png_get_uint_31()
41 png_get_fixed_point(png_structrp png_ptr, png_const_bytep buf) in png_get_fixed_point()
121 png_read_sig(png_structrp png_ptr, png_inforp info_ptr) in png_read_sig()
156 png_read_chunk_header(png_structrp png_ptr) in png_read_chunk_header()
196 png_crc_read(png_structrp png_ptr, png_bytep buf, png_uint_32 length) in png_crc_read()
211 png_crc_finish(png_structrp png_ptr, png_uint_32 skip) in png_crc_finish()
251 png_crc_error(png_structrp png_ptr) in png_crc_error()
298 png_read_buffer(png_structrp png_ptr, png_alloc_size_t new_size, int warn) in png_read_buffer()
341 png_inflate_claim(png_structrp png_ptr, png_uint_32 owner) in png_inflate_claim()
453 png_zlib_inflate(png_structrp png_ptr, int flush) in png_zlib_inflate()
[all …]
Dpngrio.c32 png_read_data(png_structrp png_ptr, png_bytep data, size_t length) in png_read_data()
50 png_default_read_data(png_structp png_ptr, png_bytep data, size_t length) in png_default_read_data()
87 png_set_read_fn(png_structrp png_ptr, png_voidp io_ptr, in png_set_read_fn()
Dpngrtran.c36 png_set_crc_action(png_structrp png_ptr, int crit_action, int ancil_action) in png_set_crc_action()
110 png_rtran_ok(png_structrp png_ptr, int need_IHDR) in png_rtran_ok()
137 png_set_background_fixed(png_structrp png_ptr, in png_set_background_fixed()
167 png_set_background(png_structrp png_ptr, in png_set_background()
183 png_set_scale_16(png_structrp png_ptr) in png_set_scale_16()
197 png_set_strip_16(png_structrp png_ptr) in png_set_strip_16()
210 png_set_strip_alpha(png_structrp png_ptr) in png_set_strip_alpha()
223 translate_gamma_flags(png_structrp png_ptr, png_fixed_point output_gamma, in translate_gamma_flags()
262 convert_gamma_value(png_structrp png_ptr, double output_gamma) in convert_gamma_value()
287 png_set_alpha_mode_fixed(png_structrp png_ptr, int mode, in png_set_alpha_mode_fixed()
[all …]
Dpngread.c30 png_structp png_ptr = png_create_png_struct(user_png_ver, error_ptr, variable
92 png_read_info(png_structrp png_ptr, png_inforp info_ptr) in png_read_info()
267 png_read_update_info(png_structrp png_ptr, png_inforp info_ptr) in png_read_update_info()
298 png_start_read_image(png_structrp png_ptr) in png_start_read_image()
383 png_read_row(png_structrp png_ptr, png_bytep row, png_bytep dsp_row) in png_read_row()
645 png_read_rows(png_structrp png_ptr, png_bytepp row, in png_read_rows()
700 png_read_image(png_structrp png_ptr, png_bytepp image) in png_read_image()
766 png_read_end(png_structrp png_ptr, png_inforp info_ptr) in png_read_end()
940 png_read_destroy(png_structrp png_ptr) in png_read_destroy()
1014 png_structrp png_ptr = NULL; in png_destroy_read_struct() local
[all …]
Dpngtest.c131 tIME_to_str(png_structp png_ptr, png_charp ts, png_const_timep t) in tIME_to_str()
154 # define png_jmpbuf(png_ptr) png_ptr->jmpbuf argument
174 read_row_callback(png_structp png_ptr, png_uint_32 row_number, int pass) in read_row_callback()
199 write_row_callback(png_structp png_ptr, png_uint_32 row_number, int pass) in write_row_callback()
213 read_user_callback(png_structp png_ptr, png_row_infop row_info, png_bytep data) in read_user_callback()
229 count_zero_samples(png_structp png_ptr, png_row_infop row_info, png_bytep data) in count_zero_samples()
351 pngtest_check_io_state(png_structp png_ptr, size_t data_length, in pngtest_check_io_state()
389 pngtest_read_data(png_structp png_ptr, png_bytep data, size_t length) in pngtest_read_data()
415 pngtest_flush(png_structp png_ptr) in pngtest_flush()
428 pngtest_write_data(png_structp png_ptr, png_bytep data, size_t length) in pngtest_write_data()
[all …]
/external/libpng/contrib/gregbook/
Dreadpng2.c107 png_structp png_ptr; /* note: temporary variables! */ in readpng2_init() local
192 png_structp png_ptr = (png_structp)mainprog_ptr->png_ptr; in readpng2_decode_data() local
217 static void readpng2_info_callback(png_structp png_ptr, png_infop info_ptr) in readpng2_info_callback()
390 static void readpng2_row_callback(png_structp png_ptr, png_bytep new_row, in readpng2_row_callback()
437 static void readpng2_end_callback(png_structp png_ptr, png_infop info_ptr) in readpng2_end_callback()
470 png_structp png_ptr = (png_structp)mainprog_ptr->png_ptr; in readpng2_cleanup() local
481 static void readpng2_warning_handler(png_structp png_ptr, png_const_charp msg) in readpng2_warning_handler()
489 static void readpng2_error_handler(png_structp png_ptr, png_const_charp msg) in readpng2_error_handler()
Dwritepng.c86 png_structp png_ptr; /* note: temporary variables! */ in writepng_init() local
261 png_structp png_ptr = (png_structp)mainprog_ptr->png_ptr; in writepng_encode_image() local
299 png_structp png_ptr = (png_structp)mainprog_ptr->png_ptr; in writepng_encode_row() local
329 png_structp png_ptr = (png_structp)mainprog_ptr->png_ptr; in writepng_encode_finish() local
358 png_structp png_ptr = (png_structp)mainprog_ptr->png_ptr; in writepng_cleanup() local
369 static void writepng_error_handler(png_structp png_ptr, png_const_charp msg) in writepng_error_handler()
Dreadpng.c65 # define png_jmpbuf(png_ptr) ((png_ptr)->jmpbuf) argument
69 static png_structp png_ptr = NULL; variable
/external/pdfium/core/fxcodec/png/
Dpng_decoder.cpp38 void _png_error_data(png_structp png_ptr, png_const_charp error_msg) { in _png_error_data()
47 void _png_warning_data(png_structp png_ptr, png_const_charp error_msg) {} in _png_warning_data()
49 void _png_load_bmp_attribute(png_structp png_ptr, in _png_load_bmp_attribute()
83 void _png_get_header_func(png_structp png_ptr, png_infop info_ptr) { in _png_get_header_func()
151 void _png_get_end_func(png_structp png_ptr, png_infop info_ptr) {} in _png_get_end_func()
153 void _png_get_row_func(png_structp png_ptr, in _png_get_row_func()
/external/tensorflow/tensorflow/core/lib/png/
Dpng_io.cc78 void ErrorHandler(png_structp png_ptr, png_const_charp msg) { in ErrorHandler()
87 void WarningHandler(png_structp png_ptr, png_const_charp msg) { in WarningHandler()
91 void StringReader(png_structp png_ptr, png_bytep data, png_size_t length) { in StringReader()
109 void StringWriter(png_structp png_ptr, png_bytep data, png_size_t length) { in StringWriter()
114 void StringWriterFlush(png_structp png_ptr) {} in StringWriterFlush()
357 png_structp png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, nullptr, in WriteImageToBuffer() local
/external/oss-fuzz/projects/libpng-proto/
Dlibpng_transforms_fuzzer.cc12 png_structp png_ptr = nullptr; member
23 void PngArrayStreamCallback(png_structp png_ptr, png_bytep data, in PngArrayStreamCallback()
38 void PngErrorHandler(png_structp png_ptr, png_const_charp error_message) { in PngErrorHandler()
43 void PngWarningHandler(png_structp png_ptr, png_const_charp warning_message) { in PngWarningHandler()
/external/skia/src/codec/
DSkPngCodec.cpp65 static void sk_error_fn(png_structp png_ptr, png_const_charp msg) { in sk_error_fn()
75 static int sk_read_user_chunk(png_structp png_ptr, png_unknown_chunkp chunk) { in sk_read_user_chunk()
94 AutoCleanPng(png_structp png_ptr, SkStream* stream, SkPngChunkReader* reader, in AutoCleanPng()
149 static inline bool process_data(png_structp png_ptr, png_infop info_ptr, in process_data()
363 std::unique_ptr<SkEncodedInfo::ICCProfile> read_color_profile(png_structp png_ptr, in read_color_profile()
509 SkPngChunkReader* reader, png_structp png_ptr, png_infop info_ptr, int bitDepth) in SkPngNormalDecoder()
518 …static void AllRowsCallback(png_structp png_ptr, png_bytep row, png_uint_32 rowNum, int /*pass*/) { in AllRowsCallback()
522 static void RowCallback(png_structp png_ptr, png_bytep row, png_uint_32 rowNum, int /*pass*/) { in RowCallback()
538 static SkPngNormalDecoder* GetDecoder(png_structp png_ptr) { in GetDecoder()
625 SkPngChunkReader* reader, png_structp png_ptr, in SkPngInterlacedDecoder()
[all …]
/external/libpng/arm/
Dpalette_neon_intrinsics.c25 png_riffle_palette_neon(png_structrp png_ptr) in png_riffle_palette_neon()
62 png_do_expand_palette_rgba8_neon(png_structrp png_ptr, png_row_infop row_info, in png_do_expand_palette_rgba8_neon()
107 png_do_expand_palette_rgb8_neon(png_structrp png_ptr, png_row_infop row_info, in png_do_expand_palette_rgb8_neon()
/external/libpng/contrib/arm-neon/
Dlinux-auxv.c39 safe_read(png_structp png_ptr, int fd, void *buffer_in, size_t nbytes) in safe_read()
97 png_have_neon(png_structp png_ptr) in png_have_neon()
/external/libpng/contrib/libtests/
Dmakepng.c749 makepng_warning(png_structp png_ptr, png_const_charp message) in makepng_warning()
764 makepng_error(png_structp png_ptr, png_const_charp message) in makepng_error()
775 png_structp png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, in write_png() local
1158 insert_iCCP(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_iCCP()
1263 set_text(png_structp png_ptr, png_infop info_ptr, png_textp text, in set_text()
1303 insert_tEXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_tEXt()
1314 insert_zTXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_zTXt()
1326 insert_iTXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_iTXt()
1340 insert_hIST(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_hIST()
1369 bval(png_const_structrp png_ptr, png_charp param, unsigned int maxval) in bval()
[all …]

123