Home
last modified time | relevance | path

Searched refs:PNG_MAX_PALETTE_LENGTH (Results 1 – 7 of 7) sorted by relevance

/third_party/libpng/
Dbackport-libpng-1.6.37-enable-valid.patch136 - num > (unsigned int)PNG_MAX_PALETTE_LENGTH)
138 + num > (unsigned int) PNG_MAX_PALETTE_LENGTH)
162 png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH));
/third_party/skia/third_party/externals/libpng/
Dpngset.c221 > 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()
Dexample.c825 PNG_MAX_PALETTE_LENGTH * (sizeof (png_color)));
827 png_set_PLTE(png_ptr, info_ptr, palette, PNG_MAX_PALETTE_LENGTH);
Dpngrutil.c915 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()
Dpngwrite.c223 if (jend > PNG_MAX_PALETTE_LENGTH) in png_write_info()
224 jend = PNG_MAX_PALETTE_LENGTH; in png_write_info()
Dpng.h725 #define PNG_MAX_PALETTE_LENGTH 256 macro
Dpngwutil.c852 (1 << png_ptr->bit_depth) : PNG_MAX_PALETTE_LENGTH; in png_write_PLTE()