Prusa MINI Firmware overview
|
|
void PNGAPI | png_set_bgr (png_structrp png_ptr) |
|
void PNGAPI | png_set_swap (png_structrp png_ptr) |
|
void PNGAPI | png_set_packing (png_structrp png_ptr) |
|
void PNGAPI | png_set_packswap (png_structrp png_ptr) |
|
void PNGAPI | png_set_shift (png_structrp png_ptr, png_const_color_8p true_bits) |
|
int PNGAPI | png_set_interlace_handling (png_structrp png_ptr) |
|
void PNGAPI | png_set_filler (png_structrp png_ptr, png_uint_32 filler, int filler_loc) |
|
void PNGAPI | png_set_add_alpha (png_structrp png_ptr, png_uint_32 filler, int filler_loc) |
|
void PNGAPI | png_set_swap_alpha (png_structrp png_ptr) |
|
void PNGAPI | png_set_invert_alpha (png_structrp png_ptr) |
|
void PNGAPI | png_set_invert_mono (png_structrp png_ptr) |
|
void | png_do_invert (png_row_infop row_info, png_bytep row) |
|
void | png_do_swap (png_row_infop row_info, png_bytep row) |
|
void | png_do_packswap (png_row_infop row_info, png_bytep row) |
|
void | png_do_strip_channel (png_row_infop row_info, png_bytep row, int at_start) |
|
void | png_do_bgr (png_row_infop row_info, png_bytep row) |
|
void | png_do_check_palette_indexes (png_structrp png_ptr, png_row_infop row_info) |
|
void PNGAPI | png_set_user_transform_info (png_structrp png_ptr, png_voidp user_transform_ptr, int user_transform_depth, int user_transform_channels) |
|
png_voidp PNGAPI | png_get_user_transform_ptr (png_const_structrp png_ptr) |
|
png_uint_32 PNGAPI | png_get_current_row_number (png_const_structrp png_ptr) |
|
png_byte PNGAPI | png_get_current_pass_number (png_const_structrp png_ptr) |
|
◆ png_set_bgr()
◆ png_set_swap()
◆ png_set_packing()
60 # ifdef PNG_WRITE_SUPPORTED
◆ png_set_packswap()
◆ png_set_shift()
◆ png_set_interlace_handling()
101 png_debug(1,
"in png_set_interlace handling");
◆ png_set_filler()
132 # ifdef PNG_READ_FILLER_SUPPORTED
151 # ifdef PNG_WRITE_FILLER_SUPPORTED
175 "png_set_filler is invalid for"
176 " low bit depth gray output");
182 "png_set_filler: inappropriate color type");
◆ png_set_add_alpha()
◆ png_set_swap_alpha()
◆ png_set_invert_alpha()
◆ png_set_invert_mono()
◆ png_do_invert()
275 for (
i = 0;
i < istop;
i++)
277 *rp = (png_byte)(~(*rp));
289 for (
i = 0;
i < istop;
i += 2)
291 *rp = (png_byte)(~(*rp));
296 #ifdef PNG_16BIT_SUPPORTED
304 for (
i = 0;
i < istop;
i += 4)
306 *rp = (png_byte)(~(*rp));
307 *(rp + 1) = (png_byte)(~(*(rp + 1)));
◆ png_do_swap()
329 for (
i = 0;
i < istop;
i++, rp += 2)
331 #ifdef PNG_BUILTIN_BSWAP16_SUPPORTED
◆ png_do_packswap()
478 for (rp = row; rp <
end; rp++)
◆ png_do_strip_channel()
524 *dp++ = *sp; sp += 2;
541 *dp++ = *sp++; *dp++ = *sp; sp += 3;
572 *dp++ = *sp++; *dp++ = *sp++; *dp++ = *sp; sp += 2;
590 *dp++ = *sp++; *dp++ = *sp++;
591 *dp++ = *sp++; *dp++ = *sp++;
592 *dp++ = *sp++; *dp++ = *sp; sp += 3;
612 row_info->
rowbytes = (size_t)(dp-row);
◆ png_do_bgr()
633 for (
i = 0, rp = row;
i < row_width;
i++, rp += 3)
646 for (
i = 0, rp = row;
i < row_width;
i++, rp += 4)
655 #ifdef PNG_16BIT_SUPPORTED
663 for (
i = 0, rp = row;
i < row_width;
i++, rp += 6)
669 *(rp + 1) = *(rp + 5);
679 for (
i = 0, rp = row;
i < row_width;
i++, rp += 8)
685 *(rp + 1) = *(rp + 5);
◆ png_do_check_palette_indexes()
720 for (; rp >
png_ptr->row_buf; rp--)
722 if ((*rp >> padding) != 0)
732 for (; rp >
png_ptr->row_buf; rp--)
734 int i = ((*rp >> padding) & 0x03);
739 i = (((*rp >> padding) >> 2) & 0x03);
744 i = (((*rp >> padding) >> 4) & 0x03);
749 i = (((*rp >> padding) >> 6) & 0x03);
762 for (; rp >
png_ptr->row_buf; rp--)
764 int i = ((*rp >> padding) & 0x0f);
769 i = (((*rp >> padding) >> 4) & 0x0f);
782 for (; rp >
png_ptr->row_buf; rp--)
784 if (*rp >
png_ptr->num_palette_max)
◆ png_set_user_transform_info()
805 png_debug(1,
"in png_set_user_transform_info");
810 #ifdef PNG_READ_USER_TRANSFORM_SUPPORTED
815 "info change after png_start_read_image or png_read_update_info");
820 png_ptr->user_transform_ptr = user_transform_ptr;
821 png_ptr->user_transform_depth = (png_byte)user_transform_depth;
822 png_ptr->user_transform_channels = (png_byte)user_transform_channels;
◆ png_get_user_transform_ptr()
838 return png_ptr->user_transform_ptr;
◆ png_get_current_row_number()
◆ png_get_current_pass_number()
◆ onebppswaptable
const png_byte onebppswaptable[256] |
|
static |
◆ twobppswaptable
const png_byte twobppswaptable[256] |
|
static |
◆ fourbppswaptable
const png_byte fourbppswaptable[256] |
|
static |
#define PNG_BGR
Definition: pngpriv.h:642
const typedef png_byte * png_const_bytep
Definition: pngconf.h:580
#define PNG_FILLER_AFTER
Definition: png.h:1249
#define PNG_UNUSED(param)
Definition: pngpriv.h:438
static const png_byte onebppswaptable[256]
Definition: pngtrans.c:348
#define PNG_INVERT_ALPHA
Definition: pngpriv.h:661
#define PNG_PADBITS(pixel_bits, width)
Definition: pngpriv.h:758
#define PNG_FLAG_ROW_INIT
Definition: pngpriv.h:685
#define PNG_IS_READ_STRUCT
Definition: pngpriv.h:639
static const png_byte twobppswaptable[256]
Definition: pngtrans.c:383
#define PNG_UINT_32_MAX
Definition: png.h:650
png_byte * png_bytep
Definition: pngconf.h:579
uint8_t i
Definition: screen_test_graph.c:72
#define PNG_INVERT_MONO
Definition: pngpriv.h:647
#define PNG_COLOR_TYPE_RGB_ALPHA
Definition: png.h:671
#define NULL
Definition: usbd_def.h:53
png_uint_32 width
Definition: png.h:756
png_structrp png_ptr
Definition: png.h:1083
#define PNG_COLOR_TYPE_RGB
Definition: png.h:670
end
Definition: createSpeedLookupTable.py:33
#define PNG_SWAP_BYTES
Definition: pngpriv.h:646
unsigned int png_uint_32
Definition: pngconf.h:511
png_uint_16(PNGAPI png_get_uint_16)(png_const_bytep buf)
Definition: pngrutil.c:102
#define PNG_PACKSWAP
Definition: pngpriv.h:658
png_byte channels
Definition: png.h:760
#define PNG_COLOR_TYPE_GRAY
Definition: png.h:668
png_byte color_type
Definition: png.h:758
#define png_debug(l, m)
Definition: pngdebug.h:145
#define PNG_INTERLACE
Definition: pngpriv.h:643
#define PNG_FILLER
Definition: pngpriv.h:657
static const png_byte fourbppswaptable[256]
Definition: pngtrans.c:418
png_byte pixel_depth
Definition: png.h:761
void PNGAPI png_set_filler(png_structrp png_ptr, png_uint_32 filler, int filler_loc)
Definition: pngtrans.c:120
#define PNG_ADD_ALPHA
Definition: pngpriv.h:667
#define PNG_SHIFT
Definition: pngpriv.h:645
#define PNG_FLAG_FILLER_AFTER
Definition: pngpriv.h:686
#define PNG_COLOR_MASK_COLOR
Definition: png.h:664
int
Definition: createSpeedLookupTable.py:15
#define PNG_PACK
Definition: pngpriv.h:644
size_t rowbytes
Definition: png.h:757
void png_app_error(png_const_structrp png_ptr, png_const_charp error_message)
Definition: pngerror.c:405
png_byte bit_depth
Definition: png.h:759
#define PNG_COLOR_TYPE_GRAY_ALPHA
Definition: png.h:672
#define PNG_SWAP_ALPHA
Definition: pngpriv.h:659