Home
last modified time | relevance | path

Searched refs:png_structp (Results 1 – 25 of 71) 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/codec/
Dccodec_pngmodule.cpp30 png_structp m_pPng;
41 static void _png_error_data(png_structp png_ptr, png_const_charp error_msg) { in _png_error_data()
48 static void _png_warning_data(png_structp png_ptr, png_const_charp error_msg) {} in _png_warning_data()
50 static void _png_load_bmp_attribute(png_structp png_ptr, in _png_load_bmp_attribute()
109 static void _png_get_header_func(png_structp png_ptr, png_infop info_ptr) { in _png_get_header_func()
176 static void _png_get_end_func(png_structp png_ptr, png_infop info_ptr) {} in _png_get_end_func()
178 static void _png_get_row_func(png_structp png_ptr, in _png_get_row_func()
/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, png_size_t data_length,
351 pngtest_check_io_state(png_structp png_ptr, png_size_t data_length, in pngtest_check_io_state()
389 pngtest_read_data(png_structp png_ptr, png_bytep data, png_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, png_size_t length) in pngtest_write_data()
[all …]
Dexample.c272 png_structp png_ptr;
285 png_structp png_ptr;
608 initialize_png_reader(png_structp *png_ptr, png_infop *info_ptr)
658 process_data(png_structp *png_ptr, png_infop *info_ptr,
682 info_callback(png_structp png_ptr, png_infop info)
693 row_callback(png_structp png_ptr, png_bytep new_row,
750 end_callback(png_structp png_ptr, png_infop info)
767 png_structp png_ptr;
Dpng.h472 typedef png_struct * png_structp; typedef
806 typedef PNG_CALLBACK(void, *png_error_ptr, (png_structp, png_const_charp));
807 typedef PNG_CALLBACK(void, *png_rw_ptr, (png_structp, png_bytep, png_size_t));
808 typedef PNG_CALLBACK(void, *png_flush_ptr, (png_structp));
809 typedef PNG_CALLBACK(void, *png_read_status_ptr, (png_structp, png_uint_32,
811 typedef PNG_CALLBACK(void, *png_write_status_ptr, (png_structp, png_uint_32,
815 typedef PNG_CALLBACK(void, *png_progressive_info_ptr, (png_structp, png_infop));
816 typedef PNG_CALLBACK(void, *png_progressive_end_ptr, (png_structp, png_infop));
828 typedef PNG_CALLBACK(void, *png_progressive_row_ptr, (png_structp, png_bytep,
834 typedef PNG_CALLBACK(void, *png_user_transform_ptr, (png_structp, png_row_infop,
[all …]
Dpngwio.c51 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data()
79 png_default_flush(png_structp png_ptr) in png_default_flush()
/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);
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, png_size_t length)
430 png_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
442 png_flush(png_structp png_ptr)
/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;
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/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/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.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()
323 static void set_icc(png_structp png_ptr, png_infop info_ptr, const SkImageInfo& info) { in set_icc()
/external/freetype/src/sfnt/
Dpngshim.c54 premultiply_data( png_structp png, in premultiply_data()
164 convert_bytes_to_data( png_structp png, in convert_bytes_to_data()
191 error_callback( png_structp png, in error_callback()
209 warning_callback( png_structp png, in warning_callback()
220 read_data_from_FT_Stream( png_structp png, in read_data_from_FT_Stream()
262 png_structp png; in Load_SBit_Png()
/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, png_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()
108 void StringWriter(png_structp png_ptr, png_bytep data, png_size_t length) { in StringWriter()
113 void StringWriterFlush(png_structp png_ptr) {} in StringWriterFlush()
355 png_structp png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, nullptr, in WriteImageToBuffer()
/external/libpng/powerpc/
Dpowerpc_init.c45 static int png_have_vsx(png_structp png_ptr);
54 png_init_filter_functions_vsx(png_structp pp, unsigned int bpp) in png_init_filter_functions_vsx()
/external/libpng/mips/
Dmips_init.c45 static int png_have_msa(png_structp png_ptr);
58 png_init_filter_functions_msa(png_structp pp, unsigned int bpp) in png_init_filter_functions_msa()
/external/pdfium/third_party/libpng16/arm/
Darm_init.c44 static int png_have_neon(png_structp png_ptr);
57 png_init_filter_functions_neon(png_structp pp, unsigned int bpp) in png_init_filter_functions_neon()
/external/libpng/arm/
Darm_init.c44 static int png_have_neon(png_structp png_ptr);
57 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/pdfium/third_party/libpng16/
Dpng.h477 typedef png_struct * png_structp; typedef
810 typedef PNG_CALLBACK(void, *png_error_ptr, (png_structp, png_const_charp));
811 typedef PNG_CALLBACK(void, *png_rw_ptr, (png_structp, png_bytep, png_size_t));
812 typedef PNG_CALLBACK(void, *png_flush_ptr, (png_structp));
813 typedef PNG_CALLBACK(void, *png_read_status_ptr, (png_structp, png_uint_32,
815 typedef PNG_CALLBACK(void, *png_write_status_ptr, (png_structp, png_uint_32,
819 typedef PNG_CALLBACK(void, *png_progressive_info_ptr, (png_structp, png_infop));
820 typedef PNG_CALLBACK(void, *png_progressive_end_ptr, (png_structp, png_infop));
832 typedef PNG_CALLBACK(void, *png_progressive_row_ptr, (png_structp, png_bytep,
838 typedef PNG_CALLBACK(void, *png_user_transform_ptr, (png_structp, png_row_infop,
[all …]
Dpngwio.c51 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data()
79 png_default_flush(png_structp png_ptr) in png_default_flush()
Dpngpriv.h950 PNG_INTERNAL_FUNCTION(png_structp,png_create_png_struct,
974 PNG_INTERNAL_FUNCTION(void PNGCBAPI,png_default_read_data,(png_structp png_ptr,
978 PNG_INTERNAL_FUNCTION(void PNGCBAPI,png_push_fill_buffer,(png_structp png_ptr,
982 PNG_INTERNAL_FUNCTION(void PNGCBAPI,png_default_write_data,(png_structp png_ptr,
987 PNG_INTERNAL_FUNCTION(void PNGCBAPI,png_default_flush,(png_structp png_ptr),
1903 png_structp png_ptr;
1927 PNG_INTERNAL_CALLBACK(void,png_safe_error,(png_structp png_ptr,
1931 PNG_INTERNAL_CALLBACK(void,png_safe_warning,(png_structp png_ptr,
1959 PNG_INTERNAL_FUNCTION(void, PNG_FILTER_OPTIMIZATIONS, (png_structp png_ptr,
1968 (png_structp png_ptr, unsigned int bpp), PNG_EMPTY);
[all …]

123