Prusa MINI Firmware overview
|
◆ png_write_data()
◆ png_default_write_data()
◆ png_flush()
◆ png_default_flush()
◆ png_set_write_fn()
130 #ifdef PNG_STDIO_SUPPORTED
131 if (write_data_fn !=
NULL)
132 png_ptr->write_data_fn = write_data_fn;
137 png_ptr->write_data_fn = write_data_fn;
140 #ifdef PNG_WRITE_FLUSH_SUPPORTED
141 # ifdef PNG_STDIO_SUPPORTED
143 if (output_flush_fn !=
NULL)
144 png_ptr->output_flush_fn = output_flush_fn;
150 png_ptr->output_flush_fn = output_flush_fn;
156 #ifdef PNG_READ_SUPPORTED
163 "Can't set both read_data_fn and write_data_fn in the"
#define PNG_UNUSED(param)
Definition: pngpriv.h:438
void PNGCBAPI png_default_flush(png_structp png_ptr)
Definition: pngwio.c:79
uint8_t data[8]
Definition: masstorage.h:49
png_byte * png_bytep
Definition: pngconf.h:579
#define png_voidcast(type, value)
Definition: pngpriv.h:494
#define NULL
Definition: usbd_def.h:53
png_structrp png_ptr
Definition: png.h:1083
void PNGCBAPI png_default_write_data(png_structp png_ptr, png_bytep data, size_t length)
Definition: pngwio.c:51
else png_error(png_ptr, "png_image_write_to_memory: PNG too big")
#define png_constcast(type, value)
Definition: pngpriv.h:504
png_uint_32 length
Definition: png.c:2247
void PNGAPI png_warning(png_const_structrp png_ptr, png_const_charp warning_message)
Definition: pngerror.c:216