Home
last modified time | relevance | path

Searched refs:png_structp (Results 1 – 25 of 74) sorted by relevance

123

/external/opencv3/3rdparty/libpng/
Dpng.h856 typedef png_struct FAR * png_structp; typedef
866 typedef PNG_CALLBACK(void, *png_error_ptr, (png_structp, png_const_charp));
867 typedef PNG_CALLBACK(void, *png_rw_ptr, (png_structp, png_bytep, png_size_t));
868 typedef PNG_CALLBACK(void, *png_flush_ptr, (png_structp));
869 typedef PNG_CALLBACK(void, *png_read_status_ptr, (png_structp, png_uint_32,
871 typedef PNG_CALLBACK(void, *png_write_status_ptr, (png_structp, png_uint_32,
875 typedef PNG_CALLBACK(void, *png_progressive_info_ptr, (png_structp, png_infop));
876 typedef PNG_CALLBACK(void, *png_progressive_end_ptr, (png_structp, png_infop));
888 typedef PNG_CALLBACK(void, *png_progressive_row_ptr, (png_structp, png_bytep,
894 typedef PNG_CALLBACK(void, *png_user_transform_ptr, (png_structp, png_row_infop,
[all …]
Dpngpriv.h620 PNG_EXTERN png_fixed_point png_fixed PNGARG((png_structp png_ptr, double fp,
710 PNG_EXTERN int png_user_version_check(png_structp png_ptr,
727 PNG_EXTERN void png_info_destroy PNGARG((png_structp png_ptr,
742 PNG_EXTERN void PNGCBAPI png_default_read_data PNGARG((png_structp png_ptr,
746 PNG_EXTERN void PNGCBAPI png_push_fill_buffer PNGARG((png_structp png_ptr,
750 PNG_EXTERN void PNGCBAPI png_default_write_data PNGARG((png_structp png_ptr,
755 PNG_EXTERN void PNGCBAPI png_default_flush PNGARG((png_structp png_ptr));
760 PNG_EXTERN void png_reset_crc PNGARG((png_structp png_ptr));
763 PNG_EXTERN void png_write_data PNGARG((png_structp png_ptr,
767 PNG_EXTERN void png_read_sig PNGARG((png_structp png_ptr, png_infop info_ptr));
[all …]
Dpngerror.c23 static PNG_FUNCTION(void, png_default_error,PNGARG((png_structp png_ptr,
28 png_default_warning PNGARG((png_structp png_ptr,
39 png_error,(png_structp png_ptr, png_const_charp error_message),PNG_NORETURN)
90 png_err,(png_structp png_ptr),PNG_NORETURN)
214 png_warning(png_structp png_ptr, png_const_charp warning_message) in png_warning()
281 png_formatted_warning(png_structp png_ptr, png_warning_parameters p, in png_formatted_warning()
359 png_benign_error(png_structp png_ptr, png_const_charp error_message) in png_benign_error()
383 png_format_buffer(png_structp png_ptr, png_charp buffer, png_const_charp in png_format_buffer()
429 png_chunk_error,(png_structp png_ptr, png_const_charp error_message),
446 png_chunk_warning(png_structp png_ptr, png_const_charp warning_message) in png_chunk_warning()
[all …]
Dpngset.c25 png_set_bKGD(png_structp png_ptr, png_infop info_ptr, in png_set_bKGD()
40 png_set_cHRM_fixed(png_structp png_ptr, png_infop info_ptr, in png_set_cHRM_fixed()
68 png_set_cHRM_XYZ_fixed(png_structp png_ptr, png_infop info_ptr, in png_set_cHRM_XYZ_fixed()
102 png_set_cHRM(png_structp png_ptr, png_infop info_ptr, in png_set_cHRM()
118 png_set_cHRM_XYZ(png_structp png_ptr, png_infop info_ptr, double red_X, in png_set_cHRM_XYZ()
139 png_set_gAMA_fixed(png_structp png_ptr, png_infop info_ptr, png_fixed_point in png_set_gAMA_fixed()
167 png_set_gAMA(png_structp png_ptr, png_infop info_ptr, double file_gamma) in png_set_gAMA()
177 png_set_hIST(png_structp png_ptr, png_infop info_ptr, png_const_uint_16p hist) in png_set_hIST()
219 png_set_IHDR(png_structp png_ptr, png_infop info_ptr, in png_set_IHDR()
269 png_set_oFFs(png_structp png_ptr, png_infop info_ptr, in png_set_oFFs()
[all …]
Dpngwio.c33 png_write_data(png_structp 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()
73 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data()
129 png_flush(png_structp png_ptr) in png_flush()
137 png_default_flush(png_structp png_ptr) in png_default_flush()
180 png_set_write_fn(png_structp png_ptr, png_voidp io_ptr, in png_set_write_fn()
225 void *png_far_to_near(png_structp png_ptr, png_voidp ptr, int check) in png_far_to_near()
239 void *png_far_to_near(png_structp png_ptr, png_voidp ptr, int check) in png_far_to_near()
Dpngmem.c124 png_calloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
137 png_malloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
158 png_malloc_default,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
322 png_free(png_structp png_ptr, png_voidp ptr) in png_free()
339 png_free_default(png_structp png_ptr, png_voidp ptr) in png_free_default()
408 png_structp png_ptr = &dummy_struct;
456 png_structp png_ptr = &dummy_struct; in png_destroy_struct_2()
485 png_calloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
498 png_malloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
519 png_malloc_default,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
[all …]
Dpngwrite.c28 png_write_info_before_PLTE(png_structp png_ptr, png_infop info_ptr) in png_write_info_before_PLTE()
122 png_write_info(png_structp png_ptr, png_infop info_ptr) in png_write_info()
298 png_write_end(png_structp png_ptr, png_infop info_ptr) in png_write_end()
450 PNG_FUNCTION(png_structp,PNGAPI
460 static void png_reset_filter_heuristics(png_structp png_ptr); /* forward decl */
462 PNG_FUNCTION(png_structp,PNGAPI
472 png_structp png_ptr;
482 png_ptr = (png_structp)png_create_struct_2(PNG_STRUCT_PNG,
485 png_ptr = (png_structp)png_create_struct(PNG_STRUCT_PNG);
561 png_write_rows(png_structp png_ptr, png_bytepp row, in png_write_rows()
[all …]
Dpngtrans.c21 png_set_bgr(png_structp png_ptr) in png_set_bgr()
35 png_set_swap(png_structp png_ptr) in png_set_swap()
50 png_set_packing(png_structp png_ptr) in png_set_packing()
68 png_set_packswap(png_structp png_ptr) in png_set_packswap()
82 png_set_shift(png_structp png_ptr, png_const_color_8p true_bits) in png_set_shift()
97 png_set_interlace_handling(png_structp png_ptr) in png_set_interlace_handling()
118 png_set_filler(png_structp png_ptr, png_uint_32 filler, int filler_loc) in png_set_filler()
155 png_set_add_alpha(png_structp png_ptr, png_uint_32 filler, int filler_loc) in png_set_add_alpha()
171 png_set_swap_alpha(png_structp png_ptr) in png_set_swap_alpha()
185 png_set_invert_alpha(png_structp png_ptr) in png_set_invert_alpha()
[all …]
Dpngpread.c30 png_process_data(png_structp png_ptr, png_infop info_ptr, in png_process_data()
45 png_process_data_pause(png_structp png_ptr, int save) in png_process_data_pause()
72 png_process_data_skip(png_structp png_ptr) in png_process_data_skip()
106 png_process_some_data(png_structp png_ptr, png_infop info_ptr) in png_process_some_data()
152 png_push_read_sig(png_structp png_ptr, png_infop info_ptr) in png_push_read_sig()
186 png_push_read_chunk(png_structp png_ptr, png_infop info_ptr) in png_push_read_chunk()
568 png_push_crc_skip(png_structp png_ptr, png_uint_32 skip) in png_push_crc_skip()
575 png_push_crc_finish(png_structp png_ptr) in png_push_crc_finish()
638 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length) in png_push_fill_buffer()
683 png_push_save_buffer(png_structp png_ptr) in png_push_save_buffer()
[all …]
Dpng.c27 png_set_sig_bytes(png_structp png_ptr, int num_bytes) in png_set_sig_bytes()
76 png_structp p=(png_structp)png_ptr;
91 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes);
101 png_free((png_structp)png_ptr, (png_voidp)ptr); in png_zfree()
108 png_reset_crc(png_structp png_ptr) in png_reset_crc()
120 png_calculate_crc(png_structp png_ptr, png_const_bytep ptr, png_size_t length) in png_calculate_crc()
172 png_user_version_check(png_structp png_ptr, png_const_charp user_png_ver) in png_user_version_check()
230 png_create_info_struct,(png_structp png_ptr),PNG_ALLOCATED)
257 png_destroy_info_struct(png_structp png_ptr, png_infopp info_ptr_ptr) in png_destroy_info_struct()
310 png_data_freer(png_structp png_ptr, png_infop info_ptr, in png_data_freer()
[all …]
Dpngrio.c32 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_read_data()
51 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data()
76 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data()
145 png_set_read_fn(png_structp png_ptr, png_voidp io_ptr, in png_set_read_fn()
Dpngread.c22 PNG_FUNCTION(png_structp,PNGAPI
35 PNG_FUNCTION(png_structp,PNGAPI
45 png_structp png_ptr;
57 png_ptr = (png_structp)png_create_struct_2(PNG_STRUCT_PNG,
60 png_ptr = (png_structp)png_create_struct(PNG_STRUCT_PNG);
178 png_read_info(png_structp png_ptr, png_infop info_ptr) in png_read_info()
341 png_read_update_info(png_structp png_ptr, png_infop info_ptr) in png_read_update_info()
364 png_start_read_image(png_structp png_ptr) in png_start_read_image()
375 png_read_row(png_structp png_ptr, png_bytep row, png_bytep dsp_row) in png_read_row()
675 png_read_rows(png_structp png_ptr, png_bytepp row, in png_read_rows()
[all …]
Dpngwutil.c68 png_write_sig(png_structp png_ptr) in png_write_sig()
90 png_write_chunk_header(png_structp png_ptr, png_uint_32 chunk_name, in png_write_chunk_header()
132 png_write_chunk_start(png_structp png_ptr, png_const_bytep chunk_string, in png_write_chunk_start()
144 png_write_chunk_data(png_structp png_ptr, png_const_bytep data, in png_write_chunk_data()
164 png_write_chunk_end(png_structp png_ptr) in png_write_chunk_end()
193 png_write_complete_chunk(png_structp png_ptr, png_uint_32 chunk_name, in png_write_complete_chunk()
210 png_write_chunk(png_structp png_ptr, png_const_bytep chunk_string, in png_write_chunk()
219 png_zlib_claim(png_structp png_ptr, png_uint_32 state) in png_zlib_claim()
308 png_zlib_release(png_structp png_ptr) in png_zlib_release()
377 png_text_compress(png_structp png_ptr, in png_text_compress()
[all …]
/external/libpng/contrib/gregbook/
Dreadpng2.c72 static void readpng2_info_callback(png_structp png_ptr, png_infop info_ptr);
73 static void readpng2_row_callback(png_structp png_ptr, png_bytep new_row,
75 static void readpng2_end_callback(png_structp png_ptr, png_infop info_ptr);
76 static void readpng2_error_handler(png_structp png_ptr, png_const_charp msg);
77 static void readpng2_warning_handler(png_structp png_ptr, png_const_charp msg);
106 png_structp png_ptr; /* note: temporary variables! */ in readpng2_init()
191 png_structp png_ptr = (png_structp)mainprog_ptr->png_ptr; in readpng2_decode_data()
216 static void readpng2_info_callback(png_structp png_ptr, png_infop info_ptr) in readpng2_info_callback()
389 static void readpng2_row_callback(png_structp png_ptr, png_bytep new_row, in readpng2_row_callback()
436 static void readpng2_end_callback(png_structp png_ptr, png_infop info_ptr) in readpng2_end_callback()
[all …]
Dwritepng.c66 static void writepng_error_handler(png_structp png_ptr, png_const_charp msg);
86 png_structp png_ptr; /* note: temporary variables! */ in writepng_init()
261 png_structp png_ptr = (png_structp)mainprog_ptr->png_ptr; in writepng_encode_image()
299 png_structp png_ptr = (png_structp)mainprog_ptr->png_ptr; in writepng_encode_row()
329 png_structp png_ptr = (png_structp)mainprog_ptr->png_ptr; in writepng_encode_finish()
358 png_structp png_ptr = (png_structp)mainprog_ptr->png_ptr; in writepng_cleanup()
369 static void writepng_error_handler(png_structp png_ptr, png_const_charp msg) in writepng_error_handler()
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_png.cpp117 png_structp png_ptr = (png_structp)m_png_ptr; in close()
128 png_structp png_ptr = (png_structp)_png_ptr; in readDataFromBuf()
146 png_structp png_ptr = png_create_read_struct( PNG_LIBPNG_VER_STRING, 0, 0, 0 ); in readHeader()
236 png_structp png_ptr = (png_structp)m_png_ptr; in readData()
328 png_structp png_ptr = (png_structp)_png_ptr; in writeDataToBuf()
343 png_structp png_ptr = png_create_write_struct( PNG_LIBPNG_VER_STRING, 0, 0, 0 ); in write()
/external/skia/src/images/
DSkImageDecoder_libpng.cpp50 SkPNGImageIndex(SkStreamRewindable* stream, png_structp png_ptr, png_infop info_ptr) in SkPNGImageIndex()
64 png_structp fPng_ptr;
86 bool onDecodeInit(SkStream* stream, png_structp *png_ptrp, png_infop *info_ptrp);
87 bool decodePalette(png_structp png_ptr, png_infop info_ptr, int bitDepth,
90 bool getBitmapColorType(png_structp, png_infop, SkColorType*, bool* hasAlpha,
104 PNGAutoClean(png_structp p, png_infop i): png_ptr(p), info_ptr(i) {} in PNGAutoClean()
109 png_structp png_ptr;
113 static void sk_read_fn(png_structp png_ptr, png_bytep data, png_size_t length) { in sk_read_fn()
122 static int sk_read_user_chunk(png_structp png_ptr, png_unknown_chunkp chunk) { in sk_read_user_chunk()
130 static void sk_error_fn(png_structp png_ptr, png_const_charp msg) { in sk_error_fn()
[all …]
/external/opencv/otherlibs/highgui/
Dgrfmt_png.cpp117 png_structp png_ptr = (png_structp)m_png_ptr; in Close()
133 png_structp png_ptr = png_create_read_struct( PNG_LIBPNG_VER_STRING, 0, 0, 0 ); in ReadHeader()
191 png_structp png_ptr = (png_structp)m_png_ptr; in ReadData()
269 png_structp png_ptr = png_create_write_struct( PNG_LIBPNG_VER_STRING, 0, 0, 0 ); in WriteImage()
/external/libpng/
Dpngtest.c140 tIME_to_str(png_structp png_ptr, png_charp ts, png_const_timep t) in tIME_to_str()
182 read_row_callback(png_structp png_ptr, png_uint_32 row_number, int pass) in read_row_callback()
207 write_row_callback(png_structp png_ptr, png_uint_32 row_number, int pass) in write_row_callback()
221 read_user_callback(png_structp png_ptr, png_row_infop row_info, png_bytep data) in read_user_callback()
237 count_zero_samples(png_structp png_ptr, png_row_infop row_info, png_bytep data) in count_zero_samples()
356 pngtest_check_io_state(png_structp png_ptr, png_size_t data_length,
359 pngtest_check_io_state(png_structp png_ptr, png_size_t data_length, in pngtest_check_io_state()
397 pngtest_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in pngtest_read_data()
423 pngtest_flush(png_structp png_ptr) in pngtest_flush()
436 pngtest_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in pngtest_write_data()
[all …]
/external/skia/src/codec/
DSkPngCodec.cpp25 static void sk_error_fn(png_structp png_ptr, png_const_charp msg) { in sk_error_fn()
30 void sk_warning_fn(png_structp, png_const_charp msg) { in sk_warning_fn() argument
34 static void sk_read_fn(png_structp png_ptr, png_bytep data, in sk_read_fn()
47 static int sk_read_user_chunk(png_structp png_ptr, png_unknown_chunkp chunk) { in sk_read_user_chunk()
60 AutoCleanPng(png_structp png_ptr) in AutoCleanPng()
83 png_structp fPng_ptr;
189 png_structp* png_ptrp, png_infop* info_ptrp, in read_header()
192 png_structp png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, nullptr, in read_header()
333 png_structp png_ptr, png_infop info_ptr, int bitDepth, int numberPasses) in SkPngCodec()
434 png_structp png_ptr; in onRewind()
[all …]
DSkPngCodec.h44 SkPngCodec(const SkImageInfo&, SkStream*, SkPngChunkReader*, png_structp, png_infop, int, int);
46 png_structp png_ptr() { return fPng_ptr; } in png_ptr()
53 png_structp fPng_ptr;
/external/libpng/contrib/visupng/
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);
28 static void png_flush(png_structp png_ptr);
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_png.cpp18 static void _png_error_data(png_structp png_ptr, png_const_charp error_msg) { in _png_error_data()
25 static void _png_warning_data(png_structp png_ptr, png_const_charp error_msg) {} in _png_warning_data()
26 static void _png_load_bmp_attribute(png_structp png_ptr, in _png_load_bmp_attribute()
95 png_structp png_ptr;
113 static void _png_get_header_func(png_structp png_ptr, png_infop info_ptr) { in _png_get_header_func()
181 static void _png_get_end_func(png_structp png_ptr, png_infop info_ptr) {} in _png_get_end_func()
182 static void _png_get_row_func(png_structp png_ptr, in _png_get_row_func()
/external/freetype/src/sfnt/
Dpngshim.c53 premultiply_data( png_structp png, in premultiply_data()
96 convert_bytes_to_data( png_structp png, in convert_bytes_to_data()
123 error_callback( png_structp png, in error_callback()
141 warning_callback( png_structp png, in warning_callback()
152 read_data_from_FT_Stream( png_structp png, in read_data_from_FT_Stream()
193 png_structp png; in Load_SBit_Png()
/external/pdfium/third_party/freetype/src/sfnt/
Dpngshim.c53 premultiply_data( png_structp png, in premultiply_data()
96 convert_bytes_to_data( png_structp png, in convert_bytes_to_data()
123 error_callback( png_structp png, in error_callback()
141 warning_callback( png_structp png, in warning_callback()
152 read_data_from_FT_Stream( png_structp png, in read_data_from_FT_Stream()
193 png_structp png; in Load_SBit_Png()

123