Prusa MINI Firmware overview
|
◆ png_read_data()
◆ png_default_read_data()
◆ png_set_read_fn()
95 #ifdef PNG_STDIO_SUPPORTED
96 if (read_data_fn !=
NULL)
97 png_ptr->read_data_fn = read_data_fn;
102 png_ptr->read_data_fn = read_data_fn;
105 #ifdef PNG_WRITE_SUPPORTED
111 "Can't set both read_data_fn and write_data_fn in the"
116 #ifdef PNG_WRITE_FLUSH_SUPPORTED
uint8_t data[8]
Definition: masstorage.h:49
#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_read_data(png_structp png_ptr, png_bytep data, size_t length)
Definition: pngrio.c:50
else png_error(png_ptr, "png_image_write_to_memory: PNG too big")
#define png_debug1(l, m, p1)
Definition: pngdebug.h:148
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