Home
last modified time | relevance | path

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

123

/external/libpng/contrib/gregbook/
Dreadpng2.c73 static void readpng2_info_callback(png_structp png_ptr, png_infop info_ptr);
74 static void readpng2_row_callback(png_structp png_ptr, png_bytep new_row,
76 static void readpng2_end_callback(png_structp png_ptr, png_infop info_ptr);
77 static void readpng2_error_handler(png_structp png_ptr, png_const_charp msg);
78 static void readpng2_warning_handler(png_structp png_ptr, png_const_charp msg);
107 png_structp png_ptr; /* note: temporary variables! */ in readpng2_init()
192 png_structp png_ptr = (png_structp)mainprog_ptr->png_ptr; in readpng2_decode_data()
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()
[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/pdfium/core/fxcodec/png/
Dpngmodule.cpp31 png_structp m_pPng = nullptr;
39 void _png_error_data(png_structp png_ptr, png_const_charp error_msg) { in _png_error_data()
48 void _png_warning_data(png_structp png_ptr, png_const_charp error_msg) {} in _png_warning_data()
50 void _png_load_bmp_attribute(png_structp png_ptr, in _png_load_bmp_attribute()
84 void _png_get_header_func(png_structp png_ptr, png_infop info_ptr) { in _png_get_header_func()
152 void _png_get_end_func(png_structp png_ptr, png_infop info_ptr) {} in _png_get_end_func()
154 void _png_get_row_func(png_structp png_ptr, in _png_get_row_func()
/external/libpng/contrib/visupng/
DPngFile.h26 static void png_read_data(png_structp png_ptr, png_bytep data, size_t length);
27 static void png_write_data(png_structp png_ptr, png_bytep data, size_t length);
28 static void png_flush(png_structp png_ptr);
DPngFile.c29 static png_structp png_ptr = NULL;
36 png_cexcept_error(png_structp png_ptr, png_const_charp msg) in png_cexcept_error()
413 png_read_data(png_structp png_ptr, png_bytep data, size_t length)
429 png_write_data(png_structp png_ptr, png_bytep data, size_t length)
441 png_flush(png_structp png_ptr)
/external/libpng/
Dpngtest.c131 tIME_to_str(png_structp png_ptr, png_charp ts, png_const_timep t) in tIME_to_str()
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()
348 pngtest_check_io_state(png_structp png_ptr, size_t data_length,
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 …]
Dexample.c275 png_structp png_ptr;
288 png_structp png_ptr;
593 initialize_png_reader(png_structp *png_ptr, png_infop *info_ptr)
638 process_data(png_structp *png_ptr, png_infop *info_ptr,
662 info_callback(png_structp png_ptr, png_infop info)
673 row_callback(png_structp png_ptr, png_bytep new_row,
725 end_callback(png_structp png_ptr, png_infop info)
742 png_structp png_ptr;
Dpngwio.c51 png_default_write_data(png_structp png_ptr, png_bytep data, size_t length) in png_default_write_data()
79 png_default_flush(png_structp png_ptr) in png_default_flush()
Dpng.h441 typedef png_struct * png_structp; typedef
775 typedef PNG_CALLBACK(void, *png_error_ptr, (png_structp, png_const_charp));
776 typedef PNG_CALLBACK(void, *png_rw_ptr, (png_structp, png_bytep, size_t));
777 typedef PNG_CALLBACK(void, *png_flush_ptr, (png_structp));
778 typedef PNG_CALLBACK(void, *png_read_status_ptr, (png_structp, png_uint_32,
780 typedef PNG_CALLBACK(void, *png_write_status_ptr, (png_structp, png_uint_32,
784 typedef PNG_CALLBACK(void, *png_progressive_info_ptr, (png_structp, png_infop));
785 typedef PNG_CALLBACK(void, *png_progressive_end_ptr, (png_structp, png_infop));
797 typedef PNG_CALLBACK(void, *png_progressive_row_ptr, (png_structp, png_bytep,
803 typedef PNG_CALLBACK(void, *png_user_transform_ptr, (png_structp, png_row_infop,
[all …]
/external/skqp/src/codec/
DSkPngCodec.cpp38 #define PNG_JMPBUF(x) png_jmpbuf((png_structp) x)
51 static void sk_error_fn(png_structp png_ptr, png_const_charp msg) { in sk_error_fn()
56 void sk_warning_fn(png_structp, png_const_charp msg) { in sk_warning_fn() argument
61 static int sk_read_user_chunk(png_structp png_ptr, png_unknown_chunkp chunk) { in sk_read_user_chunk()
80 AutoCleanPng(png_structp png_ptr, SkStream* stream, SkPngChunkReader* reader, in AutoCleanPng()
117 png_structp fPng_ptr;
136 static inline bool process_data(png_structp png_ptr, png_infop info_ptr, in process_data()
350 std::unique_ptr<SkEncodedInfo::ICCProfile> read_color_profile(png_structp png_ptr, in read_color_profile()
496 SkPngChunkReader* reader, png_structp png_ptr, png_infop info_ptr, int bitDepth) in SkPngNormalDecoder()
505 …static void AllRowsCallback(png_structp png_ptr, png_bytep row, png_uint_32 rowNum, int /*pass*/) { in AllRowsCallback()
[all …]
/external/skia/src/codec/
DSkPngCodec.cpp38 #define PNG_JMPBUF(x) png_jmpbuf((png_structp) x)
51 static void sk_error_fn(png_structp png_ptr, png_const_charp msg) { in sk_error_fn()
56 void sk_warning_fn(png_structp, png_const_charp msg) { in sk_warning_fn() argument
61 static int sk_read_user_chunk(png_structp png_ptr, png_unknown_chunkp chunk) { in sk_read_user_chunk()
80 AutoCleanPng(png_structp png_ptr, SkStream* stream, SkPngChunkReader* reader, in AutoCleanPng()
117 png_structp fPng_ptr;
135 static inline bool process_data(png_structp png_ptr, png_infop info_ptr, in process_data()
349 std::unique_ptr<SkEncodedInfo::ICCProfile> read_color_profile(png_structp png_ptr, in read_color_profile()
495 SkPngChunkReader* reader, png_structp png_ptr, png_infop info_ptr, int bitDepth) in SkPngNormalDecoder()
504 …static void AllRowsCallback(png_structp png_ptr, png_bytep row, png_uint_32 rowNum, int /*pass*/) { in AllRowsCallback()
[all …]
/external/oss-fuzz/projects/libpng-proto/
Dlibpng_transforms_fuzzer.cc12 png_structp png_ptr = nullptr;
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/freetype/src/sfnt/
Dpngshim.c53 premultiply_data( png_structp png, in premultiply_data()
169 convert_bytes_to_data( png_structp png, in convert_bytes_to_data()
196 error_callback( png_structp png, in error_callback()
214 warning_callback( png_structp png, in warning_callback()
225 read_data_from_FT_Stream( png_structp png, in read_data_from_FT_Stream()
267 png_structp png; in Load_SBit_Png()
/external/skqp/src/images/
DSkPngEncoder.cpp32 static void sk_error_fn(png_structp png_ptr, png_const_charp msg) { in sk_error_fn()
40 static void sk_write_fn(png_structp png_ptr, png_bytep data, png_size_t len) { in sk_write_fn()
61 png_structp pngPtr() { return fPngPtr; } in pngPtr()
72 SkPngEncoderMgr(png_structp pngPtr, png_infop infoPtr) in SkPngEncoderMgr()
77 png_structp fPngPtr;
84 png_structp pngPtr = in Make()
318 static void set_icc(png_structp png_ptr, png_infop info_ptr, const SkImageInfo& info) { in set_icc()
/external/skia/src/images/
DSkPngEncoder.cpp33 static void sk_error_fn(png_structp png_ptr, png_const_charp msg) { in sk_error_fn()
41 static void sk_write_fn(png_structp png_ptr, png_bytep data, png_size_t len) { in sk_write_fn()
62 png_structp pngPtr() { return fPngPtr; } in pngPtr()
73 SkPngEncoderMgr(png_structp pngPtr, png_infop infoPtr) in SkPngEncoderMgr()
78 png_structp fPngPtr;
85 png_structp pngPtr = in Make()
343 static void set_icc(png_structp png_ptr, png_infop info_ptr, const SkImageInfo& info) { in set_icc()
/external/libpng/powerpc/
Dpowerpc_init.c46 static int png_have_vsx(png_structp png_ptr);
55 png_init_filter_functions_vsx(png_structp pp, unsigned int bpp) in png_init_filter_functions_vsx()
/external/pdfium/third_party/libpng16/arm/
Darm_init.c45 static int png_have_neon(png_structp png_ptr);
58 png_init_filter_functions_neon(png_structp pp, unsigned int bpp) in png_init_filter_functions_neon()
/external/libpng/mips/
Dmips_init.c46 static int png_have_msa(png_structp png_ptr);
59 png_init_filter_functions_msa(png_structp pp, unsigned int bpp) in png_init_filter_functions_msa()
/external/libpng/arm/
Darm_init.c45 static int png_have_neon(png_structp png_ptr);
58 png_init_filter_functions_neon(png_structp pp, unsigned int bpp) in png_init_filter_functions_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.c174 void (*insert)(png_structp, png_infop, int, png_charpp);
748 makepng_warning(png_structp png_ptr, png_const_charp message) in makepng_warning()
763 makepng_error(png_structp png_ptr, png_const_charp message) in makepng_error()
774 png_structp png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, in write_png()
787 png_structp nv_ptr = png_ptr; in write_png()
983 png_structp nv_ptr = png_ptr; in write_png()
1154 insert_iCCP(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_iCCP()
1259 set_text(png_structp png_ptr, png_infop info_ptr, png_textp text, in set_text()
1299 insert_tEXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_tEXt()
1310 insert_zTXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_zTXt()
[all …]
Dtimepng.c68 (png_structp png_ptr, png_bytep buffer, size_t cb))
83 static void read_by_row(png_structp png_ptr, png_infop info_ptr, in read_by_row()
140 static PNG_CALLBACK(void, no_warnings, (png_structp png_ptr,
149 png_structp png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING,0,0, in read_png()
/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()
/external/pdfium/third_party/libpng16/
Dpngwio.c51 png_default_write_data(png_structp png_ptr, png_bytep data, size_t length) in png_default_write_data()
79 png_default_flush(png_structp png_ptr) in png_default_flush()
Dpng.h441 typedef png_struct * png_structp; typedef
775 typedef PNG_CALLBACK(void, *png_error_ptr, (png_structp, png_const_charp));
776 typedef PNG_CALLBACK(void, *png_rw_ptr, (png_structp, png_bytep, size_t));
777 typedef PNG_CALLBACK(void, *png_flush_ptr, (png_structp));
778 typedef PNG_CALLBACK(void, *png_read_status_ptr, (png_structp, png_uint_32,
780 typedef PNG_CALLBACK(void, *png_write_status_ptr, (png_structp, png_uint_32,
784 typedef PNG_CALLBACK(void, *png_progressive_info_ptr, (png_structp, png_infop));
785 typedef PNG_CALLBACK(void, *png_progressive_end_ptr, (png_structp, png_infop));
797 typedef PNG_CALLBACK(void, *png_progressive_row_ptr, (png_structp, png_bytep,
803 typedef PNG_CALLBACK(void, *png_user_transform_ptr, (png_structp, png_row_infop,
[all …]

123