Prusa MINI Firmware overview
|
Go to the documentation of this file.
44 #if HTTPD_PRECALCULATED_CHECKSUM
46 const struct fsdata_chksum *chksum;
#define Z_MEM_ERROR
Definition: zlib.h:183
#define PNG_BGR
Definition: pngpriv.h:642
png_uint_32 width
Definition: png.h:2675
void PNGAPI png_set_tRNS(png_structrp png_ptr, png_inforp info_ptr, png_const_bytep trans_alpha, int num_trans, png_const_color_16p trans_color)
Definition: pngset.c:994
#define sys_mbox_valid_val(mbox)
Definition: sys.h:311
#define PNG_MNG_FEATURES_SUPPORTED
Definition: pnglibconf.h:44
static int png_image_write_memory(png_voidp argument)
Definition: pngwrite.c:2200
err_t tcpip_callback_with_block(tcpip_callback_fn function, void *ctx, u8_t block)
Definition: tcpip.c:234
png_uint_32 colormap_entries
Definition: png.h:2679
#define TCPIP_MSG_VAR_DECLARE(name)
Definition: tcpip.c:54
void * pextension
Definition: fs.h:60
#define FS_ROOT
Definition: fsdata.c:296
const typedef png_byte * png_const_bytep
Definition: pngconf.h:580
void PNGAPI png_write_image(png_structrp png_ptr, png_bytepp image)
Definition: pngwrite.c:601
sys_sem_t * sem
Definition: tcpip_priv.h:133
#define PNG_FLAG_MNG_EMPTY_PLTE
Definition: png.h:857
#define LWIP_SOCKET_OFFSET
Definition: opt.h:1770
#define PNG_AFTER_IDAT
Definition: png.h:646
void sys_mbox_free(sys_mbox_t *mbox)
Definition: sys_arch.c:74
#define PNG_FLAG_ZLIB_CUSTOM_STRATEGY
Definition: pngpriv.h:679
#define API_EXPR_DEREF(expr)
Definition: tcpip_priv.h:90
#define ip_addr_cmp(addr1, addr2)
Definition: ip_addr.h:316
png_alloc_size_t input_len
Definition: pngwutil.c:472
u16_t len
Definition: pbuf.h:159
int PNGAPI png_image_write_to_file(png_imagep image, const char *file_name, int convert_to_8bit, const void *buffer, png_int_32 row_stride, const void *colormap)
Definition: pngwrite.c:2332
#define png_sCAL
Definition: pngpriv.h:867
int png_safe_execute(png_imagep image_in, int(*function)(png_voidp), png_voidp arg)
Definition: pngerror.c:936
#define PNG_TEXT_COMPRESSION_zTXt
Definition: png.h:589
#define SYS_ARCH_UNPROTECT(lev)
Definition: sys.h:403
osSemaphoreId sys_mutex_t
Definition: sys_arch.h:42
int len
Definition: fs.h:58
const typedef png_fixed_point * png_const_fixed_point_p
Definition: pngconf.h:592
void * memp_malloc(memp_t type)
Definition: memp.c:385
#define PNG_FILLER_AFTER
Definition: png.h:1249
#define SYS_ARCH_DEC(var, val)
Definition: sys.h:424
int16_t s16_t
Definition: arch.h:122
void PNGAPI png_convert_from_time_t(png_timep ptime, time_t ttime)
Definition: pngwrite.c:485
png_voidp local_row
Definition: pngwrite.c:1520
#define sys_mbox_tryfetch(mbox, msg)
Definition: sys.h:285
#define PNG_UNUSED(param)
Definition: pngpriv.h:438
#define PNG_sRGB_FROM_LINEAR(linear)
Definition: pngpriv.h:952
#define IP_IS_V4(ipaddr)
Definition: ip_addr.h:295
void png_write_find_filter(png_structrp png_ptr, png_row_infop row_info)
Definition: pngwutil.c:2550
#define HTTPD_PRECALCULATED_CHECKSUM
Definition: httpd_opts.h:302
#define DNS_DEBUG
Definition: opt.h:2842
png_uint_32 output_len
Definition: pngwutil.c:473
void lwip_init(void)
Definition: init.c:337
#define LWIP_TCPIP_THREAD_ALIVE()
Definition: opt.h:1574
u8_t flags
Definition: fs.h:65
#define PNG_OFFSET_LAST
Definition: png.h:694
bool error
Definition: auto_build.py:637
#define IP_IS_V6_VAL(ipaddr)
Definition: ip_addr.h:294
#define DEFAULT_RAW_RECVMBOX_SIZE
Definition: opt.h:1633
static png_byte png_unpremultiply(png_uint_32 component, png_uint_32 alpha, png_uint_32 reciprocal)
Definition: pngwrite.c:1646
#define TCPIP_DEBUG
Definition: opt.h:2814
#define png_eXIf
Definition: pngpriv.h:854
void PNGCBAPI png_default_flush(png_structp png_ptr)
Definition: pngwio.c:79
png_const_voidp buffer
Definition: pngwrite.c:1513
ip4_addr_t ipaddr
Definition: lwip.c:73
#define LWIP_ASSERT(message, assertion)
Definition: debug.h:116
png_byte second
Definition: png.h:607
static const png_byte onebppswaptable[256]
Definition: pngtrans.c:348
void PNGAPI png_set_sRGB(png_const_structrp png_ptr, png_inforp info_ptr, int srgb_intent)
Definition: pngset.c:653
#define PNG_INVERT_ALPHA
Definition: pngpriv.h:661
void PNGAPI png_set_filter_heuristics(png_structrp png_ptr, int heuristic_method, int num_weights, png_const_doublep filter_weights, png_const_doublep filter_costs)
Definition: pngwrite.c:1133
#define ip_addr_set_zero(ipaddr)
Definition: ip_addr.h:309
void png_write_gAMA_fixed(png_structrp png_ptr, png_fixed_point file_gamma)
Definition: pngwutil.c:1084
#define PNG_INFO_tIME
Definition: png.h:741
#define PNG_PADBITS(pixel_bits, width)
Definition: pngpriv.h:758
void png_write_tEXt(png_structrp png_ptr, png_const_charp key, png_const_charp text, size_t text_len)
Definition: pngwutil.c:1530
#define png_tRNS
Definition: pngpriv.h:873
int ZEXPORT deflateEnd(z_streamp strm)
Definition: deflate.c:1076
#define PNG_UINT_31_MAX
Definition: png.h:649
#define PNG_HAVE_PLTE
Definition: png.h:645
void memp_free(memp_t type, void *mem)
Definition: memp.c:469
void PNGAPI png_set_compression_level(png_structrp png_ptr, int level)
Definition: pngwrite.c:1162
png_byte PNGAPI png_get_current_pass_number(png_const_structrp png_ptr)
Definition: pngtrans.c:856
int err_to_errno(err_t err)
Definition: err.c:69
void * png_voidp
Definition: pngconf.h:577
png_structrp int int png_const_fixed_point_p filter_weights
Definition: png.h:1488
#define API_MSG_DEBUG
Definition: opt.h:2659
Definition: tcpip_priv.h:114
#define PNG_INFO_tRNS
Definition: png.h:736
#define TCP_SNDQUEUELOWAT
Definition: opt.h:1230
u8_t flags
Definition: fsdata.h:43
#define ip_current_dest_addr()
Definition: ip.h:212
Definition: tcpip_priv.h:97
#define ERR_IS_FATAL(e)
Definition: err.h:99
void PNGAPI png_set_PLTE(png_structrp png_ptr, png_inforp info_ptr, png_const_colorp palette, int num_palette)
Definition: pngset.c:572
Definition: pngwutil.c:469
#define PNG_FLAG_APP_WARNINGS_WARN
Definition: pngpriv.h:700
#define png_PLTE
Definition: pngpriv.h:851
static int png_image_write_main(png_voidp argument)
Definition: pngwrite.c:1934
void PNGAPI png_free(png_const_structrp png_ptr, png_voidp ptr)
Definition: pngmem.c:232
#define png_zTXt
Definition: pngpriv.h:874
#define PNG_FILTER_AVG
Definition: png.h:1468
#define png_iTXt
Definition: pngpriv.h:862
#define PNG_INFO_pCAL
Definition: png.h:742
#define PNGCBAPI
Definition: pngconf.h:258
#define PNG_INFO_oFFs
Definition: png.h:740
void PNGAPI png_set_swap_alpha(png_structrp png_ptr)
Definition: pngtrans.c:223
#define FS_READ_EOF
Definition: fs.h:42
void png_write_oFFs(png_structrp png_ptr, png_int_32 x_offset, png_int_32 y_offset, int unit_type)
Definition: pngwutil.c:1724
uint16_t u16_t
Definition: arch.h:121
png_const_structrp png_const_inforp int * unit
Definition: png.h:2161
#define PNG_IMAGE_VERSION
Definition: png.h:2668
void PNGAPI png_write_info(png_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngwrite.c:192
const unsigned char * data
Definition: fsdata.h:41
#define LWIP_ARRAYSIZE(x)
Definition: def.h:58
err_t fs_open(struct fs_file *file, const char *name)
Definition: fs.c:62
err_t sys_mbox_new(sys_mbox_t *mbox, int size)
Definition: sys_arch.c:50
int PNGAPI png_image_write_to_stdio(png_imagep image, FILE *file, int convert_to_8bit, const void *buffer, png_int_32 row_stride, const void *colormap)
Definition: pngwrite.c:2283
void PNGAPI png_set_flush(png_structrp png_ptr, int nrows)
Definition: pngwrite.c:908
char * png_charp
Definition: pngconf.h:589
#define ip_addr_set_loopback(is_ipv6, ipaddr)
Definition: ip_addr.h:312
#define ip_addr_set(dest, src)
Definition: ip_addr.h:307
#define PNG_IO_CHUNK_CRC
Definition: png.h:2428
#define DEFAULT_TCP_RECVMBOX_SIZE
Definition: opt.h:1651
#define PNG_TRANSFORM_INVERT_MONO
Definition: png.h:838
static sys_mbox_t mbox
Definition: tcpip.c:61
png_const_bytep input
Definition: pngwutil.c:471
#define pd
Definition: screen_filebrowser.cpp:39
int PNGAPI png_set_interlace_handling(png_structrp png_ptr)
Definition: pngtrans.c:99
err_t err
Definition: tcpip_priv.h:100
png_uint_32 flags
Definition: png.h:2678
static void png_do_shift(png_row_infop row_info, png_bytep row, png_const_color_8p bit_depth)
Definition: pngwtran.c:172
#define LWIP_IPV6
Definition: opt.h:2153
#define IP_IS_ANY_TYPE_VAL(ipaddr)
Definition: ip_addr.h:297
#define PNG_INTERLACE_NONE
Definition: png.h:687
#define ip_addr_isany(ipaddr)
Definition: ip_addr.h:317
u16_t tot_len
Definition: pbuf.h:156
static void * tcpip_init_done_arg
Definition: tcpip.c:60
const struct fsdata_file * next
Definition: fsdata.h:39
png_info *PNG_RESTRICT png_inforp
Definition: png.h:471
void tcpip_init(tcpip_init_done_fn initfunc, void *arg)
Definition: tcpip.c:462
uint8_t type
Definition: UsbCore.h:184
png_byte ** png_bytepp
Definition: pngconf.h:606
#define NETIF_FLAG_ETHARP
Definition: netif.h:91
#define IP_ANY_TYPE
Definition: ip_addr.h:400
#define UNLOCK_TCPIP_CORE()
Definition: tcpip.h:61
png_uint_32 PNGAPI png_get_current_row_number(png_const_structrp png_ptr)
Definition: pngtrans.c:844
#define Z_FINISH
Definition: zlib.h:172
#define abs(x)
Definition: wiring_constants.h:32
void fs_close_custom(struct fs_file *file)
Definition: fs_custom.c:32
static void png_do_write_invert_alpha(png_row_infop row_info, png_bytep row)
Definition: pngwtran.c:404
#define PNG_FLAG_ROW_INIT
Definition: pngpriv.h:685
#define Z_STREAM_ERROR
Definition: zlib.h:181
#define PNG_IS_READ_STRUCT
Definition: pngpriv.h:639
uint8_t data[8]
Definition: masstorage.h:49
uint32_t u32_t
Definition: arch.h:123
#define PNG_EQUATION_LAST
Definition: png.h:701
static const png_byte twobppswaptable[256]
Definition: pngtrans.c:383
#define PNG_UINT_32_MAX
Definition: png.h:650
void png_write_start_row(png_structrp png_ptr)
Definition: pngwutil.c:1890
png_byte * png_bytep
Definition: pngconf.h:579
void PNGAPI png_set_text_compression_method(png_structrp png_ptr, int method)
Definition: pngwrite.c:1305
uint8_t i
Definition: screen_test_graph.c:72
err_t mem_free_callback(void *m)
Definition: tcpip.c:513
u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout)
Definition: sys_arch.c:251
static const unsigned int dummy_align__img_sics_gif
Definition: fsdata.c:9
#define PNG_PASS_COLS(width, pass)
Definition: png.h:2468
#define SYS_ARCH_INC(var, val)
Definition: sys.h:415
u16_t inet_chksum_pbuf(struct pbuf *p)
Definition: inet_chksum.c:568
#define PNG_INVERT_MONO
Definition: pngpriv.h:647
void PNGAPI png_write_row(png_structrp png_ptr, png_const_bytep row)
Definition: pngwrite.c:698
void png_flush(png_structrp png_ptr)
Definition: pngwio.c:71
#define PNG_INFO_PLTE
Definition: png.h:735
static int png_text_compress(png_structrp png_ptr, png_uint_32 chunk_name, compression_state *comp, png_uint_32 prefix_len)
Definition: pngwutil.c:488
static png_alloc_size_t png_image_size(png_structrp png_ptr)
Definition: pngwutil.c:204
static volatile fsensor_t state
Definition: filament_sensor.c:23
u8_t pbuf_free(struct pbuf *p)
Definition: pbuf.c:715
#define API_VAR_FREE(pool, name)
Definition: tcpip_priv.h:86
static void png_image_set_PLTE(png_image_write_control *display)
Definition: pngwrite.c:1788
static const unsigned char data__404_html[]
Definition: fsdata.c:79
void png_write_cHRM_fixed(png_structrp png_ptr, const png_xy *xy)
Definition: pngwutil.c:1322
void PNGAPI png_set_shift(png_structrp png_ptr, png_const_color_8p true_bits)
Definition: pngtrans.c:84
static int png_deflate_claim(png_structrp png_ptr, png_uint_32 owner, png_alloc_size_t data_size)
Definition: pngwutil.c:292
const typedef png_struct *PNG_RESTRICT png_const_structrp
Definition: png.h:470
sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg, int stacksize, int prio)
Definition: sys_arch.c:376
#define SYS_ARCH_PROTECT(lev)
Definition: sys.h:402
void PNGAPI png_set_invert_mono(png_structrp png_ptr)
Definition: pngtrans.c:250
const typedef png_color * png_const_colorp
Definition: png.h:485
err_t pbuf_free_callback(struct pbuf *p)
Definition: tcpip.c:500
PNG_FUNCTION(png_structp, PNGAPI png_create_write_struct,(png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn), PNG_ALLOCATED)
Definition: pngwrite.c:497
#define PNG_FORMAT_FLAG_AFIRST
Definition: png.h:2787
#define SOCKETS_DEBUG
Definition: opt.h:2666
#define PNG_FORMAT_FLAG_BGR
Definition: png.h:2783
#define PNG_COLOR_TYPE_RGB_ALPHA
Definition: png.h:671
#define MEM_ALIGNMENT
Definition: opt.h:248
unsigned int for_write
Definition: pngpriv.h:2044
#define PNG_WRITE_INTERLACING_SUPPORTED
Definition: pnglibconf.h:138
err_t(* netif_input_fn)(struct pbuf *p, struct netif *inp)
Definition: netif.h:162
void PNGAPI png_set_write_fn(png_structrp png_ptr, png_voidp io_ptr, png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn)
Definition: pngwio.c:122
#define PNG_IMAGE_FLAG_COLORSPACE_NOT_sRGB
Definition: png.h:2937
png_const_structrp png_const_inforp int png_fixed_point * width
Definition: png.h:2161
#define PNG_FILTER_TYPE_BASE
Definition: png.h:682
#define PNG_NO_FILTERS
Definition: png.h:1464
void png_free_buffer_list(png_structrp png_ptr, png_compression_bufferp *listp)
Definition: pngwutil.c:439
void PNGAPI png_write_chunk_start(png_structrp png_ptr, png_const_bytep chunk_string, png_uint_32 length)
Definition: pngwutil.c:115
#define png_debug2(l, m, p1, p2)
Definition: pngdebug.h:151
static void png_setup_sub_row_only(png_structrp png_ptr, png_uint_32 bpp, size_t row_bytes)
Definition: pngwutil.c:2318
void PNGAPI png_set_write_user_transform_fn(png_structrp png_ptr, png_user_transform_ptr write_user_transform_fn)
Definition: pngwrite.c:1331
#define PNG_SIZE_MAX
Definition: png.h:651
#define PNG_GAMMA_LINEAR
Definition: png.h:1150
static void png_setup_avg_row_only(png_structrp png_ptr, png_uint_32 bpp, size_t row_bytes)
Definition: pngwutil.c:2423
#define png_iCCP
Definition: pngpriv.h:861
const typedef png_sPLT_t * png_const_sPLT_tp
Definition: png.h:541
#define png_tEXt
Definition: pngpriv.h:871
void PNGAPI png_destroy_write_struct(png_structpp png_ptr_ptr, png_infopp info_ptr_ptr)
Definition: pngwrite.c:983
#define S32_F
Definition: arch.h:155
#define PNG_INTRAPIXEL_DIFFERENCING
Definition: png.h:683
void png_write_iTXt(png_structrp png_ptr, int compression, png_const_charp key, png_const_charp lang, png_const_charp lang_key, png_const_charp text)
Definition: pngwutil.c:1624
#define png_voidcast(type, value)
Definition: pngpriv.h:494
const typedef png_unknown_chunk * png_const_unknown_chunkp
Definition: png.h:639
#define PNG_IO_SIGNATURE
Definition: png.h:2425
#define TCP_SNDLOWAT
Definition: opt.h:1221
#define NULL
Definition: usbd_def.h:53
png_uint_32 width
Definition: png.h:756
#define LWIP_MIN(x, y)
Definition: def.h:55
ip4_addr_t gw
Definition: lwip.c:75
#define png_IEND
Definition: pngpriv.h:849
png_structrp png_ptr
Definition: png.h:1083
#define PNG_FORMAT_FLAG_LINEAR
Definition: png.h:2779
#define png_sPLT
Definition: pngpriv.h:868
#define ip_addr_isany_val(ipaddr)
Definition: ip_addr.h:318
#define PNG_IO_WRITING
Definition: png.h:2424
#define PNG_Z_DEFAULT_STRATEGY
Definition: pnglibconf.h:215
#define PNG_ALLOCATED
Definition: pngconf.h:439
#define PNG_COLOR_TYPE_RGB
Definition: png.h:670
void sys_mbox_post(sys_mbox_t *mbox, void *msg)
Definition: sys_arch.c:96
png_const_structrp png_const_inforp info_ptr
Definition: png.h:1939
void PNGAPI png_save_int_32(png_bytep buf, png_int_32 i)
Definition: png.c:726
int sys_mbox_valid(sys_mbox_t *mbox)
Definition: sys_arch.c:190
#define PNG_FLAG_MNG_FILTER_64
Definition: png.h:858
void PNGAPI png_set_text_compression_mem_level(png_structrp png_ptr, int mem_level)
Definition: pngwrite.c:1259
png_uint_16 year
Definition: png.h:602
#define PNG_INFO_gAMA
Definition: png.h:732
void * msg
Definition: tcpip_priv.h:128
#define PNG_TRANSFORM_PACKSWAP
Definition: png.h:836
end
Definition: createSpeedLookupTable.py:33
png_byte month
Definition: png.h:603
#define PNG_INFO_bKGD
Definition: png.h:737
u8_t flags
Definition: pbuf.h:165
#define PNG_FORMAT_FLAG_COLOR
Definition: png.h:2778
void png_do_invert(png_row_infop row_info, png_bytep row)
Definition: pngtrans.c:262
ptrdiff_t row_bytes
Definition: pngwrite.c:1519
#define PNG_SWAP_BYTES
Definition: pngpriv.h:646
void png_do_check_palette_indexes(png_structrp png_ptr, png_row_infop row_info)
Definition: pngtrans.c:699
#define PNG_TEXT_Z_DEFAULT_COMPRESSION
Definition: pnglibconf.h:205
#define pw
Definition: screen_home.cpp:76
void png_do_bgr(png_row_infop row_info, png_bytep row)
Definition: pngtrans.c:619
#define ip_addr_debug_print(debug, ipaddr)
Definition: ip_addr.h:323
void png_write_IEND(png_structrp png_ptr)
Definition: pngwutil.c:1073
void(* tcpip_init_done_fn)(void *arg)
Definition: tcpip.h:68
int len
Definition: fsdata.h:42
unsigned int png_uint_32
Definition: pngconf.h:511
static int png_image_write_init(png_imagep image)
Definition: pngwrite.c:1472
sys_sem_t sem
Definition: tcpip_priv.h:102
#define PNG_INFO_eXIf
Definition: png.h:748
void PNGAPI png_image_free(png_imagep image)
Definition: png.c:4582
void png_write_PLTE(png_structrp png_ptr, png_const_colorp palette, png_uint_32 num_pal)
Definition: pngwutil.c:842
#define PNG_TEXT_COMPRESSION_NONE
Definition: png.h:588
#define PNGAPI
Definition: pngconf.h:261
void PNGAPI png_write_png(png_structrp png_ptr, png_inforp info_ptr, int transforms, voidp params)
Definition: pngwrite.c:1347
osMessageQId sys_mbox_t
Definition: sys_arch.h:43
png_uint_16(PNGAPI png_get_uint_16)(png_const_bytep buf)
Definition: pngrutil.c:102
void png_write_tRNS(png_structrp png_ptr, png_const_bytep trans_alpha, png_const_color_16p tran, int num_trans, int color_type)
Definition: pngwutil.c:1348
#define SYS_ARCH_SET(var, val)
Definition: sys.h:442
void sys_mbox_set_invalid(sys_mbox_t *mbox)
Definition: sys_arch.c:198
osSemaphoreId sys_sem_t
Definition: sys_arch.h:41
static int close(struct _reent *_r, void *pv)
Definition: gcode_file.cpp:21
u16_t pbuf_copy_partial(const struct pbuf *buf, void *dataptr, u16_t len, u16_t offset)
Definition: pbuf.c:1015
void png_write_sBIT(png_structrp png_ptr, png_const_color_8p sbit, int color_type)
Definition: pngwutil.c:1263
#define DNS_MAX_NAME_LENGTH
Definition: opt.h:1021
#define PNG_MAX_PALETTE_LENGTH
Definition: png.h:725
void png_write_data(png_structrp png_ptr, png_const_bytep data, size_t length)
Definition: pngwio.c:33
const typedef png_uint_16 * png_const_uint_16p
Definition: pngconf.h:586
#define PNG_HAVE_IHDR
Definition: png.h:644
#define PNG_PACKSWAP
Definition: pngpriv.h:658
#define TCPIP_MSG_VAR_REF(name)
Definition: tcpip.c:53
#define PNG_FORMAT_FLAG_COLORMAP
Definition: png.h:2780
Definition: pngwrite.c:1509
#define PNG_HAVE_IDAT
Definition: pngpriv.h:626
#define LWIP_ERROR(message, expression, handler)
Definition: debug.h:135
static void png_write_filtered_row(png_structrp png_ptr, png_bytep filtered_row, size_t row_bytes)
Definition: pngwutil.c:2747
#define Z_NO_FLUSH
Definition: zlib.h:168
png_structrp int png_fixed_point red
Definition: png.h:1083
#define PNG_ITXT_COMPRESSION_zTXt
Definition: png.h:591
void fs_close(struct fs_file *file)
Definition: fs.c:101
u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout)
Definition: sys_arch.c:141
#define PNGZ_MSG_CAST(s)
Definition: pngstruct.h:40
void PNGAPI png_set_add_alpha(png_structrp png_ptr, png_uint_32 filler, int filler_loc)
Definition: pngtrans.c:205
void PNGFAPI png_set_cHRM_fixed(png_const_structrp png_ptr, png_inforp info_ptr, png_fixed_point white_x, png_fixed_point white_y, png_fixed_point red_x, png_fixed_point red_y, png_fixed_point green_x, png_fixed_point green_y, png_fixed_point blue_x, png_fixed_point blue_y)
Definition: pngset.c:40
struct pbuf * pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type)
Definition: pbuf.c:248
#define PNG_TEXT_Z_DEFAULT_STRATEGY
Definition: pnglibconf.h:206
#define UNP_RECIPROCAL(alpha)
Definition: pngwrite.c:1643
static png_bytep data
Definition: pngwrite.c:2169
void PNGCBAPI png_default_write_data(png_structp png_ptr, png_bytep data, size_t length)
Definition: pngwio.c:51
void PNGAPI png_set_user_transform_info(png_structrp png_ptr, png_voidp user_transform_ptr, int user_transform_depth, int user_transform_channels)
Definition: pngtrans.c:802
png_uint_32 version
Definition: png.h:2674
void png_write_sPLT(png_structrp png_ptr, png_const_sPLT_tp spalette)
Definition: pngwutil.c:1179
#define TCPIP_MBOX_FETCH(mbox, msg)
Definition: tcpip.c:73
static const unsigned int dummy_align__404_html
Definition: fsdata.c:78
#define PNG_IMAGE_PIXEL_CHANNELS(fmt)
Definition: png.h:2881
static const unsigned char data__index_html[]
Definition: fsdata.c:138
png_byte channels
Definition: png.h:760
void png_calculate_crc(png_structrp png_ptr, png_const_bytep ptr, size_t length)
Definition: png.c:139
int32_t s32_t
Definition: arch.h:124
#define PNG_TRANSFORM_INVERT_ALPHA
Definition: png.h:843
static int png_write_image_8bit(png_voidp argument)
Definition: pngwrite.c:1691
#define LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT
Definition: opt.h:1831
#define PNG_TEXT_COMPRESSION_NONE_WR
Definition: png.h:586
uint8_t u8_t
Definition: arch.h:119
int fs_open_custom(struct fs_file *file, const char *name)
Definition: fs_custom.c:13
ip4_addr_t netmask
Definition: lwip.c:74
#define ZLIB_IO_MAX
Definition: pngstruct.h:56
png_uint_32 png_check_keyword(png_structrp png_ptr, png_const_charp key, png_bytep new_key)
Definition: pngset.c:1726
#define PNG_COLOR_TYPE_GRAY
Definition: png.h:668
png_byte color_type
Definition: png.h:758
#define PNG_INFO_sRGB
Definition: png.h:743
void PNGAPI png_benign_error(png_const_structrp png_ptr, png_const_charp error_message)
Definition: pngerror.c:362
#define PNG_HANDLE_CHUNK_ALWAYS
Definition: png.h:2348
#define PNG_HANDLE_CHUNK_NEVER
Definition: png.h:2346
png_byte blue
Definition: png.h:482
#define PNG_FILTER_NONE
Definition: png.h:1465
#define TCPIP_MSG_VAR_ALLOC(name)
Definition: tcpip.c:55
ip6_addr_t ip_addr_t
Definition: ip_addr.h:290
#define PNG_IMAGE_FLAG_FAST
Definition: png.h:2942
static const unsigned char data__img_sics_gif[]
Definition: fsdata.c:10
#define IP6_NEXTH_ICMP6
Definition: ip6.h:70
#define png_debug(l, m)
Definition: pngdebug.h:145
#define PNG_TRANSFORM_PACKING
Definition: png.h:835
#define ipaddr_aton(cp, addr)
Definition: ip_addr.h:327
void PNGAPI png_set_IHDR(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type)
Definition: pngset.c:254
const typedef png_info *PNG_RESTRICT png_const_inforp
Definition: png.h:472
u32_t sys_now(void)
Returns the current time in milliseconds when LWIP_TIMERS == 1 and NO_SYS == 1.
Definition: ethernetif.c:616
#define PBUF_FLAG_PUSH
Definition: pbuf.h:128
#define ip_addr_set_any(is_ipv6, ipaddr)
Definition: ip_addr.h:311
#define API_VAR_ALLOC(type, pool, name, errorval)
Definition: tcpip_priv.h:84
#define PNG_TRANSFORM_STRIP_FILLER_BEFORE
Definition: png.h:846
png_byte green
Definition: png.h:481
err_t tcpip_input(struct pbuf *p, struct netif *inp)
Definition: tcpip.c:212
void png_write_hIST(png_structrp png_ptr, png_const_uint_16p hist, int num_hist)
Definition: pngwutil.c:1499
#define PNG_POINTER_INDEXING_SUPPORTED
Definition: pnglibconf.h:45
#define PNG_ITXT_COMPRESSION_NONE
Definition: png.h:590
png_const_voidp colormap
Definition: pngwrite.c:1515
#define PNG_INTERLACE
Definition: pngpriv.h:643
#define API_EXPR_REF(expr)
Definition: tcpip_priv.h:88
Byte * voidp
Definition: zconf.h:414
void png_write_finish_row(png_structrp png_ptr)
Definition: pngwutil.c:2005
static void tcpip_thread(void *arg)
Definition: tcpip.c:87
void PNGAPI png_set_text_compression_window_bits(png_structrp png_ptr, int window_bits)
Definition: pngwrite.c:1284
#define PNG_CHUNK_FROM_STRING(s)
Definition: pngpriv.h:879
void PNGAPI png_set_invert_alpha(png_structrp png_ptr)
Definition: pngtrans.c:237
#define png_IDAT
Definition: pngpriv.h:848
#define ip_current_src_addr()
Definition: ip.h:210
#define TCPIP_MBOX_SIZE
Definition: opt.h:1566
void PNGAPI png_write_end(png_structrp png_ptr, png_inforp info_ptr)
Definition: pngwrite.c:358
#define PNG_FILLER
Definition: pngpriv.h:657
void
Definition: png.h:1083
#define PNG_TRANSFORM_STRIP_FILLER_AFTER
Definition: png.h:847
static void png_write_destroy(png_structrp png_ptr)
Definition: pngwrite.c:939
void PNGAPI png_write_chunk_data(png_structrp png_ptr, png_const_bytep data, size_t length)
Definition: pngwutil.c:127
#define png_get_uint_16(buf)
Definition: png.h:2599
png_int_32 png_fixed_point
Definition: pngconf.h:574
void PNGAPI png_set_compression_mem_level(png_structrp png_ptr, int mem_level)
Definition: pngwrite.c:1173
#define LWIP_MAX(x, y)
Definition: def.h:54
#define ip_2_ip6(ipaddr)
Definition: ip_addr.h:301
#define PNG_sRGB_INTENT_PERCEPTUAL
Definition: png.h:715
netif_input_fn input_fn
Definition: tcpip_priv.h:138
static const unsigned int dummy_align__index_html
Definition: fsdata.c:137
void PNGAPI png_set_compression_method(png_structrp png_ptr, int method)
Definition: pngwrite.c:1228
const typedef char * png_const_charp
Definition: pngconf.h:590
#define PNG_COMPRESSION_TYPE_BASE
Definition: png.h:678
png_alloc_size_t output_bytes
Definition: pngwrite.c:1524
void png_write_bKGD(png_structrp png_ptr, png_const_color_16p back, int color_type)
Definition: pngwutil.c:1414
#define Z_OK
Definition: zlib.h:177
int png_image_error(png_imagep image, png_const_charp error_message)
Definition: png.c:4598
#define PNG_FILTER_VALUE_NONE
Definition: png.h:1476
#define png_IHDR
Definition: pngpriv.h:850
err_t pbuf_copy(struct pbuf *p_to, const struct pbuf *p_from)
Definition: pbuf.c:948
#define LWIP_MPU_COMPATIBLE
Definition: opt.h:169
size_t PNGAPI png_get_rowbytes(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:30
static const png_byte fourbppswaptable[256]
Definition: pngtrans.c:418
const struct fsdata_file file__index_html[]
Definition: fsdata.c:288
int index
Definition: fs.h:59
png_structrp int int num_weights
Definition: png.h:1488
#define LWIP_UNUSED_ARG(x)
Definition: arch.h:308
#define DEFAULT_ACCEPTMBOX_SIZE
Definition: opt.h:1660
#define png_cHRM
Definition: pngpriv.h:853
#define Z_SYNC_FLUSH
Definition: zlib.h:170
png_struct *PNG_RESTRICT png_structrp
Definition: png.h:469
void PNGAPI png_set_compression_strategy(png_structrp png_ptr, int strategy)
Definition: pngwrite.c:1184
void png_write_IHDR(png_structrp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int compression_type, int filter_type, int interlace_type)
Definition: pngwutil.c:672
static void png_do_write_swap_alpha(png_row_infop row_info, png_bytep row)
Definition: pngwtran.c:310
#define ip_addr_debug_print_val(debug, ipaddr)
Definition: ip_addr.h:324
#define PNG_FILTER_UP
Definition: png.h:1467
static void png_setup_paeth_row_only(png_structrp png_ptr, png_uint_32 bpp, size_t row_bytes)
Definition: pngwutil.c:2506
err_t tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn)
Definition: tcpip.c:169
int convert_to_8bit
Definition: pngwrite.c:1516
void png_write_zTXt(png_structrp png_ptr, png_const_charp key, png_const_charp text, int compression)
Definition: pngwutil.c:1573
const char * data
Definition: fs.h:57
Definition: pngpriv.h:2035
void PNGAPI png_set_benign_errors(png_structrp png_ptr, int allowed)
Definition: pngset.c:1671
png_uint_32 format
Definition: png.h:2677
#define PNG_INFO_sCAL
Definition: png.h:746
#define PNG_FILTER_VALUE_AVG
Definition: png.h:1479
#define PNG_HANDLE_CHUNK_AS_DEFAULT
Definition: png.h:2345
u16_t lwip_htons(u16_t n)
Definition: def.c:76
void sys_sem_signal(sys_sem_t *sem)
Definition: sys_arch.c:275
if(size<=((png_alloc_size_t) -1) - ob)
Definition: pngwrite.c:2176
void png_write_sCAL_s(png_structrp png_ptr, int unit, png_const_charp width, png_const_charp height)
Definition: pngwutil.c:1809
static void png_text_compress_init(compression_state *comp, png_const_bytep input, png_alloc_size_t input_len)
Definition: pngwutil.c:478
struct tcpip_msg::@61::@64 inp
list a
Definition: createSpeedLookupTable.py:29
int8_t s8_t
Definition: arch.h:120
#define IP_IS_V4_VAL(ipaddr)
Definition: ip_addr.h:293
#define LWIP_MEM_ALIGN(addr)
Definition: arch.h:229
void png_write_pCAL(png_structrp png_ptr, png_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams, png_const_charp units, png_charpp params)
Definition: pngwutil.c:1744
#define PNG_FILTER_VALUE_PAETH
Definition: png.h:1480
#define L(CODE)
Definition: macros.h:76
#define PNG_HAVE_IEND
Definition: pngpriv.h:628
void png_zstream_error(png_structrp png_ptr, int ret)
Definition: png.c:998
#define png_get_uint_32(buf)
Definition: png.h:2598
err_t sys_mutex_new(sys_mutex_t *mutex)
Definition: sys_arch.c:319
void PNGAPI png_set_packswap(png_structrp png_ptr)
Definition: pngtrans.c:70
void pbuf_cat(struct pbuf *h, struct pbuf *t)
Definition: pbuf.c:840
#define PNG_FILTER_PAETH
Definition: png.h:1469
#define PNG_PASS_ROWS(height, pass)
Definition: png.h:2466
#define PNG_FILTER_VALUE_UP
Definition: png.h:1478
#define Z_STREAM_END
Definition: zlib.h:178
void PNGAPI png_save_uint_16(png_bytep buf, unsigned int i)
Definition: pngwutil.c:37
png_byte pixel_depth
Definition: png.h:761
void PNGAPI png_set_filler(png_structrp png_ptr, png_uint_32 filler, int filler_loc)
Definition: pngtrans.c:120
#define PNG_INTERLACE_ADAM7
Definition: png.h:688
#define IP_SET_TYPE(ipaddr, iptype)
Definition: ip_addr.h:299
void png_reset_crc(png_structrp png_ptr)
Definition: png.c:127
#define PNG_IMAGE_SAMPLE_CHANNELS(fmt)
Definition: png.h:2845
#define PNG_TRANSFORM_BGR
Definition: png.h:840
#define PNG_INFO_sPLT
Definition: png.h:745
#define PNG_ADD_ALPHA
Definition: pngpriv.h:667
void png_do_swap(png_row_infop row_info, png_bytep row)
Definition: pngtrans.c:319
#define PNG_FILLER_BEFORE
Definition: png.h:1248
#define MEMCPY(dst, src, len)
Definition: opt.h:137
#define local
Definition: gzguts.h:115
#define U16_F
Definition: arch.h:143
#define PNG_IO_CHUNK_DATA
Definition: png.h:2427
#define Z_DEFAULT_STRATEGY
Definition: zlib.h:200
void PNGAPI png_set_text_compression_level(png_structrp png_ptr, int level)
Definition: pngwrite.c:1248
Definition: pngstruct.h:143
char ** png_charpp
Definition: pngconf.h:612
Definition: tcpip_priv.h:120
Definition: tcpip_priv.h:123
void png_write_iCCP(png_structrp png_ptr, png_const_charp name, png_const_bytep profile)
Definition: pngwutil.c:1117
display_t * display
Definition: display.c:6
const typedef void * png_const_voidp
Definition: pngconf.h:578
const struct fsdata_file file__404_html[]
Definition: fsdata.c:280
#define TCP_DEFAULT_LISTEN_BACKLOG
Definition: opt.h:1262
void PNGAPI png_set_text_compression_strategy(png_structrp png_ptr, int strategy)
Definition: pngwrite.c:1270
err_t sys_sem_new(sys_sem_t *sem, u8_t count)
Definition: sys_arch.c:206
void PNGAPI png_set_filter_heuristics_fixed(png_structrp png_ptr, int heuristic_method, int num_weights, png_const_fixed_point_p filter_weights, png_const_fixed_point_p filter_costs)
Definition: pngwrite.c:1147
#define API_EXPR_REF_SEM(expr)
Definition: tcpip_priv.h:89
err_t tcpip_trycallback(struct tcpip_callback_msg *msg)
Definition: tcpip.c:446
struct netif * netif_add(struct netif *netif, void *state, netif_init_fn init, netif_input_fn input)
Definition: netif.c:241
void PNGAPI png_set_compression_window_bits(png_structrp png_ptr, int window_bits)
Definition: pngwrite.c:1201
void PNGAPI png_set_filter(png_structrp png_ptr, int method, int filters)
Definition: pngwrite.c:1004
void PNGCBAPI png_safe_warning(png_structp png_nonconst_ptr, png_const_charp warning_message)
Definition: pngerror.c:921
int PNGAPI png_handle_as_unknown(png_const_structrp png_ptr, png_const_bytep chunk_name)
Definition: png.c:926
png_uint_32 height
Definition: png.h:2676
s8_t err_t
Definition: err.h:57
static void png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
Definition: pngwtran.c:25
#define PNG_INFO_pHYs
Definition: png.h:739
#define PNG_FILTER_VALUE_SUB
Definition: png.h:1477
#define SYS_ARCH_DECL_PROTECT(lev)
Definition: sys.h:401
#define deflateInit2(strm, level, method, windowBits, memLevel, strategy)
Definition: zlib.h:1797
#define NETIF_FLAG_ETHERNET
Definition: netif.h:95
void PNGAPI png_set_packing(png_structrp png_ptr)
Definition: pngtrans.c:50
#define tcpip_callback(f, ctx)
Definition: tcpip.h:85
static size_t png_setup_avg_row(png_structrp png_ptr, png_uint_32 bpp, size_t row_bytes, size_t lmins)
Definition: pngwutil.c:2383
else png_error(png_ptr, "png_image_write_to_memory: PNG too big")
#define ip_addr_copy(dest, src)
Definition: ip_addr.h:305
#define API_VAR_DECLARE(type, name)
Definition: tcpip_priv.h:83
void PNGAPI png_set_swap(png_structrp png_ptr)
Definition: pngtrans.c:35
png_uint_16 * png_uint_16p
Definition: pngconf.h:585
static int png_write_image_16bit(png_voidp argument)
Definition: pngwrite.c:1532
png_imagep image
Definition: pngwrite.c:1512
png_voidp io_ptr
Definition: pngstruct.h:158
#define SYS_MBOX_EMPTY
Definition: sys.h:92
#define TCPIP_THREAD_PRIO
Definition: opt.h:1557
#define RECV_BUFSIZE_DEFAULT
Definition: opt.h:1824
#define png_hIST
Definition: pngpriv.h:860
#define png_debug1(l, m, p1)
Definition: pngdebug.h:148
void sys_sem_set_invalid(sys_sem_t *sem)
Definition: sys_arch.c:300
#define png_oFFs
Definition: pngpriv.h:863
#define PNG_LIBPNG_VER_STRING
Definition: png.h:280
#define ip_set_option(pcb, opt)
Definition: ip.h:217
#define PNG_ZBUF_SIZE
Definition: pnglibconf.h:211
#define PNG_FLAG_ZSTREAM_INITIALIZED
Definition: pngpriv.h:680
static int read(struct _reent *_r, void *pv, char *pc, int n)
Definition: gcode_file.cpp:9
#define PNG_FLAG_BENIGN_ERRORS_WARN
Definition: pngpriv.h:699
static void write_unknown_chunks(png_structrp png_ptr, png_const_inforp info_ptr, unsigned int where)
Definition: pngwrite.c:24
size_t png_alloc_size_t
Definition: pngconf.h:557
void png_do_packswap(png_row_infop row_info, png_bytep row)
Definition: pngtrans.c:455
void png_destroy_png_struct(png_structrp png_ptr)
Definition: pngmem.c:25
Definition: tcpip_priv.h:112
#define PNG_SHIFT
Definition: pngpriv.h:645
static void png_write_compressed_data_out(png_structrp png_ptr, compression_state *comp)
Definition: pngwutil.c:637
png_byte minute
Definition: png.h:606
static size_t png_setup_paeth_row(png_structrp png_ptr, png_uint_32 bpp, size_t row_bytes, size_t lmins)
Definition: pngwutil.c:2445
#define PNG_INFO_cHRM
Definition: png.h:734
void PNGAPI png_write_sig(png_structrp png_ptr)
Definition: pngwutil.c:51
#define png_pHYs
Definition: pngpriv.h:865
static size_t png_setup_sub_row(png_structrp png_ptr, png_uint_32 bpp, size_t row_bytes, size_t lmins)
Definition: pngwutil.c:2279
#define PNG_ROWBYTES(pixel_bits, width)
Definition: pngpriv.h:738
void PNGAPI png_write_chunk(png_structrp png_ptr, png_const_bytep chunk_string, png_const_bytep data, size_t length)
Definition: pngwutil.c:192
Definition: tcpip_priv.h:113
#define file_NULL
Definition: fsdata.c:6
png_byte output[1024]
Definition: pngwutil.c:474
void png_write_tIME(png_structrp png_ptr, png_const_timep mod_time)
Definition: pngwutil.c:1863
png_const_structrp png_const_inforp png_fixed_point *int_file_gamma png_set_gAMA_fixed
Definition: png.h:2004
#define png_constcast(type, value)
Definition: pngpriv.h:504
void * ctx
Definition: tcpip_priv.h:142
size_t * png_size_tp
Definition: pngconf.h:593
#define PNG_FLAG_FILLER_AFTER
Definition: pngpriv.h:686
static void pbuf_free_int(void *p)
Definition: tcpip.c:487
static void(PNGCBAPI image_memory_write)(png_structp png_ptr
Definition: pngwrite.c:2193
#define IP_SET_TYPE_VAL(ipaddr, iptype)
Definition: ip_addr.h:298
#define TCPIP_THREAD_NAME
Definition: opt.h:1539
void png_write_pHYs(png_structrp png_ptr, png_uint_32 x_pixels_per_unit, png_uint_32 y_pixels_per_unit, int unit_type)
Definition: pngwutil.c:1839
#define png_sBIT
Definition: pngpriv.h:866
#define PNG_COLOR_MASK_COLOR
Definition: png.h:664
#define PNG_HAVE_PNG_SIGNATURE
Definition: pngpriv.h:636
static void png_write_complete_chunk(png_structrp png_ptr, png_uint_32 chunk_name, png_const_bytep data, size_t length)
Definition: pngwutil.c:175
void png_compress_IDAT(png_structrp png_ptr, png_const_bytep input, png_alloc_size_t input_len, int flush)
Definition: pngwutil.c:931
#define PNG_TRANSFORM_SWAP_ALPHA
Definition: png.h:841
void tcpip_callbackmsg_delete(struct tcpip_callback_msg *msg)
Definition: tcpip.c:433
#define PNG_CSTRING_FROM_CHUNK(s, c)
Definition: pngpriv.h:893
int ZEXPORT deflate(z_streamp strm, int flush)
Definition: deflate.c:763
png_byte red
Definition: png.h:480
#define LWIP_IPV4
Definition: opt.h:640
#define PNG_WROTE_INFO_BEFORE_PLTE
Definition: pngpriv.h:634
#define ipaddr_ntoa(ipaddr)
Definition: ip_addr.h:325
int fs_read_custom(struct fs_file *file, char *buffer, int count)
Definition: fs_custom.c:37
#define png_gAMA
Definition: pngpriv.h:856
void PNGAPI png_save_uint_32(png_bytep buf, png_uint_32 i)
Definition: pngwutil.c:24
png_const_voidp first_row
Definition: pngwrite.c:1518
int
Definition: createSpeedLookupTable.py:15
err_t sys_mbox_trypost(sys_mbox_t *mbox, void *msg)
Definition: sys_arch.c:104
png_bytep memory
Definition: pngwrite.c:1522
const typedef png_color_8 * png_const_color_8p
Definition: png.h:509
#define ip_get_option(pcb, opt)
Definition: ip.h:215
u8_t is_custom_file
Definition: fs.h:67
int ZEXPORT deflateReset(z_streamp strm)
Definition: deflate.c:505
#define PNG_sRGB_INTENT_LAST
Definition: png.h:719
const struct fsdata_file file__img_sics_gif[]
Definition: fsdata.c:272
const typedef png_color_16 * png_const_color_16p
Definition: png.h:497
void(* tcpip_callback_fn)(void *ctx)
Definition: tcpip.h:70
#define PNG_PACK
Definition: pngpriv.h:644
static const int err_to_errno_table[]
Definition: err.c:48
err_t(* netif_init_fn)(struct netif *netif)
Definition: netif.h:155
#define U32_F
Definition: arch.h:152
#define TCPIP_MSG_VAR_FREE(name)
Definition: tcpip.c:56
#define png_pCAL
Definition: pngpriv.h:864
#define PNG_INFO_sBIT
Definition: png.h:733
static const char * filters[]
Definition: screen_filebrowser.cpp:44
void png_do_write_transformations(png_structrp png_ptr, png_row_infop row_info)
Definition: pngwtran.c:501
png_voidp PNGAPI png_get_user_transform_ptr(png_const_structrp png_ptr)
Definition: pngtrans.c:833
#define PNG_RESTRICT
Definition: pngconf.h:445
const unsigned char * name
Definition: fsdata.h:40
static void optimize_cmf(png_bytep data, png_alloc_size_t data_size)
Definition: pngwutil.c:250
int fs_bytes_left(struct fs_file *file)
Definition: fs.c:176
void PNGAPI png_write_chunk_end(png_structrp png_ptr)
Definition: pngwutil.c:146
unsigned int uInt
Definition: zconf.h:393
#define png_tIME
Definition: pngpriv.h:872
#define PNG_WROTE_tIME
Definition: pngpriv.h:633
#define API_VAR_REF(name)
Definition: tcpip_priv.h:82
png_int_32 row_stride
Definition: pngwrite.c:1514
void png_write_eXIf(png_structrp png_ptr, png_bytep exif, int num_exif)
Definition: pngwutil.c:1477
#define TCPIP_THREAD_STACKSIZE
Definition: opt.h:1548
#define X32_F
Definition: arch.h:158
#define PNG_TRANSFORM_SWAP_ENDIAN
Definition: png.h:842
#define API_LIB_DEBUG
Definition: opt.h:2652
#define PNG_RESOLUTION_LAST
Definition: png.h:712
struct pbuf * p
Definition: tcpip_priv.h:136
void PNGAPI png_write_flush(png_structrp png_ptr)
Definition: pngwrite.c:920
size_t png_safecat(png_charp buffer, size_t bufsize, size_t pos, png_const_charp string)
Definition: pngerror.c:112
png_uint_32 length
Definition: png.c:2247
void mem_free(void *rmem)
Definition: mem.c:419
#define PNG_INFO_hIST
Definition: png.h:738
void PNGAPI png_write_rows(png_structrp png_ptr, png_bytepp row, png_uint_32 num_rows)
Definition: pngwrite.c:579
png_byte day
Definition: png.h:604
#define PNG_FILTER_SUB
Definition: png.h:1466
#define SZT_F
Definition: arch.h:161
png_alloc_size_t ob
Definition: pngwrite.c:2173
png_alloc_size_t memory_bytes
Definition: pngwrite.c:1523
int sys_sem_valid(sys_sem_t *sem)
Definition: sys_arch.c:291
static void png_write_chunk_header(png_structrp png_ptr, png_uint_32 chunk_name, png_uint_32 length)
Definition: pngwutil.c:73
void png_app_warning(png_const_structrp png_ptr, png_const_charp error_message)
Definition: pngerror.c:392
size_t rowbytes
Definition: png.h:757
png_infop info_ptr
Definition: pngpriv.h:2038
void png_app_error(png_const_structrp png_ptr, png_const_charp error_message)
Definition: pngerror.c:405
#define PNG_INFO_iCCP
Definition: png.h:744
void PNGAPI png_set_write_status_fn(png_structrp png_ptr, png_write_status_ptr write_row_fn)
Definition: pngwrite.c:1321
lwip_ip_addr_type
Definition: ip_addr.h:54
#define PNG_TRANSFORM_SHIFT
Definition: png.h:839
list b
Definition: createSpeedLookupTable.py:30
png_byte bit_depth
Definition: png.h:759
void PNGAPI png_convert_from_struct_tm(png_timep ptime, const struct tm *ttime)
Definition: pngwrite.c:472
#define PNG_FORMAT_FLAG_ALPHA
Definition: png.h:2777
#define LWIP_DEBUGF(debug, message)
Definition: debug.h:164
#define PNGZ_INPUT_CAST(b)
Definition: pngstruct.h:41
#define PNG_COLOR_TYPE_GRAY_ALPHA
Definition: png.h:672
void PNGAPI png_write_info_before_PLTE(png_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngwrite.c:84
static size_t png_setup_up_row(png_structrp png_ptr, size_t row_bytes, size_t lmins)
Definition: pngwutil.c:2340
#define PNG_GAMMA_sRGB_INVERSE
Definition: pngpriv.h:906
png_byte hour
Definition: png.h:605
png_structp png_ptr
Definition: pngpriv.h:2037
#define PNG_Z_DEFAULT_COMPRESSION
Definition: pnglibconf.h:213
static tcpip_init_done_fn tcpip_init_done
Definition: tcpip.c:59
#define ip_reset_option(pcb, opt)
Definition: ip.h:219
void PNGAPI png_warning(png_const_structrp png_ptr, png_const_charp warning_message)
Definition: pngerror.c:216
png_structrp int heuristic_method
Definition: png.h:1488
void png_do_write_interlace(png_row_infop row_info, png_bytep row, int pass)
Definition: pngwutil.c:2096
png_int_32(PNGAPI png_get_int_32)(png_const_bytep buf)
Definition: pngrutil.c:84
#define LOCK_TCPIP_CORE()
Definition: tcpip.h:60
#define SYS_ARCH_TIMEOUT
Definition: sys.h:87
Definition: tcpip_priv.h:119
#define png_bKGD
Definition: pngpriv.h:852
#define PNG_ALL_FILTERS
Definition: png.h:1471
err_t tcpip_send_msg_wait_sem(tcpip_callback_fn fn, void *apimsg, sys_sem_t *sem)
Definition: tcpip.c:329
#define LWIP_HTTPD_FILE_STATE
Definition: httpd_opts.h:295
int PNGAPI png_image_write_to_memory(png_imagep image, void *memory, png_alloc_size_t *PNG_RESTRICT memory_bytes, int convert_to_8bit, const void *buffer, png_int_32 row_stride, const void *colormap)
Definition: pngwrite.c:2216
#define PNG_DIV257(v16)
Definition: pngpriv.h:735
#define PNG_COLOR_MASK_ALPHA
Definition: png.h:665
#define LWIP_CONST_CAST(target_type, val)
Definition: arch.h:180
struct tcpip_api_call_data * arg
Definition: tcpip_priv.h:132
#define PNG_INFO_IDAT
Definition: png.h:747
#define sys_sem_wait(sem)
Definition: sys.h:198
#define PNG_STRING_FROM_CHUNK(s, c)
Definition: pngpriv.h:886
struct tcpip_callback_msg * tcpip_callbackmsg_new(tcpip_callback_fn function, void *ctx)
Definition: tcpip.c:415
err_t tcpip_api_call(tcpip_api_call_fn fn, struct tcpip_api_call_data *call)
Definition: tcpip.c:365
#define PNG_TEXT_COMPRESSION_zTXt_WR
Definition: png.h:587
void sys_sem_free(sys_sem_t *sem)
Definition: sys_arch.c:282
void PNGAPI png_destroy_info_struct(png_const_structrp png_ptr, png_infopp info_ptr_ptr)
Definition: png.c:386
void png_write_sRGB(png_structrp png_ptr, int srgb_intent)
Definition: pngwutil.c:1099
const typedef png_time * png_const_timep
Definition: png.h:610
#define PNG_Z_DEFAULT_NOFILTER_STRATEGY
Definition: pnglibconf.h:214
#define PNG_COLOR_TYPE_PALETTE
Definition: png.h:669
void * payload
Definition: pbuf.h:147
#define PNG_SWAP_ALPHA
Definition: pngpriv.h:659
#define png_sRGB
Definition: pngpriv.h:869
#define PNG_USER_TRANSFORM
Definition: pngpriv.h:662
#define DEFAULT_UDP_RECVMBOX_SIZE
Definition: opt.h:1642
static png_bytep size_t size
Definition: pngwrite.c:2170
#define PNG_IO_CHUNK_HDR
Definition: png.h:2426
#define SYS_ARCH_GET(var, ret)
Definition: sys.h:433
static void png_setup_up_row_only(png_structrp png_ptr, size_t row_bytes)
Definition: pngwutil.c:2367
static void png_do_write_intrapixel(png_row_infop row_info, png_bytep row)
Definition: pngwrite.c:634
png_controlp opaque
Definition: png.h:2673
err_t(* tcpip_api_call_fn)(struct tcpip_api_call_data *call)
Definition: tcpip_priv.h:108
void PNGAPI png_set_bgr(png_structrp png_ptr)
Definition: pngtrans.c:21
#define lwip_strerr(x)
Definition: err.h:108
void png_do_strip_channel(png_row_infop row_info, png_bytep row, int at_start)
Definition: pngtrans.c:495