Prusa MINI Firmware overview
|
Go to the documentation of this file.
280 #define PNG_LIBPNG_VER_STRING "1.6.36"
281 #define PNG_HEADER_VERSION_STRING " libpng version 1.6.36 - December 1, 2018\n"
283 #define PNG_LIBPNG_VER_SONUM 16
284 #define PNG_LIBPNG_VER_DLLNUM 16
287 #define PNG_LIBPNG_VER_MAJOR 1
288 #define PNG_LIBPNG_VER_MINOR 6
289 #define PNG_LIBPNG_VER_RELEASE 36
295 #define PNG_LIBPNG_VER_BUILD 0
298 #define PNG_LIBPNG_BUILD_ALPHA 1
299 #define PNG_LIBPNG_BUILD_BETA 2
300 #define PNG_LIBPNG_BUILD_RC 3
301 #define PNG_LIBPNG_BUILD_STABLE 4
302 #define PNG_LIBPNG_BUILD_RELEASE_STATUS_MASK 7
305 #define PNG_LIBPNG_BUILD_PATCH 8
307 #define PNG_LIBPNG_BUILD_PRIVATE 16
309 #define PNG_LIBPNG_BUILD_SPECIAL 32
312 #define PNG_LIBPNG_BUILD_BASE_TYPE PNG_LIBPNG_BUILD_STABLE
321 #define PNG_LIBPNG_VER 10636
333 #ifndef PNG_VERSION_INFO_ONLY
352 #ifdef PNG_USER_PRIVATEBUILD
353 # define PNG_LIBPNG_BUILD_TYPE \
354 (PNG_LIBPNG_BUILD_BASE_TYPE | PNG_LIBPNG_BUILD_PRIVATE)
356 # ifdef PNG_LIBPNG_SPECIALBUILD
357 # define PNG_LIBPNG_BUILD_TYPE \
358 (PNG_LIBPNG_BUILD_BASE_TYPE | PNG_LIBPNG_BUILD_SPECIAL)
360 # define PNG_LIBPNG_BUILD_TYPE (PNG_LIBPNG_BUILD_BASE_TYPE)
364 #ifndef PNG_VERSION_INFO_ONLY
374 #define png_libpng_ver png_get_header_ver(NULL)
544 #ifdef PNG_TEXT_SUPPORTED
586 #define PNG_TEXT_COMPRESSION_NONE_WR -3
587 #define PNG_TEXT_COMPRESSION_zTXt_WR -2
588 #define PNG_TEXT_COMPRESSION_NONE -1
589 #define PNG_TEXT_COMPRESSION_zTXt 0
590 #define PNG_ITXT_COMPRESSION_NONE 1
591 #define PNG_ITXT_COMPRESSION_zTXt 2
592 #define PNG_TEXT_COMPRESSION_LAST 3
613 #if defined(PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED) ||\
614 defined(PNG_USER_CHUNKS_SUPPORTED)
644 #define PNG_HAVE_IHDR 0x01
645 #define PNG_HAVE_PLTE 0x02
646 #define PNG_AFTER_IDAT 0x08
649 #define PNG_UINT_31_MAX ((png_uint_32)0x7fffffffL)
650 #define PNG_UINT_32_MAX ((png_uint_32)(-1))
651 #define PNG_SIZE_MAX ((size_t)(-1))
656 #define PNG_FP_1 100000
657 #define PNG_FP_HALF 50000
658 #define PNG_FP_MAX ((png_fixed_point)0x7fffffffL)
659 #define PNG_FP_MIN (-PNG_FP_MAX)
663 #define PNG_COLOR_MASK_PALETTE 1
664 #define PNG_COLOR_MASK_COLOR 2
665 #define PNG_COLOR_MASK_ALPHA 4
668 #define PNG_COLOR_TYPE_GRAY 0
669 #define PNG_COLOR_TYPE_PALETTE (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_PALETTE)
670 #define PNG_COLOR_TYPE_RGB (PNG_COLOR_MASK_COLOR)
671 #define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)
672 #define PNG_COLOR_TYPE_GRAY_ALPHA (PNG_COLOR_MASK_ALPHA)
674 #define PNG_COLOR_TYPE_RGBA PNG_COLOR_TYPE_RGB_ALPHA
675 #define PNG_COLOR_TYPE_GA PNG_COLOR_TYPE_GRAY_ALPHA
678 #define PNG_COMPRESSION_TYPE_BASE 0
679 #define PNG_COMPRESSION_TYPE_DEFAULT PNG_COMPRESSION_TYPE_BASE
682 #define PNG_FILTER_TYPE_BASE 0
683 #define PNG_INTRAPIXEL_DIFFERENCING 64
684 #define PNG_FILTER_TYPE_DEFAULT PNG_FILTER_TYPE_BASE
687 #define PNG_INTERLACE_NONE 0
688 #define PNG_INTERLACE_ADAM7 1
689 #define PNG_INTERLACE_LAST 2
692 #define PNG_OFFSET_PIXEL 0
693 #define PNG_OFFSET_MICROMETER 1
694 #define PNG_OFFSET_LAST 2
697 #define PNG_EQUATION_LINEAR 0
698 #define PNG_EQUATION_BASE_E 1
699 #define PNG_EQUATION_ARBITRARY 2
700 #define PNG_EQUATION_HYPERBOLIC 3
701 #define PNG_EQUATION_LAST 4
704 #define PNG_SCALE_UNKNOWN 0
705 #define PNG_SCALE_METER 1
706 #define PNG_SCALE_RADIAN 2
707 #define PNG_SCALE_LAST 3
710 #define PNG_RESOLUTION_UNKNOWN 0
711 #define PNG_RESOLUTION_METER 1
712 #define PNG_RESOLUTION_LAST 2
715 #define PNG_sRGB_INTENT_PERCEPTUAL 0
716 #define PNG_sRGB_INTENT_RELATIVE 1
717 #define PNG_sRGB_INTENT_SATURATION 2
718 #define PNG_sRGB_INTENT_ABSOLUTE 3
719 #define PNG_sRGB_INTENT_LAST 4
722 #define PNG_KEYWORD_MAX_LENGTH 79
725 #define PNG_MAX_PALETTE_LENGTH 256
732 #define PNG_INFO_gAMA 0x0001U
733 #define PNG_INFO_sBIT 0x0002U
734 #define PNG_INFO_cHRM 0x0004U
735 #define PNG_INFO_PLTE 0x0008U
736 #define PNG_INFO_tRNS 0x0010U
737 #define PNG_INFO_bKGD 0x0020U
738 #define PNG_INFO_hIST 0x0040U
739 #define PNG_INFO_pHYs 0x0080U
740 #define PNG_INFO_oFFs 0x0100U
741 #define PNG_INFO_tIME 0x0200U
742 #define PNG_INFO_pCAL 0x0400U
743 #define PNG_INFO_sRGB 0x0800U
744 #define PNG_INFO_iCCP 0x1000U
745 #define PNG_INFO_sPLT 0x2000U
746 #define PNG_INFO_sCAL 0x4000U
747 #define PNG_INFO_IDAT 0x8000U
748 #define PNG_INFO_eXIf 0x10000U
783 #ifdef PNG_PROGRESSIVE_READ_SUPPORTED
801 #if defined(PNG_READ_USER_TRANSFORM_SUPPORTED) || \
802 defined(PNG_WRITE_USER_TRANSFORM_SUPPORTED)
807 #ifdef PNG_USER_CHUNKS_SUPPORTED
811 #ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED
816 #ifdef PNG_SETJMP_SUPPORTED
832 #define PNG_TRANSFORM_IDENTITY 0x0000
833 #define PNG_TRANSFORM_STRIP_16 0x0001
834 #define PNG_TRANSFORM_STRIP_ALPHA 0x0002
835 #define PNG_TRANSFORM_PACKING 0x0004
836 #define PNG_TRANSFORM_PACKSWAP 0x0008
837 #define PNG_TRANSFORM_EXPAND 0x0010
838 #define PNG_TRANSFORM_INVERT_MONO 0x0020
839 #define PNG_TRANSFORM_SHIFT 0x0040
840 #define PNG_TRANSFORM_BGR 0x0080
841 #define PNG_TRANSFORM_SWAP_ALPHA 0x0100
842 #define PNG_TRANSFORM_SWAP_ENDIAN 0x0200
843 #define PNG_TRANSFORM_INVERT_ALPHA 0x0400
844 #define PNG_TRANSFORM_STRIP_FILLER 0x0800
846 #define PNG_TRANSFORM_STRIP_FILLER_BEFORE PNG_TRANSFORM_STRIP_FILLER
847 #define PNG_TRANSFORM_STRIP_FILLER_AFTER 0x1000
849 #define PNG_TRANSFORM_GRAY_TO_RGB 0x2000
851 #define PNG_TRANSFORM_EXPAND_16 0x4000
852 #if INT_MAX >= 0x8000
853 #define PNG_TRANSFORM_SCALE_16 0x8000
857 #define PNG_FLAG_MNG_EMPTY_PLTE 0x01
858 #define PNG_FLAG_MNG_FILTER_64 0x04
859 #define PNG_ALL_MNG_FEATURES 0x05
914 size_t num_to_check));
919 #define png_check_sig(sig, n) !png_sig_cmp((sig), 0, (n))
924 png_error_ptr error_fn, png_error_ptr warn_fn),
930 png_error_ptr warn_fn),
942 #ifdef PNG_SETJMP_SUPPORTED
951 png_longjmp_ptr longjmp_fn,
size_t jmp_buf_size));
952 # define png_jmpbuf(png_ptr) \
953 (*png_set_longjmp_fn((png_ptr), longjmp, (sizeof (jmp_buf))))
955 # define png_jmpbuf(png_ptr) \
956 (LIBPNG_WAS_COMPILED_WITH__PNG_NO_SETJMP)
966 #ifdef PNG_READ_SUPPORTED
972 #ifdef PNG_USER_MEM_SUPPORTED
975 png_error_ptr warn_fn,
976 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
980 png_error_ptr warn_fn,
981 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
1020 #ifdef PNG_SEQUENTIAL_READ_SUPPORTED
1026 #ifdef PNG_TIME_RFC1123_SUPPORTED
1031 #if PNG_LIBPNG_VER < 10700
1040 #ifdef PNG_CONVERT_tIME_SUPPORTED
1043 const struct tm * ttime));
1049 #ifdef PNG_READ_EXPAND_SUPPORTED
1057 #ifdef PNG_READ_EXPAND_16_SUPPORTED
1064 #if defined(PNG_READ_BGR_SUPPORTED) || defined(PNG_WRITE_BGR_SUPPORTED)
1069 #ifdef PNG_READ_GRAY_TO_RGB_SUPPORTED
1074 #ifdef PNG_READ_RGB_TO_GRAY_SUPPORTED
1076 #define PNG_ERROR_ACTION_NONE 1
1077 #define PNG_ERROR_ACTION_WARN 2
1078 #define PNG_ERROR_ACTION_ERROR 3
1079 #define PNG_RGB_TO_GRAY_DEFAULT (-1)
1090 #ifdef PNG_BUILD_GRAYSCALE_PALETTE_SUPPORTED
1095 #ifdef PNG_READ_ALPHA_MODE_SUPPORTED
1130 #define PNG_ALPHA_PNG 0
1131 #define PNG_ALPHA_STANDARD 1
1132 #define PNG_ALPHA_ASSOCIATED 1
1133 #define PNG_ALPHA_PREMULTIPLIED 1
1134 #define PNG_ALPHA_OPTIMIZED 2
1135 #define PNG_ALPHA_BROKEN 3
1138 double output_gamma))
1143 #if defined(PNG_GAMMA_SUPPORTED) || defined(PNG_READ_ALPHA_MODE_SUPPORTED)
1147 #define PNG_DEFAULT_sRGB -1
1148 #define PNG_GAMMA_MAC_18 -2
1149 #define PNG_GAMMA_sRGB 220000
1150 #define PNG_GAMMA_LINEAR PNG_FP_1
1229 #ifdef PNG_READ_STRIP_ALPHA_SUPPORTED
1233 #if defined(PNG_READ_SWAP_ALPHA_SUPPORTED) || \
1234 defined(PNG_WRITE_SWAP_ALPHA_SUPPORTED)
1238 #if defined(PNG_READ_INVERT_ALPHA_SUPPORTED) || \
1239 defined(PNG_WRITE_INVERT_ALPHA_SUPPORTED)
1243 #if defined(PNG_READ_FILLER_SUPPORTED) || defined(PNG_WRITE_FILLER_SUPPORTED)
1248 # define PNG_FILLER_BEFORE 0
1249 # define PNG_FILLER_AFTER 1
1255 #if defined(PNG_READ_SWAP_SUPPORTED) || defined(PNG_WRITE_SWAP_SUPPORTED)
1260 #if defined(PNG_READ_PACK_SUPPORTED) || defined(PNG_WRITE_PACK_SUPPORTED)
1265 #if defined(PNG_READ_PACKSWAP_SUPPORTED) || \
1266 defined(PNG_WRITE_PACKSWAP_SUPPORTED)
1271 #if defined(PNG_READ_SHIFT_SUPPORTED) || defined(PNG_WRITE_SHIFT_SUPPORTED)
1277 #if defined(PNG_READ_INTERLACING_SUPPORTED) || \
1278 defined(PNG_WRITE_INTERLACING_SUPPORTED)
1288 #if defined(PNG_READ_INVERT_SUPPORTED) || defined(PNG_WRITE_INVERT_SUPPORTED)
1293 #ifdef PNG_READ_BACKGROUND_SUPPORTED
1306 #ifdef PNG_READ_BACKGROUND_SUPPORTED
1307 # define PNG_BACKGROUND_GAMMA_UNKNOWN 0
1308 # define PNG_BACKGROUND_GAMMA_SCREEN 1
1309 # define PNG_BACKGROUND_GAMMA_FILE 2
1310 # define PNG_BACKGROUND_GAMMA_UNIQUE 3
1313 #ifdef PNG_READ_SCALE_16_TO_8_SUPPORTED
1318 #ifdef PNG_READ_STRIP_16_TO_8_SUPPORTED
1319 #define PNG_READ_16_TO_8_SUPPORTED
1324 #ifdef PNG_READ_QUANTIZE_SUPPORTED
1329 png_colorp palette,
int num_palette,
int maximum_colors,
1333 #ifdef PNG_READ_GAMMA_SUPPORTED
1337 #define PNG_GAMMA_THRESHOLD (PNG_GAMMA_THRESHOLD_FIXED*.00001)
1356 #ifdef PNG_WRITE_FLUSH_SUPPORTED
1370 #ifdef PNG_SEQUENTIAL_READ_SUPPORTED
1376 #ifdef PNG_SEQUENTIAL_READ_SUPPORTED
1382 #ifdef PNG_SEQUENTIAL_READ_SUPPORTED
1406 #ifdef PNG_SEQUENTIAL_READ_SUPPORTED
1436 #define PNG_CRC_DEFAULT 0
1437 #define PNG_CRC_ERROR_QUIT 1
1438 #define PNG_CRC_WARN_DISCARD 2
1439 #define PNG_CRC_WARN_USE 3
1440 #define PNG_CRC_QUIET_USE 4
1441 #define PNG_CRC_NO_CHANGE 5
1443 #ifdef PNG_WRITE_SUPPORTED
1464 #define PNG_NO_FILTERS 0x00
1465 #define PNG_FILTER_NONE 0x08
1466 #define PNG_FILTER_SUB 0x10
1467 #define PNG_FILTER_UP 0x20
1468 #define PNG_FILTER_AVG 0x40
1469 #define PNG_FILTER_PAETH 0x80
1470 #define PNG_FAST_FILTERS (PNG_FILTER_NONE | PNG_FILTER_SUB | PNG_FILTER_UP)
1471 #define PNG_ALL_FILTERS (PNG_FAST_FILTERS | PNG_FILTER_AVG | PNG_FILTER_PAETH)
1476 #define PNG_FILTER_VALUE_NONE 0
1477 #define PNG_FILTER_VALUE_SUB 1
1478 #define PNG_FILTER_VALUE_UP 2
1479 #define PNG_FILTER_VALUE_AVG 3
1480 #define PNG_FILTER_VALUE_PAETH 4
1481 #define PNG_FILTER_VALUE_LAST 5
1483 #ifdef PNG_WRITE_SUPPORTED
1484 #ifdef PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
1487 png_const_doublep filter_costs))
1495 #define PNG_FILTER_HEURISTIC_DEFAULT 0
1496 #define PNG_FILTER_HEURISTIC_UNWEIGHTED 1
1497 #define PNG_FILTER_HEURISTIC_WEIGHTED 2
1498 #define PNG_FILTER_HEURISTIC_LAST 3
1507 #ifdef PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED
1527 #ifdef PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED
1558 #ifdef PNG_STDIO_SUPPORTED
1572 png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warning_fn));
1588 png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn));
1592 png_rw_ptr read_data_fn));
1598 png_read_status_ptr read_row_fn));
1601 png_write_status_ptr write_row_fn));
1603 #ifdef PNG_USER_MEM_SUPPORTED
1606 png_malloc_ptr malloc_fn, png_free_ptr free_fn));
1611 #ifdef PNG_READ_USER_TRANSFORM_SUPPORTED
1613 png_user_transform_ptr read_user_transform_fn));
1616 #ifdef PNG_WRITE_USER_TRANSFORM_SUPPORTED
1618 png_user_transform_ptr write_user_transform_fn));
1621 #ifdef PNG_USER_TRANSFORM_PTR_SUPPORTED
1623 png_voidp user_transform_ptr,
int user_transform_depth,
1624 int user_transform_channels));
1630 #ifdef PNG_USER_TRANSFORM_INFO_SUPPORTED
1646 #ifdef PNG_READ_USER_CHUNKS_SUPPORTED
1667 png_voidp user_chunk_ptr, png_user_chunk_ptr read_user_chunk_fn));
1670 #ifdef PNG_USER_CHUNKS_SUPPORTED
1674 #ifdef PNG_PROGRESSIVE_READ_SUPPORTED
1679 png_voidp progressive_ptr, png_progressive_info_ptr info_fn,
1680 png_progressive_row_ptr row_fn, png_progressive_end_ptr end_fn));
1744 #define PNG_DESTROY_WILL_FREE_DATA 1
1745 #define PNG_SET_WILL_FREE_DATA 1
1746 #define PNG_USER_WILL_FREE_DATA 2
1748 #define PNG_FREE_HIST 0x0008U
1749 #define PNG_FREE_ICCP 0x0010U
1750 #define PNG_FREE_SPLT 0x0020U
1751 #define PNG_FREE_ROWS 0x0040U
1752 #define PNG_FREE_PCAL 0x0080U
1753 #define PNG_FREE_SCAL 0x0100U
1754 #ifdef PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED
1755 # define PNG_FREE_UNKN 0x0200U
1758 #define PNG_FREE_PLTE 0x1000U
1759 #define PNG_FREE_TRNS 0x2000U
1760 #define PNG_FREE_TEXT 0x4000U
1761 #define PNG_FREE_EXIF 0x8000U
1762 #define PNG_FREE_ALL 0xffffU
1763 #define PNG_FREE_MUL 0x4220U
1765 #ifdef PNG_USER_MEM_SUPPORTED
1772 #ifdef PNG_ERROR_TEXT_SUPPORTED
1784 # define png_error(s1,s2) png_err(s1)
1785 # define png_chunk_error(s1,s2) png_err(s1)
1788 #ifdef PNG_WARNINGS_SUPPORTED
1797 # define png_warning(s1,s2) ((void)(s1))
1798 # define png_chunk_warning(s1,s2) ((void)(s1))
1801 #ifdef PNG_BENIGN_ERRORS_SUPPORTED
1807 #ifdef PNG_READ_SUPPORTED
1816 # ifdef PNG_ALLOW_BENIGN_ERRORS
1817 # define png_benign_error png_warning
1818 # define png_chunk_benign_error png_chunk_warning
1820 # define png_benign_error png_error
1821 # define png_chunk_benign_error png_chunk_error
1845 #ifdef PNG_INFO_IMAGE_SUPPORTED
1863 #ifdef PNG_EASY_ACCESS_SUPPORTED
1918 #ifdef PNG_READ_SUPPORTED
1924 #ifdef PNG_bKGD_SUPPORTED
1929 #ifdef PNG_bKGD_SUPPORTED
1934 #ifdef PNG_cHRM_SUPPORTED
1937 double *red_y,
double *green_x,
double *green_y,
double *blue_x,
1942 double *
blue_Y,
double *blue_Z))
1958 #ifdef PNG_cHRM_SUPPORTED
1961 double white_x,
double white_y,
double red_x,
double red_y,
double green_x,
1962 double green_y,
double blue_x,
double blue_y))
1966 double blue_Y,
double blue_Z))
1981 #ifdef PNG_eXIf_SUPPORTED
1993 #ifdef PNG_gAMA_SUPPORTED
2001 #ifdef PNG_gAMA_SUPPORTED
2008 #ifdef PNG_hIST_SUPPORTED
2017 int *bit_depth,
int *color_type,
int *interlace_method,
2018 int *compression_method,
int *filter_method));
2022 int color_type,
int interlace_method,
int compression_method,
2023 int filter_method));
2025 #ifdef PNG_oFFs_SUPPORTED
2031 #ifdef PNG_oFFs_SUPPORTED
2037 #ifdef PNG_pCAL_SUPPORTED
2044 #ifdef PNG_pCAL_SUPPORTED
2050 #ifdef PNG_pHYs_SUPPORTED
2056 #ifdef PNG_pHYs_SUPPORTED
2067 #ifdef PNG_sBIT_SUPPORTED
2072 #ifdef PNG_sBIT_SUPPORTED
2077 #ifdef PNG_sRGB_SUPPORTED
2082 #ifdef PNG_sRGB_SUPPORTED
2089 #ifdef PNG_iCCP_SUPPORTED
2095 #ifdef PNG_iCCP_SUPPORTED
2101 #ifdef PNG_sPLT_SUPPORTED
2106 #ifdef PNG_sPLT_SUPPORTED
2111 #ifdef PNG_TEXT_SUPPORTED
2124 #ifdef PNG_TEXT_SUPPORTED
2129 #ifdef PNG_tIME_SUPPORTED
2134 #ifdef PNG_tIME_SUPPORTED
2139 #ifdef PNG_tRNS_SUPPORTED
2145 #ifdef PNG_tRNS_SUPPORTED
2151 #ifdef PNG_sCAL_SUPPORTED
2154 #if defined(PNG_FLOATING_ARITHMETIC_SUPPORTED) || \
2155 defined(PNG_FLOATING_POINT_SUPPORTED)
2179 #ifdef PNG_SET_UNKNOWN_CHUNKS_SUPPORTED
2278 #ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED
2291 #ifdef PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED
2318 #ifdef PNG_INFO_IMAGE_SUPPORTED
2320 #ifdef PNG_SEQUENTIAL_READ_SUPPORTED
2324 #ifdef PNG_WRITE_SUPPORTED
2339 #ifdef PNG_MNG_FEATURES_SUPPORTED
2345 #define PNG_HANDLE_CHUNK_AS_DEFAULT 0
2346 #define PNG_HANDLE_CHUNK_NEVER 1
2347 #define PNG_HANDLE_CHUNK_IF_SAFE 2
2348 #define PNG_HANDLE_CHUNK_ALWAYS 3
2349 #define PNG_HANDLE_CHUNK_LAST 4
2354 #ifdef PNG_ERROR_NUMBERS_SUPPORTED
2360 #ifdef PNG_SET_USER_LIMITS_SUPPORTED
2379 #if defined(PNG_INCH_CONVERSIONS_SUPPORTED)
2391 #ifdef PNG_FIXED_POINT_SUPPORTED
2398 #ifdef PNG_FIXED_POINT_SUPPORTED
2403 # ifdef PNG_pHYs_SUPPORTED
2411 #ifdef PNG_IO_STATE_SUPPORTED
2422 # define PNG_IO_NONE 0x0000
2423 # define PNG_IO_READING 0x0001
2424 # define PNG_IO_WRITING 0x0002
2425 # define PNG_IO_SIGNATURE 0x0010
2426 # define PNG_IO_CHUNK_HDR 0x0020
2427 # define PNG_IO_CHUNK_DATA 0x0040
2428 # define PNG_IO_CHUNK_CRC 0x0080
2429 # define PNG_IO_MASK_OP 0x000f
2430 # define PNG_IO_MASK_LOC 0x00f0
2437 #define PNG_INTERLACE_ADAM7_PASSES 7
2443 #define PNG_PASS_START_ROW(pass) (((1&~(pass))<<(3-((pass)>>1)))&7)
2444 #define PNG_PASS_START_COL(pass) (((1& (pass))<<(3-(((pass)+1)>>1)))&7)
2451 #define PNG_PASS_ROW_OFFSET(pass) ((pass)>2?(8>>(((pass)-1)>>1)):8)
2452 #define PNG_PASS_COL_OFFSET(pass) (1<<((7-(pass))>>1))
2458 #define PNG_PASS_ROW_SHIFT(pass) ((pass)>2?(8-(pass))>>1:3)
2459 #define PNG_PASS_COL_SHIFT(pass) ((pass)>1?(7-(pass))>>1:3)
2466 #define PNG_PASS_ROWS(height, pass) (((height)+(((1<<PNG_PASS_ROW_SHIFT(pass))\
2467 -1)-PNG_PASS_START_ROW(pass)))>>PNG_PASS_ROW_SHIFT(pass))
2468 #define PNG_PASS_COLS(width, pass) (((width)+(((1<<PNG_PASS_COL_SHIFT(pass))\
2469 -1)-PNG_PASS_START_COL(pass)))>>PNG_PASS_COL_SHIFT(pass))
2475 #define PNG_ROW_FROM_PASS_ROW(y_in, pass) \
2476 (((y_in)<<PNG_PASS_ROW_SHIFT(pass))+PNG_PASS_START_ROW(pass))
2477 #define PNG_COL_FROM_PASS_COL(x_in, pass) \
2478 (((x_in)<<PNG_PASS_COL_SHIFT(pass))+PNG_PASS_START_COL(pass))
2486 #define PNG_PASS_MASK(pass,off) ( \
2487 ((0x110145AF>>(((7-(off))-(pass))<<2)) & 0xF) | \
2488 ((0x01145AF0>>(((7-(off))-(pass))<<2)) & 0xF0))
2490 #define PNG_ROW_IN_INTERLACE_PASS(y, pass) \
2491 ((PNG_PASS_MASK(pass,0) >> ((y)&7)) & 1)
2492 #define PNG_COL_IN_INTERLACE_PASS(x, pass) \
2493 ((PNG_PASS_MASK(pass,1) >> ((x)&7)) & 1)
2495 #ifdef PNG_READ_COMPOSITE_NODIV_SUPPORTED
2510 # define png_composite(composite, fg, alpha, bg) \
2512 png_uint_16 temp = (png_uint_16)((png_uint_16)(fg) \
2513 * (png_uint_16)(alpha) \
2514 + (png_uint_16)(bg)*(png_uint_16)(255 \
2515 - (png_uint_16)(alpha)) + 128); \
2516 (composite) = (png_byte)(((temp + (temp >> 8)) >> 8) & 0xff); \
2519 # define png_composite_16(composite, fg, alpha, bg) \
2521 png_uint_32 temp = (png_uint_32)((png_uint_32)(fg) \
2522 * (png_uint_32)(alpha) \
2523 + (png_uint_32)(bg)*(65535 \
2524 - (png_uint_32)(alpha)) + 32768); \
2525 (composite) = (png_uint_16)(0xffff & ((temp + (temp >> 16)) >> 16)); \
2530 # define png_composite(composite, fg, alpha, bg) \
2532 (png_byte)(0xff & (((png_uint_16)(fg) * (png_uint_16)(alpha) + \
2533 (png_uint_16)(bg) * (png_uint_16)(255 - (png_uint_16)(alpha)) + \
2536 # define png_composite_16(composite, fg, alpha, bg) \
2538 (png_uint_16)(0xffff & (((png_uint_32)(fg) * (png_uint_32)(alpha) + \
2539 (png_uint_32)(bg)*(png_uint_32)(65535 - (png_uint_32)(alpha)) + \
2543 #ifdef PNG_READ_INT_FUNCTIONS_SUPPORTED
2554 #ifdef PNG_WRITE_INT_FUNCTIONS_SUPPORTED
2557 #ifdef PNG_SAVE_INT_32_SUPPORTED
2565 #ifdef PNG_WRITE_INT_FUNCTIONS_SUPPORTED
2570 #ifdef PNG_USE_READ_MACROS
2575 # define PNG_get_uint_32(buf) \
2576 (((png_uint_32)(*(buf)) << 24) + \
2577 ((png_uint_32)(*((buf) + 1)) << 16) + \
2578 ((png_uint_32)(*((buf) + 2)) << 8) + \
2579 ((png_uint_32)(*((buf) + 3))))
2584 # define PNG_get_uint_16(buf) \
2586 (((unsigned int)(*(buf)) << 8) + \
2587 ((unsigned int)(*((buf) + 1)))))
2589 # define PNG_get_int_32(buf) \
2590 ((png_int_32)((*(buf) & 0x80) \
2591 ? -((png_int_32)(((png_get_uint_32(buf)^0xffffffffU)+1U)&0x7fffffffU)) \
2592 : (png_int_32)png_get_uint_32(buf)))
2598 # define png_get_uint_32(buf) PNG_get_uint_32(buf)
2599 # define png_get_uint_16(buf) PNG_get_uint_16(buf)
2600 # define png_get_int_32(buf) PNG_get_int_32(buf)
2605 # define PNG_get_uint_32 (png_get_uint_32)
2606 # define PNG_get_uint_16 (png_get_uint_16)
2607 # define PNG_get_int_32 (png_get_int_32)
2611 #ifdef PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED
2614 # ifdef PNG_GET_PALETTE_MAX_SUPPORTED
2666 #if defined(PNG_SIMPLIFIED_READ_SUPPORTED) || \
2667 defined(PNG_SIMPLIFIED_WRITE_SUPPORTED)
2669 #define PNG_IMAGE_VERSION 1
2692 # define PNG_IMAGE_WARNING 1
2693 # define PNG_IMAGE_ERROR 2
2703 # define PNG_IMAGE_FAILED(png_cntrl) ((((png_cntrl).warning_or_error)&0x03)>1)
2778 #define PNG_FORMAT_FLAG_ALPHA 0x01U
2779 #define PNG_FORMAT_FLAG_COLOR 0x02U
2780 #define PNG_FORMAT_FLAG_LINEAR 0x04U
2781 #define PNG_FORMAT_FLAG_COLORMAP 0x08U
2783 #ifdef PNG_FORMAT_BGR_SUPPORTED
2784 # define PNG_FORMAT_FLAG_BGR 0x10U
2787 #ifdef PNG_FORMAT_AFIRST_SUPPORTED
2788 # define PNG_FORMAT_FLAG_AFIRST 0x20U
2791 #define PNG_FORMAT_FLAG_ASSOCIATED_ALPHA 0x40U
2797 #define PNG_FORMAT_GRAY 0
2798 #define PNG_FORMAT_GA PNG_FORMAT_FLAG_ALPHA
2799 #define PNG_FORMAT_AG (PNG_FORMAT_GA|PNG_FORMAT_FLAG_AFIRST)
2800 #define PNG_FORMAT_RGB PNG_FORMAT_FLAG_COLOR
2801 #define PNG_FORMAT_BGR (PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_BGR)
2802 #define PNG_FORMAT_RGBA (PNG_FORMAT_RGB|PNG_FORMAT_FLAG_ALPHA)
2803 #define PNG_FORMAT_ARGB (PNG_FORMAT_RGBA|PNG_FORMAT_FLAG_AFIRST)
2804 #define PNG_FORMAT_BGRA (PNG_FORMAT_BGR|PNG_FORMAT_FLAG_ALPHA)
2805 #define PNG_FORMAT_ABGR (PNG_FORMAT_BGRA|PNG_FORMAT_FLAG_AFIRST)
2810 #define PNG_FORMAT_LINEAR_Y PNG_FORMAT_FLAG_LINEAR
2811 #define PNG_FORMAT_LINEAR_Y_ALPHA (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_ALPHA)
2812 #define PNG_FORMAT_LINEAR_RGB (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR)
2813 #define PNG_FORMAT_LINEAR_RGB_ALPHA \
2814 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)
2821 #define PNG_FORMAT_RGB_COLORMAP (PNG_FORMAT_RGB|PNG_FORMAT_FLAG_COLORMAP)
2822 #define PNG_FORMAT_BGR_COLORMAP (PNG_FORMAT_BGR|PNG_FORMAT_FLAG_COLORMAP)
2823 #define PNG_FORMAT_RGBA_COLORMAP (PNG_FORMAT_RGBA|PNG_FORMAT_FLAG_COLORMAP)
2824 #define PNG_FORMAT_ARGB_COLORMAP (PNG_FORMAT_ARGB|PNG_FORMAT_FLAG_COLORMAP)
2825 #define PNG_FORMAT_BGRA_COLORMAP (PNG_FORMAT_BGRA|PNG_FORMAT_FLAG_COLORMAP)
2826 #define PNG_FORMAT_ABGR_COLORMAP (PNG_FORMAT_ABGR|PNG_FORMAT_FLAG_COLORMAP)
2846 #define PNG_IMAGE_SAMPLE_CHANNELS(fmt)\
2847 (((fmt)&(PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA))+1)
2850 #define PNG_IMAGE_SAMPLE_COMPONENT_SIZE(fmt)\
2851 ((((fmt) & PNG_FORMAT_FLAG_LINEAR) >> 2)+1)
2856 #define PNG_IMAGE_SAMPLE_SIZE(fmt)\
2857 (PNG_IMAGE_SAMPLE_CHANNELS(fmt) * PNG_IMAGE_SAMPLE_COMPONENT_SIZE(fmt))
2863 #define PNG_IMAGE_MAXIMUM_COLORMAP_COMPONENTS(fmt)\
2864 (PNG_IMAGE_SAMPLE_CHANNELS(fmt) * 256)
2879 #define PNG_IMAGE_PIXEL_(test,fmt)\
2880 (((fmt)&PNG_FORMAT_FLAG_COLORMAP)?1:test(fmt))
2882 #define PNG_IMAGE_PIXEL_CHANNELS(fmt)\
2883 PNG_IMAGE_PIXEL_(PNG_IMAGE_SAMPLE_CHANNELS,fmt)
2888 #define PNG_IMAGE_PIXEL_COMPONENT_SIZE(fmt)\
2889 PNG_IMAGE_PIXEL_(PNG_IMAGE_SAMPLE_COMPONENT_SIZE,fmt)
2894 #define PNG_IMAGE_PIXEL_SIZE(fmt) PNG_IMAGE_PIXEL_(PNG_IMAGE_SAMPLE_SIZE,fmt)
2898 #define PNG_IMAGE_ROW_STRIDE(image)\
2899 (PNG_IMAGE_PIXEL_CHANNELS((image).format) * (image).width)
2910 #define PNG_IMAGE_BUFFER_SIZE(image, row_stride)\
2911 (PNG_IMAGE_PIXEL_COMPONENT_SIZE((image).format)*(image).height*(row_stride))
2919 #define PNG_IMAGE_SIZE(image)\
2920 PNG_IMAGE_BUFFER_SIZE(image, PNG_IMAGE_ROW_STRIDE(image))
2925 #define PNG_IMAGE_COLORMAP_SIZE(image)\
2926 (PNG_IMAGE_SAMPLE_SIZE((image).format) * (image).colormap_entries)
2938 #define PNG_IMAGE_FLAG_COLORSPACE_NOT_sRGB 0x01
2943 #define PNG_IMAGE_FLAG_FAST 0x02
2954 #define PNG_IMAGE_FLAG_16BIT_sRGB 0x04
2972 #ifdef PNG_SIMPLIFIED_READ_SUPPORTED
2979 #ifdef PNG_STDIO_SUPPORTED
2981 const char *file_name));
3036 #ifdef PNG_SIMPLIFIED_WRITE_SUPPORTED
3053 #ifdef PNG_SIMPLIFIED_WRITE_STDIO_SUPPORTED
3055 const char *file,
int convert_to_8bit,
const void *buffer,
3056 png_int_32 row_stride,
const void *colormap));
3060 int convert_to_8_bit,
const void *buffer,
png_int_32 row_stride,
3061 const void *colormap));
3088 const void *buffer,
png_int_32 row_stride,
const void *colormap));
3111 #define png_image_write_get_memory_size(image, size, convert_to_8_bit, buffer,\
3112 row_stride, colormap)\
3113 png_image_write_to_memory(&(image), 0, &(size), convert_to_8_bit, buffer,\
3114 row_stride, colormap)
3130 #define PNG_IMAGE_DATA_SIZE(image) (PNG_IMAGE_SIZE(image)+(image).height)
3140 #ifndef PNG_ZLIB_MAX_SIZE
3141 # define PNG_ZLIB_MAX_SIZE(b) ((b)+(((b)+7U)>>3)+(((b)+63U)>>6)+11U)
3150 #define PNG_IMAGE_COMPRESSED_SIZE_MAX(image)\
3151 PNG_ZLIB_MAX_SIZE((png_alloc_size_t)PNG_IMAGE_DATA_SIZE(image))
3154 #define PNG_IMAGE_PNG_SIZE_MAX_(image, image_size)\
3155 ((8U+25U+16U+44U+12U+\
3156 (((image).format&PNG_FORMAT_FLAG_COLORMAP)?\
3157 12U+3U*(image).colormap_entries+\
3158 (((image).format&PNG_FORMAT_FLAG_ALPHA)?\
3159 12U+(image).colormap_entries:0U):0U)+\
3160 12U)+(12U*((image_size)/PNG_ZBUF_SIZE))+(image_size))
3167 #define PNG_IMAGE_PNG_SIZE_MAX(image)\
3168 PNG_IMAGE_PNG_SIZE_MAX_(image, PNG_IMAGE_COMPRESSED_SIZE_MAX(image))
3201 #ifdef PNG_SET_OPTION_SUPPORTED
3202 #ifdef PNG_ARM_NEON_API_SUPPORTED
3203 # define PNG_ARM_NEON 0
3205 #define PNG_MAXIMUM_INFLATE_WINDOW 2
3206 #define PNG_SKIP_sRGB_CHECK_PROFILE 4
3207 #ifdef PNG_MIPS_MSA_API_SUPPORTED
3208 # define PNG_MIPS_MSA 6
3210 #define PNG_IGNORE_ADLER32 8
3211 #ifdef PNG_POWERPC_VSX_API_SUPPORTED
3212 # define PNG_POWERPC_VSX 10
3214 #define PNG_OPTION_NEXT 12
3217 #define PNG_OPTION_UNSET 0
3218 #define PNG_OPTION_INVALID 1
3219 #define PNG_OPTION_OFF 2
3220 #define PNG_OPTION_ON 3
3237 #ifdef PNG_EXPORT_LAST_ORDINAL
3238 PNG_EXPORT_LAST_ORDINAL(249);
#define Z_MEM_ERROR
Definition: zlib.h:183
png_byte location
Definition: png.h:634
#define PNG_FP_WAS_VALID
Definition: pngpriv.h:1912
int PNGAPI png_get_unknown_chunks(png_const_structrp png_ptr, png_inforp info_ptr, png_unknown_chunkpp unknowns)
Definition: pngget.c:1139
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
char * pcTaskGetName(TaskHandle_t xTaskToQuery)
Definition: tasks.c:2181
PRIVILEGED_FUNCTION BaseType_t xTimerGenericCommand(TimerHandle_t xTimer, const BaseType_t xCommandID, const TickType_t xOptionalValue, BaseType_t *const pxHigherPriorityTaskWoken, const TickType_t xTicksToWait)
PRIVILEGED_FUNCTION TaskHandle_t xTaskGetIdleTaskHandle(void)
#define PNG_SCALE_16_TO_8
Definition: pngpriv.h:669
#define traceTASK_DELAY()
Definition: FreeRTOS.h:526
png_row_info * png_row_infop
Definition: png.h:764
#define taskYIELD_IF_USING_PREEMPTION()
Definition: tasks.c:104
BaseType_t xTaskRemoveFromEventList(const List_t *const pxEventList)
Definition: tasks.c:2894
uint16_t usStackHighWaterMark
Definition: task.h:177
BaseType_t xQueueGenericReceive(QueueHandle_t xQueue, void *const pvBuffer, TickType_t xTicksToWait, const BaseType_t xJustPeeking)
Definition: queue.c:1237
PRIVILEGED_FUNCTION uint8_t ucQueueGetQueueType(QueueHandle_t xQueue)
#define vQueueUnregisterQueue(xQueue)
Definition: FreeRTOS.h:325
static uint8_t ucHeap[configTOTAL_HEAP_SIZE]
Definition: heap_4.c:106
static PRIVILEGED_INITIALIZED_DATA UBaseType_t uxTaskNumber
Definition: tasks.c:403
z_stream zstream
Definition: pngstruct.h:183
PRIVILEGED_FUNCTION void vListInitialiseItem(ListItem_t *const pxItem)
Definition: list.c:104
png_uint_32 adler
Definition: png.c:2247
const char items[11][6]
Definition: window_list.c:5
static PRIVILEGED_FUNCTION void prvCopyDataFromQueue(Queue_t *const pxQueue, void *const pvBuffer)
Definition: queue.c:1776
#define traceQUEUE_RECEIVE_FROM_ISR_FAILED(pxQueue)
Definition: FreeRTOS.h:498
#define PNG_NORETURN
Definition: pngconf.h:436
png_uint_32 crc
Definition: png.c:2247
PRIVILEGED_FUNCTION BaseType_t xQueueGiveMutexRecursive(QueueHandle_t pxMutex)
#define PNG_FREE_TRNS
Definition: png.h:1759
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
PRIVILEGED_FUNCTION BaseType_t xQueueAddToSet(QueueSetMemberHandle_t xQueueOrSemaphore, QueueSetHandle_t xQueueSet)
#define taskSELECT_HIGHEST_PRIORITY_TASK()
Definition: tasks.c:174
#define PNG_CHUNK_ANCILLARY(c)
Definition: pngpriv.h:897
TaskFunction_t pvTaskCode
Definition: task.h:156
#define PNG_INTERLACE_LAST
Definition: png.h:689
#define traceTAKE_MUTEX_RECURSIVE_FAILED(pxMutex)
Definition: FreeRTOS.h:450
size_t xBlockSize
Definition: heap_4.c:114
#define portPRE_TASK_DELETE_HOOK(pvTaskToDelete, pxYieldPending)
Definition: FreeRTOS.h:312
#define PNG_FREE_ROWS
Definition: png.h:1751
static PRIVILEGED_DATA List_t *volatile pxDelayedTaskList
Definition: tasks.c:378
#define png_fp_add(state, flags)
Definition: png.c:2708
#define configQUEUE_REGISTRY_SIZE
Definition: FreeRTOSConfig.h:116
#define listSET_LIST_ITEM_OWNER(pxListItem, pxOwner)
Definition: list.h:221
#define errQUEUE_FULL
Definition: projdefs.h:92
png_const_structrp png_const_inforp info_ptr png_get_y_offset_inches_fixed
Definition: png.h:2399
List_t xTasksWaitingToReceive
Definition: queue.c:143
#define PNG_FREE_SPLT
Definition: png.h:1750
void PNGAPI png_destroy_read_struct(png_structpp png_ptr_ptr, png_infopp info_ptr_ptr, png_infopp end_info_ptr_ptr)
Definition: pngread.c:1005
png_uint_32 PNGAPI png_get_sBIT(png_const_structrp png_ptr, png_inforp info_ptr, png_color_8p *sig_bit)
Definition: pngget.c:1031
BaseType_t xQueueGenericSend(QueueHandle_t xQueue, const void *const pvItemToQueue, TickType_t xTicksToWait, const BaseType_t xCopyPosition)
Definition: queue.c:723
png_set_rgb_to_gray_fixed
Definition: png.h:1083
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
int png_safe_execute(png_imagep image_in, int(*function)(png_voidp), png_voidp arg)
Definition: pngerror.c:936
BaseType_t xTaskResumeAll(void)
Definition: tasks.c:2017
#define xQueueSendToBack(xQueue, pvItemToQueue, xTicksToWait)
Definition: queue.h:437
struct png_control * png_controlp
Definition: png.h:2670
const typedef png_fixed_point * png_const_fixed_point_p
Definition: pngconf.h:592
#define PNG_16_TO_8
Definition: pngpriv.h:652
#define portMAX_DELAY
Definition: portmacro.h:106
#define tskDELETED_CHAR
Definition: tasks.c:145
void PNGAPI png_convert_from_time_t(png_timep ptime, time_t ttime)
Definition: pngwrite.c:485
BaseType_t(* TaskHookFunction_t)(void *)
Definition: task.h:109
png_fixed_point png_reciprocal(png_fixed_point a)
Definition: png.c:3488
struct png_text_struct png_text
static void png_icc_tag_name(char *name, png_uint_32 tag)
Definition: png.c:1796
static PRIVILEGED_DATA List_t xPendingReadyList
Definition: tasks.c:380
#define PNG_UNUSED(param)
Definition: pngpriv.h:438
png_voidp PNGAPI png_get_error_ptr(png_const_structrp png_ptr)
Definition: pngerror.c:856
png_color_8 * png_color_8p
Definition: png.h:508
#define taskRESET_READY_PRIORITY(uxPriority)
Definition: tasks.c:196
png_info ** png_infopp
Definition: png.h:456
ListItem_t xStateListItem
Definition: tasks.c:301
#define tmrCOMMAND_STOP_FROM_ISR
Definition: timers.h:108
#define queueOVERWRITE
Definition: queue.h:107
#define portSET_INTERRUPT_MASK_FROM_ISR()
Definition: FreeRTOS.h:300
png_get_pixel_aspect_ratio_fixed
Definition: png.h:1903
#define Z_ERRNO
Definition: zlib.h:180
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_green_X
Definition: png.h:1949
void * pvParameters
Definition: task.h:159
#define PNG_DESTROY_WILL_FREE_DATA
Definition: png.h:1744
UBaseType_t uxCurrentPriority
Definition: task.h:173
#define uxQueueType
Definition: queue.c:109
bool error
Definition: auto_build.py:637
int PNGAPI png_get_text(png_const_structrp png_ptr, png_inforp info_ptr, png_textp *text_ptr, int *num_text)
Definition: pngget.c:1049
#define traceTASK_PRIORITY_SET(pxTask, uxNewPriority)
Definition: FreeRTOS.h:530
void vApplicationIdleHook(void)
Application Idle Hook.
Definition: cpu_utils.c:75
png_const_bytep PNGAPI png_get_signature(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:477
PRIVILEGED_FUNCTION BaseType_t xTaskGenericNotifyFromISR(TaskHandle_t xTaskToNotify, uint32_t ulValue, eNotifyAction eAction, uint32_t *pulPreviousNotificationValue, BaseType_t *pxHigherPriorityTaskWoken)
eNotifyAction
Definition: task.h:123
#define Z_BUF_ERROR
Definition: zlib.h:184
static BlockLink_t * pxEnd
Definition: heap_4.c:140
struct xSTATIC_QUEUE StaticQueue_t
PRIVILEGED_FUNCTION BaseType_t xTaskGetSchedulerState(void)
void png_build_gamma_table(png_structrp png_ptr, int bit_depth)
Definition: png.c:4196
int PNGAPI png_get_palette_max(png_const_structp png_ptr, png_const_infop info_ptr)
Definition: pngget.c:1239
#define PNG_FREE_HIST
Definition: png.h:1748
UBaseType_t uxPriority
Definition: tasks.c:303
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_blue_Y
Definition: png.h:1949
#define pxMutexHolder
Definition: queue.c:108
static void png_build_16bit_table(png_structrp png_ptr, png_uint_16pp *ptable, unsigned int shift, png_fixed_point gamma_val)
Definition: png.c:3972
png_byte second
Definition: png.h:607
UBaseType_t uxTaskGetNumberOfTasks(void)
Definition: tasks.c:2173
char * png_libpng_version_1_6_36
Definition: png.h:431
void PNGAPI png_set_sRGB(png_const_structrp png_ptr, png_inforp info_ptr, int srgb_intent)
Definition: pngset.c:653
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
void(* TimerCallbackFunction_t)(TimerHandle_t xTimer)
Definition: timers.h:123
void vTaskEndScheduler(void)
Definition: tasks.c:1933
png_uint_16 blue
Definition: png.h:493
#define traceTASK_NOTIFY()
Definition: FreeRTOS.h:650
#define traceTIMER_COMMAND_SEND(xTimer, xMessageID, xMessageValueValue, xReturn)
Definition: FreeRTOS.h:558
PRIVILEGED_FUNCTION eSleepModeStatus eTaskConfirmSleepModeStatus(void)
#define PNG_UINT_31_MAX
Definition: png.h:649
offset_y
Definition: g29_auto.py:163
void PNGAPI png_set_compression_level(png_structrp png_ptr, int level)
Definition: pngwrite.c:1162
static int png_compare_ICC_profile_with_sRGB(png_const_structrp png_ptr, png_const_bytep profile, uLong adler)
Definition: png.c:2307
png_byte PNGAPI png_get_current_pass_number(png_const_structrp png_ptr)
Definition: pngtrans.c:856
void * png_voidp
Definition: pngconf.h:577
png_structrp int int png_const_fixed_point_p filter_weights
Definition: png.h:1488
png_fixed_point png_fixed(png_const_structrp png_ptr, double fp, png_const_charp text)
Definition: png.c:3316
#define tracePEND_FUNC_CALL(xFunctionToPend, pvParameter1, ulParameter2, ret)
Definition: FreeRTOS.h:622
PRIVILEGED_FUNCTION BaseType_t xTaskNotifyWait(uint32_t ulBitsToClearOnEntry, uint32_t ulBitsToClearOnExit, uint32_t *pulNotificationValue, TickType_t xTicksToWait)
#define PNG_INFO_tRNS
Definition: png.h:736
static PRIVILEGED_FUNCTION void prvInitialiseNewTask(TaskFunction_t pxTaskCode, const char *const pcName, const uint32_t ulStackDepth, void *const pvParameters, UBaseType_t uxPriority, TaskHandle_t *const pxCreatedTask, TCB_t *pxNewTCB, const MemoryRegion_t *const xRegions)
Definition: tasks.c:767
png_uint_32 PNGAPI png_get_sCAL_s(png_const_structrp png_ptr, png_const_inforp info_ptr, int *unit, png_charpp width, png_charpp height)
Definition: pngget.c:960
png_structrp int error_action
Definition: png.h:1083
void PNGAPI png_set_PLTE(png_structrp png_ptr, png_inforp info_ptr, png_const_colorp palette, int num_palette)
Definition: pngset.c:572
#define portPRIVILEGE_BIT
Definition: FreeRTOS.h:688
void PNGAPI png_read_update_info(png_structrp png_ptr, png_inforp info_ptr)
Definition: pngread.c:267
void PNGAPI png_set_chunk_malloc_max(png_structrp png_ptr, png_alloc_size_t user_chunk_malloc_max)
Definition: pngset.c:1660
void PNGAPI png_set_unknown_chunks(png_const_structrp png_ptr, png_inforp info_ptr, png_const_unknown_chunkp unknowns, int num_unknowns)
Definition: pngset.c:1200
#define portTICK_TYPE_CLEAR_INTERRUPT_MASK_FROM_ISR(x)
Definition: FreeRTOS.h:807
png_unknown_chunk * png_unknown_chunkp
Definition: png.h:638
unsigned long uLong
Definition: zconf.h:394
#define configASSERT(x)
Definition: FreeRTOSConfig.h:162
PRIVILEGED_FUNCTION BaseType_t xTaskGenericNotify(TaskHandle_t xTaskToNotify, uint32_t ulValue, eNotifyAction eAction, uint32_t *pulPreviousNotificationValue)
#define PNG_OPTION_ON
Definition: png.h:3217
uint16_t usStackDepth
Definition: task.h:158
void PNGAPI png_free(png_const_structrp png_ptr, png_voidp ptr)
Definition: pngmem.c:232
png_const_charp PNGAPI png_get_header_version(png_const_structrp png_ptr)
Definition: png.c:852
png_uint_32 PNGAPI png_get_hIST(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_16p *hist)
Definition: pngget.c:808
struct png_sPLT_entry_struct png_sPLT_entry
PRIVILEGED_FUNCTION void vTaskNotifyGiveFromISR(TaskHandle_t xTaskToNotify, BaseType_t *pxHigherPriorityTaskWoken)
tskTCB TCB_t
Definition: tasks.c:367
UBaseType_t uxItemSize
Definition: queue.c:147
eTaskState
Definition: task.h:112
#define PNG_INFO_pCAL
Definition: png.h:742
void PNGAPI png_set_swap_alpha(png_structrp png_ptr)
Definition: pngtrans.c:223
PRIVILEGED_FUNCTION BaseType_t xTaskPriorityDisinherit(TaskHandle_t const pxMutexHolder)
#define PNG_FP_SAW_ANY
Definition: pngpriv.h:1908
png_const_structrp png_const_inforp int * unit
Definition: png.h:2161
void PNGAPI png_set_iCCP(png_const_structrp png_ptr, png_inforp info_ptr, png_const_charp name, int compression_type, png_const_bytep profile, png_uint_32 proflen)
Definition: pngset.c:688
int PNGAPI png_image_begin_read_from_memory(png_imagep image, png_const_voidp memory, size_t size)
Definition: pngread.c:1564
void vPortInitialiseBlocks(void)
Definition: heap_4.c:365
void PNGAPI png_write_info(png_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngwrite.c:192
#define tracePEND_FUNC_CALL_FROM_ISR(xFunctionToPend, pvParameter1, ulParameter2, ret)
Definition: FreeRTOS.h:626
png_set_alpha_mode_fixed
Definition: png.h:1139
struct png_color_16_struct png_color_16
PNG_FUNCTION(voidpf, png_zalloc,(voidpf png_ptr, uInt items, uInt size), PNG_ALLOCATED)
Definition: png.c:97
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
BaseType_t xTaskRemoveFromUnorderedEventList(ListItem_t *pxEventListItem, const TickType_t xItemValue)
Definition: tasks.c:2962
#define queueYIELD_IF_USING_PREEMPTION()
Definition: queue.c:120
PRIVILEGED_FUNCTION QueueSetMemberHandle_t xQueueSelectFromSet(QueueSetHandle_t xQueueSet, const TickType_t xTicksToWait)
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point * int_red_Y
Definition: png.h:1949
free_func zfree
Definition: zlib.h:99
char * png_charp
Definition: pngconf.h:589
int8_t * pcReadFrom
Definition: queue.c:138
#define traceGIVE_MUTEX_RECURSIVE_FAILED(pxMutex)
Definition: FreeRTOS.h:442
png_get_sCAL_fixed
Definition: png.h:2161
void PNGAPI png_set_mem_fn(png_structrp png_ptr, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn)
Definition: pngmem.c:260
static double png_pow10(int power)
Definition: png.c:2858
PRIVILEGED_FUNCTION void * pvPortMalloc(size_t xSize)
Definition: heap_4.c:155
#define Z_DATA_ERROR
Definition: zlib.h:182
png_byte alpha
Definition: png.h:506
png_libpng_version_1_6_36 Your_png_h_is_not_version_1_6_36
Definition: png.c:17
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point * int_red_Z
Definition: png.h:1949
#define PNG_UNEXPECTED_ZLIB_RETURN
Definition: pngpriv.h:973
int PNGAPI png_set_interlace_handling(png_structrp png_ptr)
Definition: pngtrans.c:99
static PRIVILEGED_INITIALIZED_DATA volatile TickType_t xNextTaskUnblockTime
Definition: tasks.c:404
void PNGAPI png_set_scale_16(png_structrp png_ptr)
Definition: pngrtran.c:183
void PNGAPI png_set_gAMA(png_const_structrp png_ptr, png_inforp info_ptr, double file_gamma)
Definition: pngset.c:200
png_uint_16 frequency
Definition: png.h:522
PRIVILEGED_FUNCTION BaseType_t xTaskCallApplicationTaskHook(TaskHandle_t xTask, void *pvParameter)
#define PRIVILEGED_DATA
Definition: mpu_wrappers.h:205
void vTaskStartScheduler(void)
Definition: tasks.c:1826
static const struct @58 png_sRGB_checks[]
#define listCURRENT_LIST_LENGTH(pxList)
Definition: list.h:296
#define PNG_FREE_SCAL
Definition: png.h:1753
png_color ** png_colorpp
Definition: png.h:486
#define traceQUEUE_REGISTRY_ADD(xQueue, pcQueueName)
Definition: FreeRTOS.h:630
png_info *PNG_RESTRICT png_inforp
Definition: png.h:471
png_uint_32 PNGAPI png_get_pHYs_dpi(png_const_structrp png_ptr, png_const_inforp info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type)
Definition: pngget.c:421
png_struct ** png_structpp
Definition: png.h:442
png_sPLT_entryp entries
Definition: png.h:537
#define taskSWITCH_DELAYED_LISTS()
Definition: tasks.c:239
uint8_t type
Definition: UsbCore.h:184
PRIVILEGED_FUNCTION void * pvTimerGetTimerID(const TimerHandle_t xTimer)
#define errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY
Definition: projdefs.h:95
png_byte ** png_bytepp
Definition: pngconf.h:606
start
Definition: g29_auto.py:150
const char * pcTaskName
Definition: task.h:170
#define PNG_LIBPNG_VER
Definition: png.h:321
png_uint_32 PNGAPI png_permit_mng_features(png_structrp png_ptr, png_uint_32 mng_features)
Definition: pngset.c:1329
png_uint_32 warning_or_error
Definition: png.h:2704
png_uint_32 PNGAPI png_get_current_row_number(png_const_structrp png_ptr)
Definition: pngtrans.c:844
const typedef png_sPLT_entry * png_const_sPLT_entryp
Definition: png.h:525
#define pdFAIL
Definition: projdefs.h:90
const char *const pcName
Definition: task.h:157
#define portCLEAN_UP_TCB(pxTCB)
Definition: FreeRTOS.h:308
PRIVILEGED_FUNCTION void vListInsert(List_t *const pxList, ListItem_t *const pxNewListItem)
Definition: list.c:145
#define PNG_COMPOSE
Definition: pngpriv.h:649
png_uint_32 PNGAPI png_get_pHYs(png_const_structrp png_ptr, png_const_inforp info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type)
Definition: pngget.c:978
png_color * png_colorp
Definition: png.h:484
png_uint_32 PNGAPI png_get_pixels_per_inch(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:349
PRIVILEGED_FUNCTION void vTaskPriorityInherit(TaskHandle_t const pxMutexHolder)
#define tskSTACK_FILL_BYTE
Definition: tasks.c:118
xQUEUE Queue_t
Definition: queue.c:169
#define heapMINIMUM_BLOCK_SIZE
Definition: heap_4.c:95
void vTaskPlaceOnEventList(List_t *const pxEventList, const TickType_t xTicksToWait)
Definition: tasks.c:2820
#define traceTASK_RESUME_FROM_ISR(pxTaskToResume)
Definition: FreeRTOS.h:542
void vCoRoutineAddToDelayedList(TickType_t xTicksToDelay, List_t *pxEventList)
#define errQUEUE_BLOCKED
Definition: projdefs.h:96
PRIVILEGED_FUNCTION void vTaskPlaceOnEventListRestricted(List_t *const pxEventList, TickType_t xTicksToWait, const BaseType_t xWaitIndefinitely)
#define portTICK_TYPE_EXIT_CRITICAL()
Definition: FreeRTOS.h:805
#define traceTASK_PRIORITY_DISINHERIT(pxTCBOfMutexHolder, uxOriginalPriority)
Definition: FreeRTOS.h:388
#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
TickType_t uxTaskResetEventItemValue(void)
Definition: tasks.c:4162
#define PNG_MAX_GAMMA_8
Definition: pnglibconf.h:201
#define listIS_CONTAINED_WITHIN(pxList, pxListItem)
Definition: list.h:359
#define PNG_FP_FRACTION
Definition: pngpriv.h:1901
png_charp name
Definition: png.h:535
char message[64]
Definition: png.h:2706
png_uint_32 PNGAPI png_get_uint_31(png_const_structrp png_ptr, png_const_bytep buf)
Definition: pngrutil.c:22
png_uint_16 gray
Definition: png.h:494
PNG_EXPORTA(4, png_structp, png_create_read_struct,(png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn), PNG_ALLOCATED)
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
png_const_structrp png_const_inforp double double * red_Y
Definition: png.h:1939
#define Z_NEED_DICT
Definition: zlib.h:179
png_uint_32 PNGAPI png_get_valid(png_const_structrp png_ptr, png_const_inforp info_ptr, png_uint_32 flag)
Definition: pngget.c:20
uint8_t i
Definition: screen_test_graph.c:72
static PRIVILEGED_FUNCTION void prvCheckTasksWaitingTermination(void)
Definition: tasks.c:3365
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_green_Y
Definition: png.h:1949
void * TimerHandle_t
Definition: timers.h:118
Definition: L6470_Marlin.h:30
png_uint_16 png_gamma_correct(png_structrp png_ptr, unsigned int value, png_fixed_point gamma_val)
Definition: png.c:3947
png_sPLT_entry ** png_sPLT_entrypp
Definition: png.h:526
void PNGAPI png_write_row(png_structrp png_ptr, png_const_bytep row)
Definition: pngwrite.c:698
#define configNUM_THREAD_LOCAL_STORAGE_POINTERS
Definition: FreeRTOS.h:236
png_info * png_infop
Definition: png.h:454
#define PNG_INFO_PLTE
Definition: png.h:735
#define traceMALLOC(pvAddress, uiSize)
Definition: FreeRTOS.h:570
unsigned long ZEXPORT crc32(unsigned long crc, const unsigned char FAR *buf, uInt len)
Definition: crc32.c:237
#define max(a, b)
Definition: wiring_constants.h:40
volatile int8_t cTxLock
Definition: queue.c:150
static volatile fsensor_t state
Definition: filament_sensor.c:23
void PNGAPI png_set_rgb_to_gray(png_structrp png_ptr, int error_action, double red, double green)
Definition: pngrtran.c:1059
PRIVILEGED_FUNCTION TickType_t xTaskGetTickCount(void)
Definition: tasks.c:2127
static PRIVILEGED_INITIALIZED_DATA volatile BaseType_t xSchedulerRunning
Definition: tasks.c:399
void PNGAPI png_set_shift(png_structrp png_ptr, png_const_color_8p true_bits)
Definition: pngtrans.c:84
static int png_colorspace_check_XYZ(png_xy *xy, png_XYZ *XYZ)
Definition: png.c:1644
#define traceQUEUE_RECEIVE(pxQueue)
Definition: FreeRTOS.h:470
#define pcQueueGetName(xQueue)
Definition: FreeRTOS.h:326
const typedef png_struct *PNG_RESTRICT png_const_structrp
Definition: png.h:470
static PRIVILEGED_INITIALIZED_DATA volatile TickType_t xTickCount
Definition: tasks.c:397
void PNGAPI png_set_invert_mono(png_structrp png_ptr)
Definition: pngtrans.c:250
png_row_info ** png_row_infopp
Definition: png.h:765
png_time ** png_timepp
Definition: png.h:611
const typedef png_color * png_const_colorp
Definition: png.h:485
#define tmrCOMMAND_EXECUTE_CALLBACK
Definition: timers.h:97
PRIVILEGED_FUNCTION UBaseType_t uxQueueGetQueueNumber(QueueHandle_t xQueue)
#define PNG_FREE_ALL
Definition: png.h:1762
png_uint_32 PNGAPI png_get_eXIf(png_const_structrp png_ptr, png_inforp info_ptr, png_bytep *exif)
Definition: pngget.c:779
void PNGAPI png_set_eXIf(png_const_structrp png_ptr, png_inforp info_ptr, png_bytep eXIf_buf)
Definition: pngset.c:139
#define queueLOCKED_UNMODIFIED
Definition: queue.c:95
png_voidp PNGAPI png_get_mem_ptr(png_const_structrp png_ptr)
Definition: pngmem.c:276
float PNGAPI png_get_x_offset_inches(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:399
void PNGAPI png_set_sBIT(png_const_structrp png_ptr, png_inforp info_ptr, png_const_color_8p sig_bit)
Definition: pngset.c:638
PRIVILEGED_FUNCTION void vTimerSetTimerID(TimerHandle_t xTimer, void *pvNewID)
#define PNG_COLOR_TYPE_RGB_ALPHA
Definition: png.h:671
static PRIVILEGED_FUNCTION void prvInitialiseNewQueue(const UBaseType_t uxQueueLength, const UBaseType_t uxItemSize, uint8_t *pucQueueStorage, const uint8_t ucQueueType, Queue_t *pxNewQueue)
Definition: queue.c:432
#define listGET_OWNER_OF_HEAD_ENTRY(pxList)
Definition: list.h:348
unsigned int for_write
Definition: pngpriv.h:2044
uint32_t ulRunTimeCounter
Definition: task.h:175
png_const_charp PNGAPI png_get_header_ver(png_const_structrp png_ptr)
Definition: png.c:844
png_byte PNGAPI png_get_interlace_type(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:97
void PNGAPI png_set_cHRM(png_const_structrp png_ptr, png_inforp info_ptr, double white_x, double white_y, double red_x, double red_y, double green_x, double green_y, double blue_x, double blue_y)
Definition: pngset.c:102
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 A(CODE)
Definition: macros.h:75
PRIVILEGED_FUNCTION BaseType_t xQueueRemoveFromSet(QueueSetMemberHandle_t xQueueOrSemaphore, QueueSetHandle_t xQueueSet)
png_const_structrp png_const_inforp int png_fixed_point * width
Definition: png.h:2161
#define PNG_FILTER_TYPE_BASE
Definition: png.h:682
png_structrp png_const_color_16p int int need_expand
Definition: png.h:1302
const png_uint_16 png_sRGB_base[512]
Definition: png.c:4413
size_t xPortGetMinimumEverFreeHeapSize(void)
Definition: heap_4.c:359
void * QueueSetHandle_t
Definition: queue.h:95
PRIVILEGED_FUNCTION void vTaskMissedYield(void)
Definition: tasks.c:3076
#define PNG_FLAG_CRC_CRITICAL_IGNORE
Definition: pngpriv.h:690
#define tskSTATICALLY_ALLOCATED_STACK_ONLY
Definition: tasks.c:137
PRIVILEGED_FUNCTION eTaskState eTaskGetState(TaskHandle_t xTask)
#define png_fp_set(state, value)
Definition: png.c:2709
void PNGAPI png_write_chunk_start(png_structrp png_ptr, png_const_bytep chunk_string, png_uint_32 length)
Definition: pngwutil.c:115
void PNGAPI png_set_strip_16(png_structrp png_ptr)
Definition: pngrtran.c:197
PRIVILEGED_FUNCTION void vListInitialise(List_t *const pxList)
Definition: list.c:79
int8_t * pcWriteTo
Definition: queue.c:134
#define traceTASK_NOTIFY_WAIT()
Definition: FreeRTOS.h:646
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
void PNGAPI png_set_compression_buffer_size(png_structrp png_ptr, size_t size)
Definition: pngset.c:1566
PRIVILEGED_FUNCTION void vListInsertEnd(List_t *const pxList, ListItem_t *const pxNewListItem)
Definition: list.c:116
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point * int_red_X
Definition: png.h:1949
void PNGAPI png_set_pCAL(png_const_structrp png_ptr, png_inforp info_ptr, png_const_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams, png_const_charp units, png_charpp params)
Definition: pngset.c:312
const typedef png_sPLT_t * png_const_sPLT_tp
Definition: png.h:541
struct png_image * png_imagep
BaseType_t xQueueCRSendFromISR(QueueHandle_t xQueue, const void *pvItemToQueue, BaseType_t xCoRoutinePreviouslyWoken)
List_t xTasksWaitingToSend
Definition: queue.c:142
png_byte name[5]
Definition: png.h:624
static PRIVILEGED_FUNCTION BaseType_t prvIsQueueFull(const Queue_t *pxQueue)
Definition: queue.c:1953
UBaseType_t xTaskNumber
Definition: task.h:171
png_text ** png_textpp
Definition: png.h:581
png_uint_32 PNGAPI png_get_y_pixels_per_inch(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:361
png_uint_32 PNGAPI png_get_user_width_max(png_const_structrp png_ptr)
Definition: pngget.c:1195
#define PNG_FP_SAW_E
Definition: pngpriv.h:1907
void PNGAPI png_destroy_write_struct(png_structpp png_ptr_ptr, png_infopp info_ptr_ptr)
Definition: pngwrite.c:983
#define traceINCREASE_TICK_COUNT(x)
Definition: FreeRTOS.h:355
struct png_time_struct png_time
void vTaskSwitchContext(void)
Definition: tasks.c:2761
#define PNG_INTRAPIXEL_DIFFERENCING
Definition: png.h:683
png_int_32 PNGAPI png_get_y_offset_microns(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:256
png_byte is_broken
Definition: png.c:2250
#define PNG_FP_SAW_SIGN
Definition: pngpriv.h:1904
#define png_voidcast(type, value)
Definition: pngpriv.h:494
const typedef png_unknown_chunk * png_const_unknown_chunkp
Definition: png.h:639
png_const_structrp png_const_inforp double * red_X
Definition: png.h:1939
png_color_16 ** png_color_16pp
Definition: png.h:498
#define tskREADY_CHAR
Definition: tasks.c:144
#define traceTASK_NOTIFY_TAKE_BLOCK()
Definition: FreeRTOS.h:634
typedef PNG_CALLBACK(void, *png_error_ptr,(png_structp, png_const_charp))
#define NULL
Definition: usbd_def.h:53
png_uint_32 width
Definition: png.h:756
UBaseType_t uxQueueMessagesWaitingFromISR(const QueueHandle_t xQueue)
Definition: queue.c:1613
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point *int_blue_Z png_set_cHRM_XYZ
Definition: png.h:1963
#define XYZ
Definition: macros.h:27
void PNGAPI png_set_check_for_invalid_index(png_structrp png_ptr, int allowed)
Definition: pngset.c:1701
png_set_background_fixed
Definition: png.h:1302
png_sPLT_entry * png_sPLT_entryp
Definition: png.h:524
png_uint_32 PNGAPI png_get_image_height(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:61
BaseType_t xQueueGenericReset(QueueHandle_t xQueue, BaseType_t xNewQueue)
Definition: queue.c:279
struct png_unknown_chunk_t png_unknown_chunk
#define heapBITS_PER_BYTE
Definition: heap_4.c:98
PRIVILEGED_FUNCTION void vTaskSuspend(TaskHandle_t xTaskToSuspend)
void PNGAPI png_set_strip_alpha(png_structrp png_ptr)
Definition: pngrtran.c:210
#define pdPASS
Definition: projdefs.h:89
png_structrp png_ptr
Definition: png.h:1083
png_get_cHRM_XYZ
Definition: png.h:1939
#define portSUPPRESS_TICKS_AND_SLEEP(xExpectedIdleTime)
Definition: FreeRTOS.h:696
int png_check_fp_number(png_const_charp string, size_t size, int *statep, png_size_tp whereami)
Definition: png.c:2712
#define PNG_ALLOCATED
Definition: pngconf.h:439
#define PNG_COLOR_TYPE_RGB
Definition: png.h:670
#define traceTAKE_MUTEX_RECURSIVE(pxMutex)
Definition: FreeRTOS.h:446
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
#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
#define PNG_NUMBER_BUFFER_SIZE
Definition: pngpriv.h:1752
size_t text_length
Definition: png.h:572
png_uint_32 PNGAPI png_get_cHRM_fixed(png_const_structrp png_ptr, png_const_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: pngget.c:641
int png_user_version_check(png_structrp png_ptr, png_const_charp user_png_ver)
Definition: png.c:193
png_uint_16 year
Definition: png.h:602
#define PNG_INFO_gAMA
Definition: png.h:732
default
Definition: createSpeedLookupTable.py:15
Byte FAR * voidpf
Definition: zconf.h:413
static int png_image_free_function(png_voidp argument)
Definition: png.c:4522
#define PRIVILEGED_FUNCTION
Definition: mpu_wrappers.h:204
PNG_FUNCTION(void,(PNGCAPI *png_longjmp_ptr), PNGARG((jmp_buf, int)), typedef)
PRIVILEGED_FUNCTION BaseType_t xTaskAbortDelay(TaskHandle_t xTask)
png_byte month
Definition: png.h:603
png_uint_32 PNGAPI png_get_IHDR(png_const_structrp png_ptr, png_const_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: pngget.c:825
Definition: FreeRTOS.h:968
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS()
Definition: FreeRTOS.h:680
uint32_t TickType_t
Definition: portmacro.h:105
static PRIVILEGED_DATA List_t xDelayedTaskList2
Definition: tasks.c:377
png_byte PNGAPI png_get_filter_type(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:88
#define queueUNLOCKED
Definition: queue.c:94
png_bytepp PNGAPI png_get_rows(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:40
void PNGAPI png_start_read_image(png_structrp png_ptr)
Definition: pngread.c:298
void PNGAPI png_set_palette_to_rgb(png_structrp png_ptr)
Definition: pngrtran.c:902
#define traceTASK_SUSPEND(pxTaskToSuspend)
Definition: FreeRTOS.h:534
struct png_row_info_struct png_row_info
unsigned int png_uint_32
Definition: pngconf.h:511
PRIVILEGED_FUNCTION BaseType_t xQueueTakeMutexRecursive(QueueHandle_t xMutex, TickType_t xTicksToWait)
PRIVILEGED_FUNCTION void vQueueWaitForMessageRestricted(QueueHandle_t xQueue, TickType_t xTicksToWait, const BaseType_t xWaitIndefinitely)
#define tmrFIRST_FROM_ISR_COMMAND
Definition: timers.h:105
BaseType_t xQueueGiveFromISR(QueueHandle_t xQueue, BaseType_t *const pxHigherPriorityTaskWoken)
Definition: queue.c:1072
#define tmrCOMMAND_STOP
Definition: timers.h:101
#define PNG_USER_WILL_FREE_DATA
Definition: png.h:1746
StackType_t * pxStack
Definition: tasks.c:304
#define PNG_INFO_eXIf
Definition: png.h:748
void PNGAPI png_set_progressive_read_fn(png_structrp png_ptr, png_voidp progressive_ptr, png_progressive_info_ptr info_fn, png_progressive_row_ptr row_fn, png_progressive_end_ptr end_fn)
Definition: pngpread.c:1074
void PNGAPI png_image_free(png_imagep image)
Definition: png.c:4582
PRIVILEGED_FUNCTION QueueSetHandle_t xQueueCreateSet(const UBaseType_t uxEventQueueLength)
struct xSTATIC_TIMER StaticTimer_t
#define Z_NULL
Definition: zlib.h:212
void PNGAPI png_set_rows(png_const_structrp png_ptr, png_inforp info_ptr, png_bytepp row_pointers)
Definition: pngset.c:1546
PRIVILEGED_FUNCTION BaseType_t xTimerPendFunctionCallFromISR(PendedFunction_t xFunctionToPend, void *pvParameter1, uint32_t ulParameter2, BaseType_t *pxHigherPriorityTaskWoken)
#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
#define traceQUEUE_SEND_FROM_ISR_FAILED(pxQueue)
Definition: FreeRTOS.h:490
png_uint_16(PNGAPI png_get_uint_16)(png_const_bytep buf)
Definition: pngrutil.c:102
#define PNG_NUMBER_FORMAT_u
Definition: pngpriv.h:1757
#define listGET_LIST_ITEM_VALUE(pxListItem)
Definition: list.h:249
volatile StackType_t * pxTopOfStack
Definition: tasks.c:295
png_uint_32 PNGAPI png_get_oFFs(png_const_structrp png_ptr, png_const_inforp info_ptr, png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type)
Definition: pngget.c:870
#define traceQUEUE_PEEK_FROM_ISR(pxQueue)
Definition: FreeRTOS.h:478
#define traceQUEUE_SEND_FAILED(pxQueue)
Definition: FreeRTOS.h:466
png_voidp PNGAPI png_get_io_ptr(png_const_structrp png_ptr)
Definition: png.c:686
PRIVILEGED_FUNCTION BaseType_t xTaskRemoveFromEventList(const List_t *const pxEventList)
Definition: tasks.c:2894
#define PNG_FREE_EXIF
Definition: png.h:1761
BaseType_t xQueueReceiveFromISR(QueueHandle_t xQueue, void *const pvBuffer, BaseType_t *const pxHigherPriorityTaskWoken)
Definition: queue.c:1434
#define listSET_LIST_ITEM_VALUE(pxListItem, xValue)
Definition: list.h:239
PRIVILEGED_FUNCTION BaseType_t xTaskResumeFromISR(TaskHandle_t xTaskToResume)
#define listGET_ITEM_VALUE_OF_HEAD_ENTRY(pxList)
Definition: list.h:258
PRIVILEGED_FUNCTION QueueHandle_t xQueueCreateMutex(const uint8_t ucQueueType)
const typedef png_uint_16 * png_const_uint_16p
Definition: pngconf.h:586
#define PNG_USER_CHUNK_MALLOC_MAX
Definition: pnglibconf.h:208
void PNGAPI png_set_expand(png_structrp png_ptr)
Definition: pngrtran.c:872
void PNGAPI png_set_hIST(png_const_structrp png_ptr, png_inforp info_ptr, png_const_uint_16p hist)
Definition: pngset.c:210
static size_t xMinimumEverFreeBytesRemaining
Definition: heap_4.c:145
#define PNG_FLAG_CRC_ANCILLARY_USE
Definition: pngpriv.h:687
#define taskENTER_CRITICAL()
Definition: task.h:217
#define PNGARG(arglist)
Definition: pngconf.h:94
#define portBYTE_ALIGNMENT
Definition: portmacro.h:117
PRIVILEGED_FUNCTION QueueHandle_t xQueueCreateCountingSemaphore(const UBaseType_t uxMaxCount, const UBaseType_t uxInitialCount)
#define PNG_OPTION_INVALID
Definition: png.h:3215
png_structrp int png_fixed_point red
Definition: png.h:1083
#define PNG_FREE_ICCP
Definition: png.h:1749
BaseType_t xQueueCRReceiveFromISR(QueueHandle_t xQueue, void *pvBuffer, BaseType_t *pxTaskWoken)
void PNGAPI png_chunk_warning(png_const_structrp png_ptr, png_const_charp warning_message)
Definition: pngerror.c:497
png_color_8 ** png_color_8pp
Definition: png.h:510
void PNGAPI png_set_gray_to_rgb(png_structrp png_ptr)
Definition: pngrtran.c:955
static size_t xFreeBytesRemaining
Definition: heap_4.c:144
#define PNGCAPI
Definition: pngconf.h:255
png_byte PNGAPI png_get_rgb_to_gray_status(png_const_structrp png_ptr)
Definition: pngget.c:1154
static size_t xBlockAllocatedBit
Definition: heap_4.c:151
struct A_BLOCK_LINK * pxNextFreeBlock
Definition: heap_4.c:113
static PRIVILEGED_INITIALIZED_DATA TaskHandle_t xIdleTaskHandle
Definition: tasks.c:405
PRIVILEGED_FUNCTION BaseType_t xTimerPendFunctionCall(PendedFunction_t xFunctionToPend, void *pvParameter1, uint32_t ulParameter2, TickType_t xTicksToWait)
struct png_color_struct png_color
PRIVILEGED_FUNCTION void vTaskPlaceOnEventList(List_t *const pxEventList, const TickType_t xTicksToWait)
Definition: tasks.c:2820
png_get_x_offset_inches_fixed
Definition: png.h:2392
void * TaskHandle_t
Definition: task.h:103
#define APPEND_STRING(string)
PRIVILEGED_FUNCTION void * pvTaskIncrementMutexHeldCount(void)
#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
png_byte gray
Definition: png.h:505
PNG_EXPORT(1, png_uint_32, png_access_version_number,(void))
struct png_sPLT_struct png_sPLT_t
#define pdFALSE
Definition: projdefs.h:86
#define PNG_ICC_CHECKSUM(adler, crc, md5, intent, broke, date, length, fname)
Definition: png.c:2254
#define PNG_NUMBER_FORMAT_02u
Definition: pngpriv.h:1758
PRIVILEGED_FUNCTION void vTaskDelete(TaskHandle_t xTaskToDelete)
float PNGAPI png_get_y_offset_inches(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:410
png_int_32 PNGAPI png_get_x_offset_pixels(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:276
void png_chunk_report(png_const_structrp png_ptr, png_const_charp message, int error)
Definition: pngerror.c:531
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
PRIVILEGED_FUNCTION QueueHandle_t xQueueCreateCountingSemaphoreStatic(const UBaseType_t uxMaxCount, const UBaseType_t uxInitialCount, StaticQueue_t *pxStaticQueue)
#define portTICK_TYPE_SET_INTERRUPT_MASK_FROM_ISR()
Definition: FreeRTOS.h:806
BaseType_t xQueuePeekFromISR(QueueHandle_t xQueue, void *const pvBuffer)
Definition: queue.c:1525
static PRIVILEGED_FUNCTION void prvAddCurrentTaskToDelayedList(TickType_t xTicksToWait, const BaseType_t xCanBlockIndefinitely)
Definition: tasks.c:4692
void PNGAPI png_set_text(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text)
Definition: pngset.c:762
int png_colorspace_set_ICC(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile, int color_type)
Definition: png.c:2442
PRIVILEGED_FUNCTION TaskHandle_t xTaskGetHandle(const char *pcNameToQuery)
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_green_Z
Definition: png.h:1949
#define traceTIMER_EXPIRED(pxTimer)
Definition: FreeRTOS.h:562
png_const_structrp png_const_inforp double double double double double double double * blue_X
Definition: png.h:1939
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
#define PNG_FREE_PLTE
Definition: png.h:1758
png_int_32 PNGAPI png_get_y_offset_pixels(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:296
void vPortFree(void *pv)
Definition: heap_4.c:305
#define traceCREATE_MUTEX(pxNewQueue)
Definition: FreeRTOS.h:430
png_uint_16 green
Definition: png.h:492
#define queueQUEUE_TYPE_SET
Definition: queue.h:111
void PNGAPI png_build_grayscale_palette(int bit_depth, png_colorp palette)
Definition: png.c:875
static int png_icc_profile_error(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_alloc_size_t value, png_const_charp reason)
Definition: png.c:1823
PRIVILEGED_FUNCTION UBaseType_t uxTaskGetSystemState(TaskStatus_t *const pxTaskStatusArray, const UBaseType_t uxArraySize, uint32_t *const pulTotalRunTime)
png_byte color_type
Definition: png.h:758
void PNGAPI png_process_data(png_structrp png_ptr, png_inforp info_ptr, png_bytep buffer, size_t buffer_size)
Definition: pngpread.c:36
#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
static PRIVILEGED_FUNCTION void prvInitialiseTaskLists(void)
Definition: tasks.c:3333
unsigned long UBaseType_t
Definition: portmacro.h:99
png_byte blue
Definition: png.h:482
#define traceLOW_POWER_IDLE_END()
Definition: FreeRTOS.h:365
union QueueDefinition::@57 u
png_set_gamma_fixed
Definition: png.h:1352
png_charp key
Definition: png.h:569
#define prvLockQueue(pxQueue)
Definition: queue.c:264
png_charp text
Definition: png.h:570
#define traceTASK_NOTIFY_WAIT_BLOCK()
Definition: FreeRTOS.h:642
#define traceTASK_RESUME(pxTaskToResume)
Definition: FreeRTOS.h:538
png_uint_32 PNGAPI png_get_bKGD(png_const_structrp png_ptr, png_inforp info_ptr, png_color_16p *background)
Definition: pngget.c:488
#define png_debug(l, m)
Definition: pngdebug.h:145
#define traceTASK_SWITCHED_OUT()
Definition: FreeRTOSConfig.h:92
Definition: FreeRTOS.h:1041
PRIVILEGED_FUNCTION UBaseType_t uxListRemove(ListItem_t *const pxItemToRemove)
Definition: list.c:212
#define PRIVILEGED_INITIALIZED_DATA
Definition: mpu_wrappers.h:206
#define PNG_FP_EXPONENT
Definition: pngpriv.h:1902
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
void png_ascii_from_fp(png_const_structrp png_ptr, png_charp ascii, size_t size, double fp, unsigned int precision)
Definition: png.c:2903
const typedef png_info *PNG_RESTRICT png_const_inforp
Definition: png.h:472
png_color_16 * png_color_16p
Definition: png.h:496
png_byte green
Definition: png.h:481
png_uint_16 alpha
Definition: png.h:521
PRIVILEGED_FUNCTION TaskHandle_t xTaskGetCurrentTaskHandle(void)
void PNGAPI png_free_data(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_32 mask, int num)
Definition: png.c:471
#define prvAddTaskToReadyList(pxTCB)
Definition: tasks.c:259
#define listGET_LIST_ITEM_OWNER(pxListItem)
Definition: list.h:230
PRIVILEGED_FUNCTION UBaseType_t uxTaskPriorityGet(TaskHandle_t xTask)
png_uint_32 md5[4]
Definition: png.c:2248
#define configMINIMAL_STACK_SIZE
Definition: FreeRTOSConfig.h:111
png_unknown_chunk ** png_unknown_chunkpp
Definition: png.h:640
#define traceQUEUE_PEEK(pxQueue)
Definition: FreeRTOS.h:474
void PNGAPI png_set_text_compression_window_bits(png_structrp png_ptr, int window_bits)
Definition: pngwrite.c:1284
eSleepModeStatus
Definition: task.h:181
void png_icc_set_sRGB(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_bytep profile, uLong adler)
Definition: png.c:2428
void PNGAPI png_set_expand_16(png_structrp png_ptr)
Definition: pngrtran.c:942
png_fixed_point png_muldiv_warn(png_const_structrp png_ptr, png_fixed_point a, png_int_32 times, png_int_32 divisor)
Definition: png.c:3472
#define configMAX_PRIORITIES
Definition: FreeRTOSConfig.h:110
PRIVILEGED_FUNCTION BaseType_t xPortStartScheduler(void)
Definition: port.c:312
void PNGAPI png_set_invert_alpha(png_structrp png_ptr)
Definition: pngtrans.c:237
void PNGAPI png_write_end(png_structrp png_ptr, png_inforp info_ptr)
Definition: pngwrite.c:358
png_byte png_gamma_8bit_correct(unsigned int value, png_fixed_point gamma_val)
Definition: png.c:3864
struct A_BLOCK_LINK BlockLink_t
const PRIVILEGED_FUNCTION char * pcTimerGetName(TimerHandle_t xTimer)
#define configTOTAL_HEAP_SIZE
Definition: FreeRTOSConfig.h:112
void
Definition: png.h:1083
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_get_cHRM_XYZ_fixed
Definition: png.h:1949
static PRIVILEGED_INITIALIZED_DATA volatile UBaseType_t uxSchedulerSuspended
Definition: tasks.c:415
void PNGAPI png_write_chunk_data(png_structrp png_ptr, png_const_bytep data, size_t length)
Definition: pngwutil.c:127
int png_muldiv(png_fixed_point_p res, png_fixed_point a, png_int_32 times, png_int_32 divisor)
Definition: png.c:3349
#define png_get_uint_16(buf)
Definition: png.h:2599
#define portDISABLE_INTERRUPTS()
Definition: portmacro.h:143
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 tmrCOMMAND_START_DONT_TRACE
Definition: timers.h:98
#define traceQUEUE_PEEK_FROM_ISR_FAILED(pxQueue)
Definition: FreeRTOS.h:502
PRIVILEGED_FUNCTION void * xQueueGetMutexHolder(QueueHandle_t xSemaphore)
int PNGAPI png_get_sPLT(png_const_structrp png_ptr, png_inforp info_ptr, png_sPLT_tpp spalettes)
Definition: pngget.c:764
#define portASSERT_IF_IN_ISR()
Definition: FreeRTOS.h:756
void * pvPortMalloc(size_t xWantedSize)
Definition: heap_4.c:155
PRIVILEGED_FUNCTION void vTaskResume(TaskHandle_t xTaskToResume)
void * QueueSetMemberHandle_t
Definition: queue.h:102
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
void PNGAPI png_read_png(png_structrp png_ptr, png_inforp info_ptr, int transforms, voidp params)
Definition: pngread.c:1043
#define PNG_COMPRESSION_TYPE_BASE
Definition: png.h:678
#define xQueueSendToBackFromISR(xQueue, pvItemToQueue, pxHigherPriorityTaskWoken)
Definition: queue.h:1200
png_const_structrp png_const_inforp double double double double * green_X
Definition: png.h:1939
png_byte PNGAPI png_get_channels(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:467
#define Z_OK
Definition: zlib.h:177
int png_image_error(png_imagep image, png_const_charp error_message)
Definition: png.c:4598
volatile int8_t cRxLock
Definition: queue.c:149
#define traceBLOCKING_ON_QUEUE_SEND(pxQueue)
Definition: FreeRTOS.h:404
png_uint_32 PNGAPI png_get_tIME(png_const_structrp png_ptr, png_inforp info_ptr, png_timep *mod_time)
Definition: pngget.c:1075
static PRIVILEGED_FUNCTION BaseType_t prvIsQueueEmpty(const Queue_t *pxQueue)
Definition: queue.c:1914
size_t PNGAPI png_get_rowbytes(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:30
void PNGAPI png_set_crc_action(png_structrp png_ptr, int crit_action, int ancil_action)
Definition: pngrtran.c:36
MemoryRegion_t xRegions[portNUM_CONFIGURABLE_REGIONS]
Definition: task.h:162
static void prvInsertBlockIntoFreeList(BlockLink_t *pxBlockToInsert)
Definition: heap_4.c:419
png_structrp int int num_weights
Definition: png.h:1488
static PRIVILEGED_DATA List_t xDelayedTaskList1
Definition: tasks.c:376
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
int PNGAPI png_image_begin_read_from_stdio(png_imagep image, FILE *file)
Definition: pngread.c:1466
int png_colorspace_set_chromaticities(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_xy *xy, int preferred)
Definition: png.c:1720
void png_colorspace_sync_info(png_const_structrp png_ptr, png_inforp info_ptr)
Definition: png.c:1169
portSTACK_TYPE StackType_t
Definition: portmacro.h:97
void PNGAPI png_set_alpha_mode(png_structrp png_ptr, int mode, double output_gamma)
Definition: pngrtran.c:400
PRIVILEGED_FUNCTION void vQueueSetQueueNumber(QueueHandle_t xQueue, UBaseType_t uxQueueNumber)
#define PNG_USER_HEIGHT_MAX
Definition: pnglibconf.h:209
static int is_ICC_signature(png_alloc_size_t it)
Definition: png.c:1814
png_const_bytep memory
Definition: pngpriv.h:2041
void PNGAPI png_set_chunk_cache_max(png_structrp png_ptr, png_uint_32 user_chunk_cache_max)
Definition: pngset.c:1652
void PNGAPI png_set_sCAL(png_const_structrp png_ptr, png_inforp info_ptr, int unit, double width, double height)
Definition: pngset.c:497
unsigned int owned_file
Definition: pngpriv.h:2045
static int png_colorspace_endpoints_match(const png_xy *xy1, const png_xy *xy2, int delta)
Definition: png.c:1592
PRIVILEGED_FUNCTION BaseType_t xTimerCreateTimerTask(void)
#define traceTASK_SWITCHED_IN()
Definition: FreeRTOSConfig.h:89
#define taskSCHEDULER_NOT_STARTED
Definition: task.h:258
#define PNG_SKIP_sRGB_CHECK_PROFILE
Definition: png.h:3203
void PNGAPI png_set_bKGD(png_const_structrp png_ptr, png_inforp info_ptr, png_const_color_16p background)
Definition: pngset.c:25
Definition: pngpriv.h:2035
void PNGAPI png_set_benign_errors(png_structrp png_ptr, int allowed)
Definition: pngset.c:1671
alloc_func zalloc
Definition: zlib.h:98
#define PNG_INFO_sCAL
Definition: png.h:746
#define PNG_FREE_TEXT
Definition: png.h:1760
#define traceCREATE_COUNTING_SEMAPHORE()
Definition: FreeRTOS.h:454
png_voidp error_buf
Definition: pngpriv.h:2039
jmp_buf *PNGAPI png_set_longjmp_fn(png_structrp png_ptr, png_longjmp_ptr longjmp_fn, size_t jmp_buf_size)
Definition: pngerror.c:597
size_t itxt_length
Definition: png.h:573
BaseType_t xQueueIsQueueFullFromISR(const QueueHandle_t xQueue)
Definition: queue.c:1974
#define PNG_HANDLE_CHUNK_AS_DEFAULT
Definition: png.h:2345
#define listLIST_IS_EMPTY(pxList)
Definition: list.h:291
StackType_t * puxStackBuffer
Definition: task.h:161
png_byte blue
Definition: png.h:504
png_uint_32 PNGAPI png_get_y_pixels_per_meter(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:137
#define APPEND_NUMBER(format, value)
const typedef png_text * png_const_textp
Definition: png.h:580
#define portRESET_READY_PRIORITY(uxPriority, uxTopReadyPriority)
Definition: tasks.c:197
png_uint_16 png_gamma_16bit_correct(unsigned int value, png_fixed_point gamma_val)
Definition: png.c:3912
#define taskYIELD()
Definition: task.h:203
#define traceGIVE_MUTEX_RECURSIVE(pxMutex)
Definition: FreeRTOS.h:438
list a
Definition: createSpeedLookupTable.py:29
#define portPOINTER_SIZE_TYPE
Definition: FreeRTOS.h:330
void PNGAPI png_read_image(png_structrp png_ptr, png_bytepp image)
Definition: pngread.c:700
#define traceQUEUE_RECEIVE_FROM_ISR(pxQueue)
Definition: FreeRTOS.h:494
static const png_byte D50_nCIEXYZ[12]
Definition: png.c:1966
#define xQueueSendFromISR(xQueue, pvItemToQueue, pxHigherPriorityTaskWoken)
Definition: queue.h:1361
png_uint_32 PNGAPI png_get_eXIf_1(png_const_structrp png_ptr, png_const_inforp info_ptr, png_uint_32 *num_exif, png_bytep *exif)
Definition: pngget.c:789
int PNGAPI png_image_begin_read_from_file(png_imagep image, const char *file_name)
Definition: pngread.c:1496
static void png_build_8bit_table(png_structrp png_ptr, png_bytepp ptable, png_fixed_point gamma_val)
Definition: png.c:4117
void png_zstream_error(png_structrp png_ptr, int ret)
Definition: png.c:998
Definition: FreeRTOS.h:910
png_uint_32 PNGAPI png_get_io_state(png_const_structrp png_ptr)
Definition: pngget.c:1224
#define png_get_uint_32(buf)
Definition: png.h:2598
png_uint_32 PNGAPI png_get_tRNS(png_const_structrp png_ptr, png_inforp info_ptr, png_bytep *trans_alpha, int *num_trans, png_color_16p *trans_color)
Definition: pngget.c:1093
#define tmrCOMMAND_DELETE
Definition: timers.h:103
png_charp lang_key
Definition: png.h:576
void PNGAPI png_set_packswap(png_structrp png_ptr)
Definition: pngtrans.c:70
ListItem_t xEventListItem
Definition: tasks.c:302
void PNGAPI png_set_eXIf_1(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_32 num_exif, png_bytep eXIf_buf)
Definition: pngset.c:148
#define taskSCHEDULER_SUSPENDED
Definition: task.h:257
int PNGAPI png_set_option(png_structrp png_ptr, int option, int onoff)
Definition: png.c:4332
png_uint_32 PNGAPI png_get_x_pixels_per_inch(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:355
png_byte depth
Definition: png.h:536
TickType_t xTaskGetTickCount(void)
Definition: tasks.c:2127
static UBaseType_t uxCriticalNesting
Definition: port.c:157
#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
static char png_icc_tag_char(png_uint_32 byte)
Definition: png.c:1786
png_uint_16 green
Definition: png.h:519
png_byte * data
Definition: png.h:625
void PNGAPI png_set_filler(png_structrp png_ptr, png_uint_32 filler, int filler_loc)
Definition: pngtrans.c:120
char pcTaskName[configMAX_TASK_NAME_LEN]
Definition: tasks.c:305
float PNGAPI png_get_pixel_aspect_ratio(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:181
void png_reset_crc(png_structrp png_ptr)
Definition: png.c:127
void vTaskSetTimeOutState(TimeOut_t *const pxTimeOut)
Definition: tasks.c:3007
void(* TaskFunction_t)(void *)
Definition: projdefs.h:77
#define PNG_INFO_sPLT
Definition: png.h:745
UBaseType_t uxQueueMessagesWaiting(const QueueHandle_t xQueue)
Definition: queue.c:1579
void png_colorspace_sync(png_const_structrp png_ptr, png_inforp info_ptr)
Definition: png.c:1215
#define traceFREE(pvAddress, uiSize)
Definition: FreeRTOS.h:574
#define tmrCOMMAND_RESET
Definition: timers.h:100
void PNGAPI png_set_sCAL_s(png_const_structrp png_ptr, png_inforp info_ptr, int unit, png_const_charp swidth, png_const_charp sheight)
Definition: pngset.c:430
void PNGAPI png_set_text_compression_level(png_structrp png_ptr, int level)
Definition: pngwrite.c:1248
const uint8_t[]
Definition: 404_html.c:3
#define tskBLOCKED_CHAR
Definition: tasks.c:143
Definition: pngstruct.h:143
char ** png_charpp
Definition: pngconf.h:612
static PRIVILEGED_FUNCTION void prvAddNewTaskToReadyList(TCB_t *pxNewTCB)
Definition: tasks.c:963
PRIVILEGED_FUNCTION void vTaskPrioritySet(TaskHandle_t xTask, UBaseType_t uxNewPriority)
static PRIVILEGED_FUNCTION void prvUnlockQueue(Queue_t *const pxQueue)
Definition: queue.c:1794
int png_icc_check_header(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile, int color_type)
Definition: png.c:2014
png_struct * png_structp
Definition: png.h:441
png_uint_32 PNGAPI png_get_image_width(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:52
PRIVILEGED_INITIALIZED_DATA TCB_t *volatile pxCurrentTCB
Definition: tasks.c:372
int png_icc_check_length(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length)
Definition: png.c:1981
#define errQUEUE_YIELD
Definition: projdefs.h:97
static void prvResetNextTaskUnblockTime(void)
Definition: tasks.c:3635
static void prvHeapInit(void)
Definition: heap_4.c:371
png_uint_16 ** png_uint_16pp
Definition: pngconf.h:609
#define traceQUEUE_SEND_FROM_ISR(pxQueue)
Definition: FreeRTOS.h:486
int png_colorspace_set_endpoints(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_XYZ *XYZ_in, int preferred)
Definition: png.c:1757
BaseType_t xQueueCRSend(QueueHandle_t xQueue, const void *pvItemToQueue, TickType_t xTicksToWait)
const typedef void * png_const_voidp
Definition: pngconf.h:578
size_t xPortGetFreeHeapSize(void)
Definition: heap_4.c:353
void PNGAPI png_set_text_compression_strategy(png_structrp png_ptr, int strategy)
Definition: pngwrite.c:1270
#define taskCHECK_FOR_STACK_OVERFLOW()
Definition: StackMacros.h:165
#define PNG_CHUNK_WARNING
Definition: pngpriv.h:1842
#define errQUEUE_EMPTY
Definition: projdefs.h:91
volatile UBaseType_t uxMessagesWaiting
Definition: queue.c:145
void png_colorspace_set_rgb_coefficients(png_structrp png_ptr)
Definition: png.c:2469
#define tskSTATICALLY_ALLOCATED_STACK_AND_TCB
Definition: tasks.c:138
void * QueueHandle_t
Definition: queue.h:88
#define PNG_RGB_TO_GRAY
Definition: pngpriv.h:665
UBaseType_t uxPriority
Definition: task.h:160
#define traceTASK_DELAY_UNTIL(x)
Definition: FreeRTOS.h:522
#define prvGetTCBFromHandle(pxHandle)
Definition: tasks.c:272
png_byte have_md5
Definition: png.c:2249
png_set_sCAL_fixed
Definition: png.h:2171
png_get_io_chunk_type
Definition: png.h:2418
void PNGAPI png_set_compression_window_bits(png_structrp png_ptr, int window_bits)
Definition: pngwrite.c:1201
png_const_structrp png_const_inforp double double double * red_Z
Definition: png.h:1939
void PNGAPI png_set_filter(png_structrp png_ptr, int method, int filters)
Definition: pngwrite.c:1004
#define queueSEND_TO_BACK
Definition: queue.h:105
int PNGAPI png_handle_as_unknown(png_const_structrp png_ptr, png_const_bytep chunk_name)
Definition: png.c:926
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
Definition: FreeRTOS.h:740
png_voidp PNGAPI png_get_user_chunk_ptr(png_const_structrp png_ptr)
Definition: pngget.c:1162
void vTaskMissedYield(void)
Definition: tasks.c:3076
void PNGAPI png_set_read_fn(png_structrp png_ptr, png_voidp io_ptr, png_rw_ptr read_data_fn)
Definition: pngrio.c:87
static const size_t xHeapStructSize
Definition: heap_4.c:137
png_const_structrp png_const_inforp double double double double double double * green_Z
Definition: png.h:1939
static BlockLink_t xStart
Definition: heap_4.c:140
#define traceTASK_NOTIFY_TAKE()
Definition: FreeRTOS.h:638
png_int_32 nentries
Definition: png.h:538
void PNGAPI png_set_packing(png_structrp png_ptr)
Definition: pngtrans.c:50
#define PNG_IMAGE_ERROR
Definition: png.h:2692
png_uint_16 blue
Definition: png.h:520
else png_error(png_ptr, "png_image_write_to_memory: PNG too big")
void PNGAPI png_set_swap(png_structrp png_ptr)
Definition: pngtrans.c:35
PRIVILEGED_FUNCTION uint32_t ulTaskNotifyTake(BaseType_t xClearCountOnExit, TickType_t xTicksToWait)
void PNGAPI png_set_keep_unknown_chunks(png_structrp png_ptr, int keep, png_const_bytep chunk_list, int num_chunks_in)
Definition: pngset.c:1372
png_uint_16 * png_uint_16p
Definition: pngconf.h:585
png_alloc_size_t PNGAPI png_get_chunk_malloc_max(png_const_structrp png_ptr)
Definition: pngget.c:1215
void png_check_IHDR(png_const_structrp png_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: png.c:2547
png_int_32 PNGAPI png_get_x_offset_microns(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:236
png_voidp io_ptr
Definition: pngstruct.h:158
png_fixed_point png_reciprocal2(png_fixed_point a, png_fixed_point b)
Definition: png.c:3543
#define portENABLE_INTERRUPTS()
Definition: portmacro.h:144
png_structrp png_const_color_16p int background_gamma_code
Definition: png.h:1302
TaskHandle_t xHandle
Definition: task.h:169
#define PNG_USER_CHUNK_CACHE_MAX
Definition: pnglibconf.h:207
struct tskTaskControlBlock tskTCB
#define PNG_LIBPNG_VER_STRING
Definition: png.h:280
static int png_XYZ_from_xy(png_XYZ *XYZ, const png_xy *xy)
Definition: png.c:1276
#define PNG_CHUNK_WRITE_ERROR
Definition: pngpriv.h:1843
#define traceTIMER_CREATE(pxNewTimer)
Definition: FreeRTOS.h:550
PRIVILEGED_FUNCTION void vTaskGetInfo(TaskHandle_t xTask, TaskStatus_t *pxTaskStatus, BaseType_t xGetFreeStackSpace, eTaskState eState)
PRIVILEGED_FUNCTION void vTaskGetRunTimeStats(char *pcWriteBuffer)
int PNGAPI png_image_finish_read(png_imagep image, png_const_colorp background, void *buffer, png_int_32 row_stride, void *colormap)
Definition: pngread.c:4102
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_blue_X
Definition: png.h:1949
static int png_colorspace_check_xy(png_XYZ *XYZ, const png_xy *xy)
Definition: png.c:1618
void PNGAPI png_set_pHYs(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type)
Definition: pngset.c:556
#define traceCREATE_COUNTING_SEMAPHORE_FAILED()
Definition: FreeRTOS.h:458
void PNGAPI png_init_io(png_structrp png_ptr, png_FILE_p fp)
Definition: png.c:703
#define taskNOT_WAITING_NOTIFICATION
Definition: tasks.c:110
#define tskDYNAMICALLY_ALLOCATED_STACK_AND_TCB
Definition: tasks.c:136
#define PNG_FP_STATE
Definition: pngpriv.h:1903
static const png_xy sRGB_xy
Definition: png.c:1662
void PNGAPI png_read_info(png_structrp png_ptr, png_inforp info_ptr)
Definition: pngread.c:92
const typedef png_struct * png_const_structp
Definition: png.h:440
static PRIVILEGED_INITIALIZED_DATA volatile UBaseType_t uxCurrentNumberOfTasks
Definition: tasks.c:396
#define PNG_FP_NONZERO
Definition: pngpriv.h:1914
png_uint_32 PNGAPI png_get_gAMA(png_const_structrp png_ptr, png_const_inforp info_ptr, double *file_gamma)
Definition: pngget.c:697
void vQueueDelete(QueueHandle_t xQueue)
Definition: queue.c:1625
#define traceBLOCKING_ON_QUEUE_RECEIVE(pxQueue)
Definition: FreeRTOS.h:396
size_t png_alloc_size_t
Definition: pngconf.h:557
png_sPLT_t ** png_sPLT_tpp
Definition: png.h:542
#define PNG_FLAG_CRC_ANCILLARY_NOWARN
Definition: pngpriv.h:688
#define configMAX_TASK_NAME_LEN
Definition: FreeRTOSConfig.h:113
png_byte red
Definition: png.h:502
png_uint_32 PNGAPI png_get_sCAL(png_const_structrp png_ptr, png_const_inforp info_ptr, int *unit, double *width, double *height)
Definition: pngget.c:944
void PNGAPI png_set_read_user_transform_fn(png_structrp png_ptr, png_user_transform_ptr read_user_transform_fn)
Definition: pngrtran.c:1073
UBaseType_t uxLength
Definition: queue.c:146
int PNGAPI png_reset_zstream(png_structrp png_ptr)
Definition: png.c:974
#define portYIELD_WITHIN_API
Definition: FreeRTOS.h:692
#define traceQUEUE_SEND(pxQueue)
Definition: FreeRTOS.h:462
png_structrp png_fixed_point screen_gamma
Definition: png.h:1352
png_byte minute
Definition: png.h:606
void PNGAPI png_set_read_status_fn(png_structrp png_ptr, png_read_status_ptr read_row_fn)
Definition: pngread.c:1031
png_byte index
Definition: png.h:490
#define PNG_INFO_cHRM
Definition: png.h:734
void PNGAPI png_write_sig(png_structrp png_ptr)
Definition: pngwutil.c:51
#define traceTIMER_COMMAND_RECEIVED(pxTimer, xMessageID, xMessageValue)
Definition: FreeRTOS.h:566
void PNGAPI png_set_read_user_chunk_fn(png_structrp png_ptr, png_voidp user_chunk_ptr, png_user_chunk_ptr read_user_chunk_fn)
Definition: pngset.c:1531
PRIVILEGED_FUNCTION TickType_t xTimerGetPeriod(TimerHandle_t xTimer)
PRIVILEGED_FUNCTION void vPortEndScheduler(void)
Definition: port.c:399
long BaseType_t
Definition: portmacro.h:98
#define pdTRUE
Definition: projdefs.h:87
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
PNG_REMOVED(200, png_const_bytep, png_get_io_chunk_name,(png_structrp png_ptr), PNG_DEPRECATED) PNG_EXPORT(216
void PNGAPI png_set_tRNS_to_alpha(png_structrp png_ptr)
Definition: pngrtran.c:926
#define PNG_FREE_MUL
Definition: png.h:1763
png_const_structrp png_const_inforp png_fixed_point *int_file_gamma png_set_gAMA_fixed
Definition: png.h:2004
#define Z_VERSION_ERROR
Definition: zlib.h:185
PRIVILEGED_FUNCTION UBaseType_t uxTaskGetTaskNumber(TaskHandle_t xTask)
static PRIVILEGED_INITIALIZED_DATA volatile BaseType_t xNumOfOverflows
Definition: tasks.c:402
size_t * png_size_tp
Definition: pngconf.h:593
#define listGET_OWNER_OF_NEXT_ENTRY(pxTCB, pxList)
Definition: list.h:318
int8_t * pcHead
Definition: queue.c:132
#define queueMUTEX_GIVE_BLOCK_TIME
Definition: queue.c:115
PRIVILEGED_FUNCTION void vTaskDelay(const TickType_t xTicksToDelay)
#define PNG_CHUNK_ERROR
Definition: pngpriv.h:1844
PRIVILEGED_FUNCTION BaseType_t xTaskResumeAll(void)
Definition: tasks.c:2017
#define queueQUEUE_TYPE_COUNTING_SEMAPHORE
Definition: queue.h:113
png_uint_16 red
Definition: png.h:518
#define PNG_COLOR_MASK_COLOR
Definition: png.h:664
void PNGAPI png_set_oFFs(png_const_structrp png_ptr, png_inforp info_ptr, png_int_32 offset_x, png_int_32 offset_y, int unit_type)
Definition: pngset.c:295
#define PNG_HAVE_PNG_SIGNATURE
Definition: pngpriv.h:636
PRIVILEGED_FUNCTION void vTaskSetTaskNumber(TaskHandle_t xTask, const UBaseType_t uxHandle)
#define PNG_FREE_PCAL
Definition: png.h:1752
PRIVILEGED_FUNCTION QueueHandle_t xQueueCreateMutexStatic(const uint8_t ucQueueType, StaticQueue_t *pxStaticQueue)
#define traceQUEUE_RECEIVE_FAILED(pxQueue)
Definition: FreeRTOS.h:482
int PNGAPI png_convert_to_rfc1123_buffer(char out[29], png_const_timep ptime)
Definition: png.c:737
png_uint_32 PNGAPI png_process_data_skip(png_structrp png_ptr)
Definition: pngpread.c:78
static PRIVILEGED_INITIALIZED_DATA volatile UBaseType_t uxPendedTicks
Definition: tasks.c:400
#define traceTASK_INCREMENT_TICK(xTickCount)
Definition: FreeRTOS.h:546
png_byte PNGAPI png_get_bit_depth(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:70
void PNGAPI png_data_freer(png_const_structrp png_ptr, png_inforp info_ptr, int freer, png_uint_32 mask)
Definition: png.c:452
static void png_build_16to8_table(png_structrp png_ptr, png_uint_16pp *ptable, unsigned int shift, png_fixed_point gamma_val)
Definition: png.c:4049
size_t PNGAPI png_process_data_pause(png_structrp png_ptr, int save)
Definition: pngpread.c:51
void PNGAPI png_read_end(png_structrp png_ptr, png_inforp info_ptr)
Definition: pngread.c:766
#define PNG_CSTRING_FROM_CHUNK(s, c)
Definition: pngpriv.h:893
void vApplicationTickHook(void)
Application Idle Hook.
Definition: cpu_utils.c:89
#define traceLOW_POWER_IDLE_BEGIN()
Definition: FreeRTOS.h:360
PRIVILEGED_FUNCTION void vPortFree(void *pv)
Definition: heap_4.c:305
#define traceQUEUE_DELETE(pxQueue)
Definition: FreeRTOS.h:506
#define PNG_FP_INTEGER
Definition: pngpriv.h:1900
#define taskWAITING_NOTIFICATION
Definition: tasks.c:111
png_byte red
Definition: png.h:480
png_uint_32 PNGAPI png_get_user_height_max(png_const_structrp png_ptr)
Definition: pngget.c:1201
#define vQueueAddToRegistry(xQueue, pcName)
Definition: FreeRTOS.h:324
#define taskNOTIFICATION_RECEIVED
Definition: tasks.c:112
void PNGAPI png_save_uint_32(png_bytep buf, png_uint_32 i)
Definition: pngwutil.c:24
BaseType_t xQueueGenericSendFromISR(QueueHandle_t xQueue, const void *const pvItemToQueue, BaseType_t *const pxHigherPriorityTaskWoken, const BaseType_t xCopyPosition)
Definition: queue.c:921
int
Definition: createSpeedLookupTable.py:15
int png_gamma_significant(png_fixed_point gamma_val)
Definition: png.c:3509
#define tmrCOMMAND_CHANGE_PERIOD
Definition: timers.h:102
UBaseType_t uxBasePriority
Definition: task.h:174
int png_icc_check_tag_table(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile)
Definition: png.c:2197
void png_ascii_from_fixed(png_const_structrp png_ptr, png_charp ascii, size_t size, png_fixed_point fp)
Definition: png.c:3233
BaseType_t xOverflowCount
Definition: task.h:137
BaseType_t xCoRoutineRemoveFromEventList(const List_t *pxEventList)
void PNGAPI png_set_user_limits(png_structrp png_ptr, png_uint_32 user_width_max, png_uint_32 user_height_max)
Definition: pngset.c:1636
const typedef png_color_8 * png_const_color_8p
Definition: png.h:509
#define traceCREATE_MUTEX_FAILED()
Definition: FreeRTOS.h:434
#define traceTASK_NOTIFY_FROM_ISR()
Definition: FreeRTOS.h:654
#define PNG_FLAG_LIBRARY_MISMATCH
Definition: pngpriv.h:696
#define tmrCOMMAND_EXECUTE_CALLBACK_FROM_ISR
Definition: timers.h:96
png_fixed_point * png_fixed_point_p
Definition: pngconf.h:591
void png_destroy_gamma_table(png_structrp png_ptr)
Definition: png.c:4136
png_voidp PNGAPI png_get_progressive_ptr(png_const_structrp png_ptr)
Definition: pngpread.c:1089
#define PNG_sRGB_INTENT_LAST
Definition: png.h:719
const typedef png_color_16 * png_const_color_16p
Definition: png.h:497
void PNGAPI png_progressive_combine_row(png_const_structrp png_ptr, png_bytep old_row, png_const_bytep new_row)
Definition: pngpread.c:1058
size_t PNGAPI png_get_compression_buffer_size(png_const_structrp png_ptr)
Definition: pngget.c:1169
static int png_xy_from_XYZ(png_xy *xy, const png_XYZ *XYZ)
Definition: png.c:1233
void PNGAPI png_set_error_fn(png_structrp png_ptr, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warning_fn)
Definition: pngerror.c:835
PRIVILEGED_FUNCTION void vTaskStepTick(const TickType_t xTicksToJump)
#define PNG_GAMMA_THRESHOLD_FIXED
Definition: pnglibconf.h:194
static png_fixed_point png_product2(png_fixed_point a, png_fixed_point b)
Definition: png.c:3520
#define traceTASK_NOTIFY_GIVE_FROM_ISR()
Definition: FreeRTOS.h:658
png_uint_32 PNGAPI png_access_version_number(void)
Definition: png.c:986
png_uint_32 PNGAPI png_get_PLTE(png_const_structrp png_ptr, png_inforp info_ptr, png_colorp *palette, int *num_palette)
Definition: pngget.c:1012
#define PNG_FLAG_CRC_ANCILLARY_MASK
Definition: pngpriv.h:711
const png_uint_16 png_sRGB_table[256]
Definition: png.c:4373
static const char * filters[]
Definition: screen_filebrowser.cpp:44
#define taskEXIT_CRITICAL()
Definition: task.h:232
png_text * png_textp
Definition: png.h:579
PRIVILEGED_FUNCTION BaseType_t xTimerIsTimerActive(TimerHandle_t xTimer)
int png_colorspace_set_sRGB(png_const_structrp png_ptr, png_colorspacerp colorspace, int intent)
Definition: png.c:1872
static PRIVILEGED_DATA List_t pxReadyTasksLists[configMAX_PRIORITIES]
Definition: tasks.c:375
png_uint_32 PNGAPI png_get_x_pixels_per_meter(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:115
struct QueueDefinition xQUEUE
#define queueSEMAPHORE_QUEUE_ITEM_LENGTH
Definition: queue.c:114
StackType_t * pxStackBase
Definition: task.h:176
static int png_XYZ_normalize(png_XYZ *XYZ)
Definition: png.c:1542
png_voidp PNGAPI png_get_user_transform_ptr(png_const_structrp png_ptr)
Definition: pngtrans.c:833
png_structrp png_const_color_16p background_color
Definition: png.h:1302
#define PNG_RESTRICT
Definition: pngconf.h:445
png_byte green
Definition: png.h:503
png_const_structrp png_const_inforp double double double double double double double double * blue_Y
Definition: png.h:1939
#define png_get_int_32(buf)
Definition: png.h:2600
void PNGAPI png_chunk_benign_error(png_const_structrp png_ptr, png_const_charp error_message)
Definition: pngerror.c:514
void PNGAPI png_write_chunk_end(png_structrp png_ptr)
Definition: pngwutil.c:146
unsigned int uInt
Definition: zconf.h:393
PRIVILEGED_FUNCTION TickType_t xTimerGetExpiryTime(TimerHandle_t xTimer)
void(* PendedFunction_t)(void *, uint32_t)
Definition: timers.h:129
const typedef png_info * png_const_infop
Definition: png.h:455
#define PNG_OPTION_NEXT
Definition: png.h:3211
png_set_filter_heuristics_fixed
Definition: png.h:1488
#define portCLEAR_INTERRUPT_MASK_FROM_ISR(uxSavedStatusValue)
Definition: FreeRTOS.h:304
#define PNG_FP_SAW_DIGIT
Definition: pngpriv.h:1905
#define portTICK_TYPE_ENTER_CRITICAL()
Definition: FreeRTOS.h:804
void PNGAPI png_read_rows(png_structrp png_ptr, png_bytepp row, png_bytepp display_row, png_uint_32 num_rows)
Definition: pngread.c:645
#define listLIST_ITEM_CONTAINER(pxListItem)
Definition: list.h:367
uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len)
Definition: adler32.c:134
static portTASK_FUNCTION_PROTO(prvIdleTask, pvParameters)
PRIVILEGED_FUNCTION TaskHandle_t xTimerGetTimerDaemonTaskHandle(void)
BaseType_t xTaskIncrementTick(void)
Definition: tasks.c:2499
void vTaskSuspendAll(void)
Definition: tasks.c:1944
void PNGAPI png_write_flush(png_structrp png_ptr)
Definition: pngwrite.c:920
eTaskState eCurrentState
Definition: task.h:172
png_uint_32 PNGAPI png_get_chunk_cache_max(png_const_structrp png_ptr)
Definition: pngget.c:1208
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
#define PNG_INFO_hIST
Definition: png.h:738
PRIVILEGED_FUNCTION StackType_t * pxPortInitialiseStack(StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParameters)
png_const_charp PNGAPI png_get_copyright(png_const_structrp png_ptr)
Definition: png.c:811
#define portSETUP_TCB(pxTCB)
Definition: FreeRTOS.h:316
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
BaseType_t xQueueIsQueueEmptyFromISR(const QueueHandle_t xQueue)
Definition: queue.c:1935
#define PNG_FP_SAW_DOT
Definition: pngpriv.h:1906
#define tmrCOMMAND_START
Definition: timers.h:99
#define configEXPECTED_IDLE_TIME_BEFORE_SLEEP
Definition: FreeRTOS.h:700
void PNGAPI png_set_quantize(png_structrp png_ptr, png_colorp palette, int num_palette, int maximum_colors, png_const_uint_16p histogram, int full_quantize)
Definition: pngrtran.c:428
void PNGAPI png_read_row(png_structrp png_ptr, png_bytep row, png_bytep dsp_row)
Definition: pngread.c:383
png_const_structrp png_const_inforp double double double double double * green_Y
Definition: png.h:1939
png_sPLT_t * png_sPLT_tp
Definition: png.h:540
PRIVILEGED_FUNCTION UBaseType_t uxTaskGetStackHighWaterMark(TaskHandle_t xTask)
png_uint_32 PNGAPI png_get_pixels_per_meter(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:159
int png_chunk_unknown_handling(png_const_structrp png_ptr, png_uint_32 chunk_name)
Definition: png.c:961
#define traceQUEUE_CREATE(pxNewQueue)
Definition: FreeRTOS.h:422
void PNGAPI png_set_sRGB_gAMA_and_cHRM(png_const_structrp png_ptr, png_inforp info_ptr, int srgb_intent)
Definition: pngset.c:665
void png_zfree(voidpf png_ptr, voidpf ptr)
Definition: png.c:118
png_charp lang
Definition: png.h:574
static PRIVILEGED_INITIALIZED_DATA volatile UBaseType_t uxTopReadyPriority
Definition: tasks.c:398
struct png_color_8_struct png_color_8
UBaseType_t uxQueueSpacesAvailable(const QueueHandle_t xQueue)
Definition: queue.c:1595
png_structrp int mode
Definition: png.h:1139
#define PNG_FP_1
Definition: png.h:656
png_uint_32 PNGAPI png_get_pCAL(png_const_structrp png_ptr, png_inforp info_ptr, png_charp *purpose, png_int_32 *X0, png_int_32 *X1, int *type, int *nparams, png_charp *units, png_charpp *params)
Definition: pngget.c:891
TickType_t xTaskGetTickCountFromISR(void)
Definition: tasks.c:2142
int8_t * pcTail
Definition: queue.c:133
size_t rowbytes
Definition: png.h:757
uint8_t byte
Definition: wiring_constants.h:112
png_infop info_ptr
Definition: pngpriv.h:2038
#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
voidpf opaque
Definition: zlib.h:100
#define tmrCOMMAND_RESET_FROM_ISR
Definition: timers.h:107
#define PNG_OUT_OF_RANGE(value, ideal, delta)
Definition: pngpriv.h:766
static portTASK_FUNCTION(prvIdleTask, pvParameters)
Definition: tasks.c:3131
TickType_t xTimeOnEntering
Definition: task.h:138
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
int png_check_fp_string(png_const_charp string, size_t size)
Definition: png.c:2839
#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
void vTaskPlaceOnUnorderedEventList(List_t *pxEventList, const TickType_t xItemValue, const TickType_t xTicksToWait)
Definition: tasks.c:2837
png_uint_32 PNGAPI png_get_sRGB(png_const_structrp png_ptr, png_const_inforp info_ptr, int *file_srgb_intent)
Definition: pngget.c:718
static int png_colorspace_set_xy_and_XYZ(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_xy *xy, const png_XYZ *XYZ, int preferred)
Definition: png.c:1672
PRIVILEGED_FUNCTION void vTaskSuspendAll(void)
Definition: tasks.c:1944
size_t size
Definition: png.h:626
#define PNG_FP_NEGATIVE
Definition: pngpriv.h:1913
#define PNG_FREE_UNKN
Definition: png.h:1755
png_uint_16 red
Definition: png.h:491
#define PNG_GAMMA_sRGB_INVERSE
Definition: pngpriv.h:906
#define traceTASK_PRIORITY_INHERIT(pxTCBOfMutexHolder, uxInheritedPriority)
Definition: FreeRTOS.h:380
png_byte hour
Definition: png.h:605
png_structp png_ptr
Definition: pngpriv.h:2037
#define png_gt(a, b)
Definition: png.c:2543
#define taskEVENT_LIST_ITEM_VALUE_IN_USE
Definition: tasks.c:285
static int png_colorspace_check_gamma(png_const_structrp png_ptr, png_colorspacerp colorspace, png_fixed_point gAMA, int from)
Definition: png.c:1070
png_byte PNGAPI png_get_compression_type(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:106
int ZEXPORT inflateReset(z_streamp strm)
Definition: inflate.c:144
void PNGAPI png_set_expand_gray_1_2_4_to_8(png_structrp png_ptr)
Definition: pngrtran.c:914
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
png_time * png_timep
Definition: png.h:609
#define traceTASK_CREATE(pxNewTCB)
Definition: FreeRTOS.h:510
png_int_32(PNGAPI png_get_int_32)(png_const_bytep buf)
Definition: pngrutil.c:84
#define PNG_STRING_NEWLINE
Definition: pngdebug.h:48
#define PNG_USER_WIDTH_MAX
Definition: pnglibconf.h:210
int compression
Definition: png.h:564
png_const_charp PNGAPI png_get_libpng_ver(png_const_structrp png_ptr)
Definition: png.c:837
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
PRIVILEGED_FUNCTION void vTaskAllocateMPURegions(TaskHandle_t xTask, const MemoryRegion_t *const pxRegions)
BaseType_t xQueueCRReceive(QueueHandle_t xQueue, void *pvBuffer, TickType_t xTicksToWait)
static int icc_check_length(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length)
Definition: png.c:1970
#define taskSCHEDULER_RUNNING
Definition: task.h:259
#define tmrCOMMAND_CHANGE_PERIOD_FROM_ISR
Definition: timers.h:109
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z PNG_FIXED_EXPORT(134, png_uint_32, png_get_cHRM_fixed,(png_const_structrp png_ptr, png_const_inforp info_ptr, png_fixed_point *int_white_x, png_fixed_point *int_white_y, png_fixed_point *int_red_x, png_fixed_point *int_red_y, png_fixed_point *int_green_x, png_fixed_point *int_green_y, png_fixed_point *int_blue_x, png_fixed_point *int_blue_y)) PNG_FIXED_EXPORT(231
#define PNG_DEPRECATED
Definition: pngconf.h:430
#define xQueueReceive(xQueue, pvBuffer, xTicksToWait)
Definition: queue.h:914
BaseType_t xTaskNotifyStateClear(TaskHandle_t xTask)
#define PNG_INFO_IDAT
Definition: png.h:747
void PNGAPI png_set_sPLT(png_const_structrp png_ptr, png_inforp info_ptr, png_const_sPLT_tp entries, int nentries)
Definition: pngset.c:1062
void PNGAPI png_set_gamma(png_structrp png_ptr, double scrn_gamma, double file_gamma)
Definition: pngrtran.c:858
static PRIVILEGED_INITIALIZED_DATA volatile BaseType_t xYieldPending
Definition: tasks.c:401
#define tskSUSPENDED_CHAR
Definition: tasks.c:146
void PNGAPI png_set_background(png_structrp png_ptr, png_const_color_16p background_color, int background_gamma_code, int need_expand, double background_gamma)
Definition: pngrtran.c:167
void PNGAPI png_set_tIME(png_const_structrp png_ptr, png_inforp info_ptr, png_const_timep mod_time)
Definition: pngset.c:968
#define PNG_NUMBER_FORMAT_x
Definition: pngpriv.h:1761
png_uint_32 PNGAPI png_get_cHRM(png_const_structrp png_ptr, png_const_inforp info_ptr, double *white_x, double *white_y, double *red_x, double *red_y, double *green_x, double *green_y, double *blue_x, double *blue_y)
Definition: pngget.c:512
void PNGAPI png_set_sig_bytes(png_structrp png_ptr, int num_bytes)
Definition: png.c:47
void PNGAPI png_destroy_info_struct(png_const_structrp png_ptr, png_infopp info_ptr_ptr)
Definition: png.c:386
const typedef png_time * png_const_timep
Definition: png.h:610
int PNGAPI png_sig_cmp(png_const_bytep sig, size_t start, size_t num_to_check)
Definition: png.c:74
png_byte PNGAPI png_get_color_type(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:79
static int is_ICC_signature_char(png_alloc_size_t it)
Definition: png.c:1807
#define portSTACK_GROWTH
Definition: portmacro.h:115
#define PNG_HEADER_VERSION_STRING
Definition: png.h:281
PRIVILEGED_FUNCTION BaseType_t xTaskCheckForTimeOut(TimeOut_t *const pxTimeOut, TickType_t *const pxTicksToWait)
Definition: tasks.c:3015
#define PNG_COLOR_TYPE_PALETTE
Definition: png.h:669
PRIVILEGED_FUNCTION void vTaskList(char *pcWriteBuffer)
PRIVILEGED_FUNCTION void vTaskDelayUntil(TickType_t *const pxPreviousWakeTime, const TickType_t xTimeIncrement)
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point *int_blue_Z png_const_structrp png_inforp double double double double double double double double double blue_Z png_set_cHRM_XYZ_fixed
Definition: png.h:1973
const png_byte png_sRGB_delta[512]
Definition: png.c:4481
static PRIVILEGED_FUNCTION BaseType_t prvCopyDataToQueue(Queue_t *const pxQueue, const void *pvItemToQueue, const BaseType_t xPosition)
Definition: queue.c:1697
#define tskIDLE_PRIORITY
Definition: task.h:193
offset_x
Definition: g29_auto.py:158
PNG_FP_EXPORT(32, void, png_set_rgb_to_gray,(png_structrp png_ptr, int error_action, double red, double green)) PNG_FIXED_EXPORT(33
PRIVILEGED_FUNCTION QueueSetMemberHandle_t xQueueSelectFromSetFromISR(QueueSetHandle_t xQueueSet)
#define tmrCOMMAND_START_FROM_ISR
Definition: timers.h:106
static png_bytep size_t size
Definition: pngwrite.c:2170
png_charp png_format_number(png_const_charp start, png_charp end, int format, png_alloc_size_t number)
Definition: pngerror.c:133
void png_colorspace_set_gamma(png_const_structrp png_ptr, png_colorspacerp colorspace, png_fixed_point gAMA)
Definition: png.c:1114
#define PNG_MD5(a, b, c, d)
Definition: png.c:2253
UBaseType_t uxRecursiveCallCount
Definition: queue.c:139
void PNGAPI png_set_unknown_chunk_location(png_const_structrp png_ptr, png_inforp info_ptr, int chunk, int location)
Definition: pngset.c:1299
#define queueQUEUE_IS_MUTEX
Definition: queue.c:110
void PNGAPI png_set_invalid(png_const_structrp png_ptr, png_inforp info_ptr, int mask)
Definition: pngset.c:1626
png_controlp opaque
Definition: png.h:2673
png_uint_32 PNGAPI png_get_iCCP(png_const_structrp png_ptr, png_inforp info_ptr, png_charpp name, int *compression_type, png_bytepp profile, png_uint_32 *proflen)
Definition: pngget.c:736
static PRIVILEGED_DATA List_t *volatile pxOverflowDelayedTaskList
Definition: tasks.c:379
png_get_gAMA_fixed
Definition: png.h:1996
BaseType_t xTaskCheckForTimeOut(TimeOut_t *const pxTimeOut, TickType_t *const pxTicksToWait)
Definition: tasks.c:3015
#define traceTASK_DELETE(pxTaskToDelete)
Definition: FreeRTOS.h:518
void PNGAPI png_set_bgr(png_structrp png_ptr)
Definition: pngtrans.c:21
png_uint_16 intent
Definition: png.c:2251
#define mtCOVERAGE_TEST_MARKER()
Definition: FreeRTOS.h:748
PRIVILEGED_FUNCTION UBaseType_t uxTaskPriorityGetFromISR(TaskHandle_t xTask)
PRIVILEGED_FUNCTION void vTaskSetTimeOutState(TimeOut_t *const pxTimeOut)
Definition: tasks.c:3007
png_const_charp PNGAPI png_convert_to_rfc1123(png_structrp png_ptr, png_const_timep ptime)
Definition: png.c:791