Home
last modified time | relevance | path

Searched refs:max_palette_length (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/libpng/
Dpngset.c576 png_uint_32 max_palette_length; in png_set_PLTE() local
583 max_palette_length = (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE) ? in png_set_PLTE()
586 if (num_palette < 0 || num_palette > (int) max_palette_length) in png_set_PLTE()
Dpngrutil.c916 int max_palette_length, num, i; in png_handle_PLTE() local
983 max_palette_length = (1 << png_ptr->bit_depth); in png_handle_PLTE()
985 max_palette_length = PNG_MAX_PALETTE_LENGTH; in png_handle_PLTE()
987 if (num > max_palette_length) in png_handle_PLTE()
988 num = max_palette_length; in png_handle_PLTE()
Dpngwutil.c845 png_uint_32 max_palette_length, i; in png_write_PLTE() local
851 max_palette_length = (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE) ? in png_write_PLTE()
858 num_pal == 0) || num_pal > max_palette_length) in png_write_PLTE()
/third_party/flutter/skia/third_party/externals/libpng/
Dpngset.c576 png_uint_32 max_palette_length; in png_set_PLTE() local
583 max_palette_length = (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE) ? in png_set_PLTE()
586 if (num_palette < 0 || num_palette > (int) max_palette_length) in png_set_PLTE()
Dpngrutil.c916 int max_palette_length, num, i; in png_handle_PLTE() local
983 max_palette_length = (1 << png_ptr->bit_depth); in png_handle_PLTE()
985 max_palette_length = PNG_MAX_PALETTE_LENGTH; in png_handle_PLTE()
987 if (num > max_palette_length) in png_handle_PLTE()
988 num = max_palette_length; in png_handle_PLTE()
Dpngwutil.c845 png_uint_32 max_palette_length, i; in png_write_PLTE() local
851 max_palette_length = (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE) ? in png_write_PLTE()
858 num_pal == 0) || num_pal > max_palette_length) in png_write_PLTE()
/third_party/libpng/
Dpngset.c576 png_uint_32 max_palette_length; in png_set_PLTE() local
583 max_palette_length = (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE) ? in png_set_PLTE()
586 if (num_palette < 0 || num_palette > (int) max_palette_length) in png_set_PLTE()
Dpngrutil.c916 int max_palette_length, num, i; in png_handle_PLTE() local
983 max_palette_length = (1 << png_ptr->bit_depth); in png_handle_PLTE()
985 max_palette_length = PNG_MAX_PALETTE_LENGTH; in png_handle_PLTE()
987 if (num > max_palette_length) in png_handle_PLTE()
988 num = max_palette_length; in png_handle_PLTE()
Dpngwutil.c845 png_uint_32 max_palette_length, i; in png_write_PLTE() local
851 max_palette_length = (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE) ? in png_write_PLTE()
858 num_pal == 0) || num_pal > max_palette_length) in png_write_PLTE()