Lines Matching refs:LodePNGColorMode
329 typedef struct LodePNGColorMode { struct
367 } LodePNGColorMode; argument
370 void lodepng_color_mode_init(LodePNGColorMode* info);
371 void lodepng_color_mode_cleanup(LodePNGColorMode* info);
373 unsigned lodepng_color_mode_copy(LodePNGColorMode* dest, const LodePNGColorMode* source);
375 LodePNGColorMode lodepng_color_mode_make(LodePNGColorType colortype, unsigned bitdepth);
377 void lodepng_palette_clear(LodePNGColorMode* info);
379 unsigned lodepng_palette_add(LodePNGColorMode* info,
383 unsigned lodepng_get_bpp(const LodePNGColorMode* info);
386 unsigned lodepng_get_channels(const LodePNGColorMode* info);
388 unsigned lodepng_is_greyscale_type(const LodePNGColorMode* info);
390 unsigned lodepng_is_alpha_type(const LodePNGColorMode* info);
392 unsigned lodepng_is_palette_type(const LodePNGColorMode* info);
395 unsigned lodepng_has_palette_alpha(const LodePNGColorMode* info);
403 unsigned lodepng_can_have_alpha(const LodePNGColorMode* info);
405 size_t lodepng_get_raw_size(unsigned w, unsigned h, const LodePNGColorMode* color);
425 LodePNGColorMode color; /*color type and bits, palette and transparency of the PNG file*/
618 const LodePNGColorMode* mode_out, const LodePNGColorMode* mode_in,
699 const LodePNGColorMode* mode_in);
707 unsigned lodepng_auto_choose_color(LodePNGColorMode* mode_out,
708 const LodePNGColorMode* mode_in,
709 const LodePNGColorMode* stats);
755 …LodePNGColorMode info_raw; /*specifies the format in which you would like to get the raw pixel buf…