Prusa MINI Firmware overview
|
Go to the documentation of this file.
79 #ifdef PNG_READ_SUPPORTED
81 png_byte signature[8];
90 #if defined(PNG_COLORSPACE_SUPPORTED) || defined(PNG_GAMMA_SUPPORTED)
101 png_colorspace colorspace;
104 #ifdef PNG_iCCP_SUPPORTED
111 #ifdef PNG_TEXT_SUPPORTED
125 #ifdef PNG_tIME_SUPPORTED
132 #ifdef PNG_sBIT_SUPPORTED
142 #if defined(PNG_tRNS_SUPPORTED) || defined(PNG_READ_EXPAND_SUPPORTED) || \
143 defined(PNG_READ_BACKGROUND_SUPPORTED)
157 #if defined(PNG_bKGD_SUPPORTED) || defined(PNG_READ_BACKGROUND_SUPPORTED)
167 #ifdef PNG_oFFs_SUPPORTED
175 png_byte offset_unit_type;
178 #ifdef PNG_pHYs_SUPPORTED
185 png_byte phys_unit_type;
188 #ifdef PNG_eXIf_SUPPORTED
191 # ifdef PNG_READ_eXIf_SUPPORTED
196 #ifdef PNG_hIST_SUPPORTED
206 #ifdef PNG_pCAL_SUPPORTED
224 png_byte pcal_nparams;
230 #ifdef PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED
237 int unknown_chunks_num;
240 #ifdef PNG_sPLT_SUPPORTED
243 int splt_palettes_num;
246 #ifdef PNG_sCAL_SUPPORTED
259 #ifdef PNG_INFO_IMAGE_SUPPORTED
#define PNG_FORMAT_NUMBER(buffer, format, number)
Definition: pngpriv.h:1748
int PNGAPI png_get_unknown_chunks(png_const_structrp png_ptr, png_inforp info_ptr, png_unknown_chunkpp unknowns)
Definition: pngget.c:1139
png_uint_32 PNGAPI png_get_gAMA_fixed(png_const_structrp png_ptr, png_const_inforp info_ptr, png_fixed_point *file_gamma)
Definition: pngget.c:678
#define PNG_NORETURN
Definition: pngconf.h:436
const typedef png_byte * png_const_bytep
Definition: pngconf.h:580
png_uint_32 width
Definition: pnginfo.h:58
png_byte spare_byte
Definition: pnginfo.h:77
#define PNG_FLAG_STRIP_ERROR_NUMBERS
Definition: pngpriv.h:697
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
int png_safe_execute(png_imagep image_in, int(*function)(png_voidp), png_voidp arg)
Definition: pngerror.c:936
#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_uint_32 height
Definition: pnginfo.h:59
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
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
png_const_bytep PNGAPI png_get_signature(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:477
int PNGAPI png_get_palette_max(png_const_structp png_ptr, png_const_infop info_ptr)
Definition: pngget.c:1239
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 PNG_INFO_tIME
Definition: png.h:741
#define PNG_UINT_31_MAX
Definition: png.h:649
offset_y
Definition: g29_auto.py:163
void * png_voidp
Definition: pngconf.h:577
png_fixed_point png_fixed(png_const_structrp png_ptr, double fp, png_const_charp text)
Definition: png.c:3316
#define PNG_INFO_tRNS
Definition: png.h:736
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
#define PNG_FLAG_APP_WARNINGS_WARN
Definition: pngpriv.h:700
static png_fixed_point png_fixed_inches_from_microns(png_const_structrp png_ptr, png_int_32 microns)
Definition: pngget.c:368
png_fixed_point PNGAPI png_get_pixel_aspect_ratio_fixed(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:205
void PNGAPI png_free(png_const_structrp png_ptr, png_voidp ptr)
Definition: pngmem.c:232
png_uint_32 PNGAPI png_get_hIST(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_16p *hist)
Definition: pngget.c:808
#define PNG_INFO_pCAL
Definition: png.h:742
#define PNGCBAPI
Definition: pngconf.h:258
#define PNG_INFO_oFFs
Definition: png.h:740
png_const_structrp png_const_inforp int * unit
Definition: png.h:2161
png_fixed_point PNGAPI png_get_y_offset_inches_fixed(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:389
#define PNG_ABORT()
Definition: pngpriv.h:562
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
char * png_charp
Definition: pngconf.h:589
void png_formatted_warning(png_const_structrp png_ptr, png_warning_parameters p, png_const_charp message)
Definition: pngerror.c:284
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
static PNG_FUNCTION(void, png_default_error, PNGARG((png_const_structrp png_ptr, png_const_charp error_message)), PNG_NORETURN)
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
uint8_t type
Definition: UsbCore.h:184
png_byte ** png_bytepp
Definition: pngconf.h:606
start
Definition: g29_auto.py:150
png_uint_32 warning_or_error
Definition: png.h:2704
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_uint_32 PNGAPI png_get_pixels_per_inch(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:349
#define PNG_IS_READ_STRUCT
Definition: pngpriv.h:639
png_byte color_type
Definition: pnginfo.h:66
char message[64]
Definition: png.h:2706
#define PNG_FLAG_STRIP_ERROR_TEXT
Definition: pngpriv.h:698
png_byte * png_bytep
Definition: pngconf.h:579
png_const_structrp png_const_inforp double double * red_Y
Definition: png.h:1939
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
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
#define PNG_INFO_PLTE
Definition: png.h:735
#define isnonalpha(c)
Definition: pngerror.c:427
const typedef png_struct *PNG_RESTRICT png_const_structrp
Definition: png.h:470
#define PNG_WARNING_PARAMETER_COUNT
Definition: pngpriv.h:1769
png_uint_32 PNGAPI png_get_eXIf(png_const_structrp png_ptr, png_inforp info_ptr, png_bytep *exif)
Definition: pngget.c:779
float PNGAPI png_get_x_offset_inches(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:399
png_byte PNGAPI png_get_interlace_type(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:97
png_const_structrp png_const_inforp int png_fixed_point * width
Definition: png.h:2161
png_uint_32 PNGAPI png_get_cHRM_XYZ(png_const_structrp png_ptr, png_const_inforp info_ptr, double *red_X, double *red_Y, double *red_Z, double *green_X, double *green_Y, double *green_Z, double *blue_X, double *blue_Y, double *blue_Z)
Definition: pngget.c:558
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
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_IMAGE_WARNING
Definition: png.h:2691
png_colorp palette
Definition: pnginfo.h:62
png_int_32 PNGAPI png_get_y_offset_microns(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:256
#define PNG_RESOLUTION_METER
Definition: png.h:711
#define png_voidcast(type, value)
Definition: pngpriv.h:494
png_const_structrp png_const_inforp double * red_X
Definition: png.h:1939
png_uint_32 valid
Definition: pnginfo.h:60
#define NULL
Definition: usbd_def.h:53
#define PNG_OFFSET_PIXEL
Definition: png.h:692
png_uint_32 PNGAPI png_get_image_height(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:61
png_structrp png_ptr
Definition: png.h:1083
png_const_structrp png_const_inforp info_ptr
Definition: png.h:1939
#define PNG_NUMBER_BUFFER_SIZE
Definition: pngpriv.h:1752
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
#define PNG_INFO_gAMA
Definition: png.h:732
end
Definition: createSpeedLookupTable.py:33
#define PNG_INFO_bKGD
Definition: png.h:737
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
png_byte PNGAPI png_get_filter_type(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:88
png_bytepp PNGAPI png_get_rows(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:40
#define png_control_jmp_buf(pc)
Definition: pngpriv.h:2054
unsigned int png_uint_32
Definition: pngconf.h:511
png_uint_16 num_palette
Definition: pnginfo.h:63
#define PNG_INFO_eXIf
Definition: png.h:748
void PNGAPI png_image_free(png_imagep image)
Definition: png.c:4582
#define PNGAPI
Definition: pngconf.h:261
png_uint_16(PNGAPI png_get_uint_16)(png_const_bytep buf)
Definition: pngrutil.c:102
png_byte bit_depth
Definition: pnginfo.h:65
#define PNG_NUMBER_FORMAT_u
Definition: pngpriv.h:1757
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 PNG_NUMBER_FORMAT_02x
Definition: pngpriv.h:1762
void PNGAPI png_chunk_warning(png_const_structrp png_ptr, png_const_charp warning_message)
Definition: pngerror.c:497
#define png_float(png_ptr, fixed, s)
Definition: pngpriv.h:781
png_byte PNGAPI png_get_rgb_to_gray_status(png_const_structrp png_ptr)
Definition: pngget.c:1154
#define PNG_MAX_ERROR_TEXT
Definition: pngerror.c:418
#define PNG_NUMBER_FORMAT_02u
Definition: pngpriv.h:1758
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
png_fixed_point PNGAPI png_get_x_offset_inches_fixed(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:379
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
size_t rowbytes
Definition: pnginfo.h:61
png_const_structrp png_const_inforp double double double double double double double * blue_X
Definition: png.h:1939
png_int_32 PNGAPI png_get_y_offset_pixels(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:296
#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
png_uint_32 PNGAPI png_get_bKGD(png_const_structrp png_ptr, png_inforp info_ptr, png_color_16p *background)
Definition: pngget.c:488
png_byte interlace_type
Definition: pnginfo.h:70
const typedef png_info *PNG_RESTRICT png_const_inforp
Definition: png.h:472
png_uint_32 PNGAPI png_get_io_chunk_type(png_const_structrp png_ptr)
Definition: pngget.c:1230
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
png_uint_16 num_trans
Definition: pnginfo.h:64
void
Definition: png.h:1083
int png_muldiv(png_fixed_point_p res, png_fixed_point a, png_int_32 times, png_int_32 divisor)
Definition: png.c:3349
png_int_32 png_fixed_point
Definition: pngconf.h:574
char png_warning_parameters[PNG_WARNING_PARAMETER_COUNT][PNG_WARNING_PARAMETER_SIZE]
Definition: pngpriv.h:1775
png_byte filter_type
Definition: pnginfo.h:69
int PNGAPI png_get_sPLT(png_const_structrp png_ptr, png_inforp info_ptr, png_sPLT_tpp spalettes)
Definition: pngget.c:764
const typedef char * png_const_charp
Definition: pngconf.h:590
#define PNG_COMPRESSION_TYPE_BASE
Definition: png.h:678
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
png_uint_32 PNGAPI png_get_tIME(png_const_structrp png_ptr, png_inforp info_ptr, png_timep *mod_time)
Definition: pngget.c:1075
size_t PNGAPI png_get_rowbytes(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:30
png_struct *PNG_RESTRICT png_structrp
Definition: png.h:469
static const char png_digit[16]
Definition: pngerror.c:428
#define PNG_LITERAL_RIGHT_SQUARE_BRACKET
Definition: pngdebug.h:45
#define PNG_INFO_sCAL
Definition: png.h:746
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
png_byte compression_type
Definition: pnginfo.h:68
if(size<=((png_alloc_size_t) -1) - ob)
Definition: pngwrite.c:2176
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 PNG_OFFSET_MICROMETER
Definition: png.h:693
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
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
png_uint_32 PNGAPI png_get_x_pixels_per_inch(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:355
void png_free_jmpbuf(png_structrp png_ptr)
Definition: pngerror.c:666
float PNGAPI png_get_pixel_aspect_ratio(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:181
#define PNG_IDAT_READ_SIZE
Definition: pnglibconf.h:195
void png_warning_parameter(png_warning_parameters p, int number, png_const_charp string)
Definition: pngerror.c:247
Definition: pngstruct.h:143
char ** png_charpp
Definition: pngconf.h:612
png_uint_32 PNGAPI png_get_image_width(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:52
#define PNG_LITERAL_SHARP
Definition: pngdebug.h:39
png_uint_32 free_me
Definition: pnginfo.h:228
png_const_structrp png_const_inforp double double double * red_Z
Definition: png.h:1939
#define PNG_FLAG_APP_ERRORS_WARN
Definition: pngpriv.h:701
void PNGCBAPI png_safe_warning(png_structp png_nonconst_ptr, png_const_charp warning_message)
Definition: pngerror.c:921
png_voidp PNGAPI png_get_user_chunk_ptr(png_const_structrp png_ptr)
Definition: pngget.c:1162
#define PNG_INFO_pHYs
Definition: png.h:739
static void png_default_warning(png_const_structrp png_ptr, png_const_charp warning_message)
Definition: pngerror.c:785
png_const_structrp png_const_inforp double double double double double double * green_Z
Definition: png.h:1939
#define PNG_IMAGE_ERROR
Definition: png.h:2692
else png_error(png_ptr, "png_image_write_to_memory: PNG too big")
#define PNG_LITERAL_LEFT_SQUARE_BRACKET
Definition: pngdebug.h:42
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
#define png_debug1(l, m, p1)
Definition: pngdebug.h:148
static void png_default_warning PNGARG((png_const_structrp png_ptr, png_const_charp warning_message))
#define PNG_CHUNK_WRITE_ERROR
Definition: pngpriv.h:1843
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
#define PNG_FLAG_BENIGN_ERRORS_WARN
Definition: pngpriv.h:699
const typedef png_struct * png_const_structp
Definition: png.h:440
png_uint_32 PNGAPI png_get_gAMA(png_const_structrp png_ptr, png_const_inforp info_ptr, double *file_gamma)
Definition: pngget.c:697
size_t png_alloc_size_t
Definition: pngconf.h:557
png_byte channels
Definition: pnginfo.h:75
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
#define PNG_INFO_cHRM
Definition: png.h:734
#define png_constcast(type, value)
Definition: pngpriv.h:504
#define PNG_CHUNK_ERROR
Definition: pngpriv.h:1844
png_byte pixel_depth
Definition: pnginfo.h:76
png_uint_32 PNGAPI png_get_cHRM_XYZ_fixed(png_const_structrp png_ptr, png_const_inforp info_ptr, png_fixed_point *int_red_X, png_fixed_point *int_red_Y, png_fixed_point *int_red_Z, png_fixed_point *int_green_X, png_fixed_point *int_green_Y, png_fixed_point *int_green_Z, png_fixed_point *int_blue_X, png_fixed_point *int_blue_Y, png_fixed_point *int_blue_Z)
Definition: pngget.c:604
png_byte PNGAPI png_get_bit_depth(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:70
png_uint_32 PNGAPI png_get_user_height_max(png_const_structrp png_ptr)
Definition: pngget.c:1201
int
Definition: createSpeedLookupTable.py:15
size_t PNGAPI png_get_compression_buffer_size(png_const_structrp png_ptr)
Definition: pngget.c:1169
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
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_INFO_sBIT
Definition: png.h:733
png_uint_32 PNGAPI png_get_x_pixels_per_meter(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:115
png_const_structrp png_const_inforp double double double double double double double double * blue_Y
Definition: png.h:1939
void PNGAPI png_chunk_benign_error(png_const_structrp png_ptr, png_const_charp error_message)
Definition: pngerror.c:514
const typedef png_info * png_const_infop
Definition: png.h:455
void png_warning_parameter_unsigned(png_warning_parameters p, int number, int format, png_alloc_size_t value)
Definition: pngerror.c:255
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
#define PNG_INFO_hIST
Definition: png.h:738
png_const_structrp png_const_inforp double double double double double * green_Y
Definition: png.h:1939
static png_uint_32 ppi_from_ppm(png_uint_32 ppm)
Definition: pngget.c:317
png_uint_32 PNGAPI png_get_pixels_per_meter(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:159
#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
void png_app_warning(png_const_structrp png_ptr, png_const_charp error_message)
Definition: pngerror.c:392
void png_app_error(png_const_structrp png_ptr, png_const_charp error_message)
Definition: pngerror.c:405
#define PNG_INFO_iCCP
Definition: png.h:744
png_uint_32 PNGAPI png_get_sCAL_fixed(png_const_structrp png_ptr, png_const_inforp info_ptr, int *unit, png_fixed_point *width, png_fixed_point *height)
Definition: pngget.c:921
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 void png_format_buffer(png_const_structrp png_ptr, png_charp buffer, png_const_charp error_message)
Definition: pngerror.c:434
png_byte PNGAPI png_get_compression_type(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:106
void PNGAPI png_warning(png_const_structrp png_ptr, png_const_charp warning_message)
Definition: pngerror.c:216
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_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
png_byte PNGAPI png_get_color_type(png_const_structrp png_ptr, png_const_inforp info_ptr)
Definition: pngget.c:79
#define PNG_COLOR_TYPE_PALETTE
Definition: png.h:669
void png_warning_parameter_signed(png_warning_parameters p, int number, int format, png_int_32 value)
Definition: pngerror.c:263
#define PNG_NUMBER_FORMAT_fixed
Definition: pngpriv.h:1763
offset_x
Definition: g29_auto.py:158
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
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