/third_party/libpng/contrib/examples/ |
D | pngpixel.c | 92 int num_palette = 0; in print_pixel() local 94 if ((png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette) & in print_pixel() 95 PNG_INFO_PLTE) && num_palette > 0 && palette != NULL) in print_pixel()
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/examples/ |
D | pngpixel.c | 92 int num_palette = 0; in print_pixel() local 94 if ((png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette) & in print_pixel() 95 PNG_INFO_PLTE) && num_palette > 0 && palette != NULL) in print_pixel()
|
/third_party/skia/third_party/externals/libpng/contrib/examples/ |
D | pngpixel.c | 92 int num_palette = 0; in print_pixel() local 94 if ((png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette) & in print_pixel() 95 PNG_INFO_PLTE) && num_palette > 0 && palette != NULL) in print_pixel()
|
/third_party/skia/third_party/externals/libpng/ |
D | pngset.c | 220 if (info_ptr->num_palette == 0 || info_ptr->num_palette in png_set_hIST() 246 for (i = 0; i < info_ptr->num_palette; i++) in png_set_hIST() 573 png_const_colorp palette, int num_palette) in png_set_PLTE() argument 586 if (num_palette < 0 || num_palette > (int) max_palette_length) in png_set_PLTE() 599 if ((num_palette > 0 && palette == NULL) || in png_set_PLTE() 600 (num_palette == 0 in png_set_PLTE() 625 if (num_palette > 0) in png_set_PLTE() 626 memcpy(png_ptr->palette, palette, (unsigned int)num_palette * in png_set_PLTE() 629 info_ptr->num_palette = png_ptr->num_palette = (png_uint_16)num_palette; in png_set_PLTE()
|
D | pngrtran.c | 429 int num_palette, int maximum_colors, png_const_uint_16p histogram, in png_set_quantize() argument 444 (png_alloc_size_t)((png_uint_32)num_palette * (sizeof (png_byte)))); in png_set_quantize() 445 for (i = 0; i < num_palette; i++) in png_set_quantize() 449 if (num_palette > maximum_colors) in png_set_quantize() 461 (png_alloc_size_t)((png_uint_32)num_palette * (sizeof (png_byte)))); in png_set_quantize() 464 for (i = 0; i < num_palette; i++) in png_set_quantize() 474 for (i = num_palette - 1; i >= maximum_colors; i--) in png_set_quantize() 501 int j = num_palette; in png_set_quantize() 520 int j = num_palette; in png_set_quantize() 546 for (i = 0; i < num_palette; i++) in png_set_quantize() [all …]
|
D | example.c | 472 int num_palette; 484 else if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette) != 0) 488 png_set_quantize(png_ptr, palette, num_palette,
|
D | pnginfo.h | 63 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */ member
|
D | pngtrans.c | 701 if (png_ptr->num_palette < (1 << row_info->bit_depth) && in png_do_check_palette_indexes() 702 png_ptr->num_palette > 0) /* num_palette can be 0 in MNG files */ in png_do_check_palette_indexes()
|
D | pngget.c | 1013 png_colorp *palette, int *num_palette) in png_get_PLTE() argument 1021 *num_palette = info_ptr->num_palette; in png_get_PLTE() 1022 png_debug1(3, "num_palette = %d", *num_palette); in png_get_PLTE()
|
D | png.c | 654 info_ptr->num_palette = 0; in png_free_data() 877 int num_palette; 890 num_palette = 2; 895 num_palette = 4; 900 num_palette = 16; 905 num_palette = 256; 910 num_palette = 0; 915 for (i = 0, v = 0; i < num_palette; i++, v += color_inc)
|
/third_party/flutter/skia/third_party/externals/libpng/ |
D | pngset.c | 220 if (info_ptr->num_palette == 0 || info_ptr->num_palette in png_set_hIST() 246 for (i = 0; i < info_ptr->num_palette; i++) in png_set_hIST() 573 png_const_colorp palette, int num_palette) in png_set_PLTE() argument 586 if (num_palette < 0 || num_palette > (int) max_palette_length) in png_set_PLTE() 599 if ((num_palette > 0 && palette == NULL) || in png_set_PLTE() 600 (num_palette == 0 in png_set_PLTE() 625 if (num_palette > 0) in png_set_PLTE() 626 memcpy(png_ptr->palette, palette, (unsigned int)num_palette * in png_set_PLTE() 629 info_ptr->num_palette = png_ptr->num_palette = (png_uint_16)num_palette; in png_set_PLTE()
|
D | pngrtran.c | 429 int num_palette, int maximum_colors, png_const_uint_16p histogram, in png_set_quantize() argument 444 (png_alloc_size_t)((png_uint_32)num_palette * (sizeof (png_byte)))); in png_set_quantize() 445 for (i = 0; i < num_palette; i++) in png_set_quantize() 449 if (num_palette > maximum_colors) in png_set_quantize() 461 (png_alloc_size_t)((png_uint_32)num_palette * (sizeof (png_byte)))); in png_set_quantize() 464 for (i = 0; i < num_palette; i++) in png_set_quantize() 474 for (i = num_palette - 1; i >= maximum_colors; i--) in png_set_quantize() 501 int j = num_palette; in png_set_quantize() 520 int j = num_palette; in png_set_quantize() 546 for (i = 0; i < num_palette; i++) in png_set_quantize() [all …]
|
D | example.c | 472 int num_palette; 484 else if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette) != 0) 488 png_set_quantize(png_ptr, palette, num_palette,
|
D | pnginfo.h | 63 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */ member
|
D | pngtrans.c | 701 if (png_ptr->num_palette < (1 << row_info->bit_depth) && in png_do_check_palette_indexes() 702 png_ptr->num_palette > 0) /* num_palette can be 0 in MNG files */ in png_do_check_palette_indexes()
|
D | pngget.c | 1013 png_colorp *palette, int *num_palette) in png_get_PLTE() argument 1021 *num_palette = info_ptr->num_palette; in png_get_PLTE() 1022 png_debug1(3, "num_palette = %d", *num_palette); in png_get_PLTE()
|
D | png.c | 654 info_ptr->num_palette = 0; in png_free_data() 877 int num_palette; 890 num_palette = 2; 895 num_palette = 4; 900 num_palette = 16; 905 num_palette = 256; 910 num_palette = 0; 915 for (i = 0, v = 0; i < num_palette; i++, v += color_inc)
|
/third_party/libpng/ |
D | pngset.c | 220 if (info_ptr->num_palette == 0 || info_ptr->num_palette in png_set_hIST() 246 for (i = 0; i < info_ptr->num_palette; i++) in png_set_hIST() 573 png_const_colorp palette, int num_palette) in png_set_PLTE() argument 586 if (num_palette < 0 || num_palette > (int) max_palette_length) in png_set_PLTE() 599 if ((num_palette > 0 && palette == NULL) || in png_set_PLTE() 600 (num_palette == 0 in png_set_PLTE() 625 if (num_palette > 0) in png_set_PLTE() 626 memcpy(png_ptr->palette, palette, (unsigned int)num_palette * in png_set_PLTE() 629 info_ptr->num_palette = png_ptr->num_palette = (png_uint_16)num_palette; in png_set_PLTE()
|
D | pngrtran.c | 429 int num_palette, int maximum_colors, png_const_uint_16p histogram, in png_set_quantize() argument 444 (png_alloc_size_t)((png_uint_32)num_palette * (sizeof (png_byte)))); in png_set_quantize() 445 for (i = 0; i < num_palette; i++) in png_set_quantize() 449 if (num_palette > maximum_colors) in png_set_quantize() 461 (png_alloc_size_t)((png_uint_32)num_palette * (sizeof (png_byte)))); in png_set_quantize() 464 for (i = 0; i < num_palette; i++) in png_set_quantize() 474 for (i = num_palette - 1; i >= maximum_colors; i--) in png_set_quantize() 501 int j = num_palette; in png_set_quantize() 520 int j = num_palette; in png_set_quantize() 546 for (i = 0; i < num_palette; i++) in png_set_quantize() [all …]
|
D | example.c | 472 int num_palette; 484 else if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette) != 0) 488 png_set_quantize(png_ptr, palette, num_palette,
|
D | pnginfo.h | 63 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */ member
|
D | pngtrans.c | 701 if (png_ptr->num_palette < (1 << row_info->bit_depth) && in png_do_check_palette_indexes() 702 png_ptr->num_palette > 0) /* num_palette can be 0 in MNG files */ in png_do_check_palette_indexes()
|
D | pngget.c | 1013 png_colorp *palette, int *num_palette) in png_get_PLTE() argument 1021 *num_palette = info_ptr->num_palette; in png_get_PLTE() 1022 png_debug1(3, "num_palette = %d", *num_palette); in png_get_PLTE()
|
D | png.c | 654 info_ptr->num_palette = 0; in png_free_data() 877 int num_palette; 890 num_palette = 2; 895 num_palette = 4; 900 num_palette = 16; 905 num_palette = 256; 910 num_palette = 0; 915 for (i = 0, v = 0; i < num_palette; i++, v += color_inc)
|
/third_party/boost/boost/gil/extension/io/png/ |
D | tags.hpp | 749 …, const png_dithering_num_palette::type num_palette = png_dithering_num_palette::de… in image_write_info() 769 , _dithering_num_palette( num_palette ) in image_write_info()
|