Home
last modified time | relevance | path

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

/external/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()
/external/pdfium/third_party/libpng16/
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()
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()