Searched refs:PNG_MAX_PALETTE_LENGTH (Results 1 – 7 of 7) sorted by relevance
136 - num > (unsigned int)PNG_MAX_PALETTE_LENGTH)138 + num > (unsigned int) PNG_MAX_PALETTE_LENGTH)162 png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH));
221 > PNG_MAX_PALETTE_LENGTH) in png_set_hIST()235 PNG_MAX_PALETTE_LENGTH * (sizeof (png_uint_16)))); in png_set_hIST()584 (1 << info_ptr->bit_depth) : PNG_MAX_PALETTE_LENGTH; in png_set_PLTE()623 PNG_MAX_PALETTE_LENGTH * (sizeof (png_color)))); in png_set_PLTE()1016 if (num_trans > 0 && num_trans <= PNG_MAX_PALETTE_LENGTH) in png_set_tRNS()1020 png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH)); in png_set_tRNS()
825 PNG_MAX_PALETTE_LENGTH * (sizeof (png_color)));827 png_set_PLTE(png_ptr, info_ptr, palette, PNG_MAX_PALETTE_LENGTH);
915 png_color palette[PNG_MAX_PALETTE_LENGTH]; in png_handle_PLTE()961 if (length > 3*PNG_MAX_PALETTE_LENGTH || length % 3) in png_handle_PLTE()985 max_palette_length = PNG_MAX_PALETTE_LENGTH; in png_handle_PLTE()1819 png_byte readbuf[PNG_MAX_PALETTE_LENGTH]; in png_handle_tRNS()1885 length > (unsigned int) PNG_MAX_PALETTE_LENGTH || in png_handle_tRNS()2105 png_uint_16 readbuf[PNG_MAX_PALETTE_LENGTH]; in png_handle_hIST()2130 num > (unsigned int) PNG_MAX_PALETTE_LENGTH) in png_handle_hIST()
223 if (jend > PNG_MAX_PALETTE_LENGTH) in png_write_info()224 jend = PNG_MAX_PALETTE_LENGTH; in png_write_info()
725 #define PNG_MAX_PALETTE_LENGTH 256 macro
852 (1 << png_ptr->bit_depth) : PNG_MAX_PALETTE_LENGTH; in png_write_PLTE()