Lines Matching refs:num_palette
382 int num_palette, int maximum_colors, png_const_uint_16p histogram, in png_set_quantize() argument
397 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_quantize()
398 for (i = 0; i < num_palette; i++) in png_set_quantize()
402 if (num_palette > maximum_colors) in png_set_quantize()
414 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_quantize()
417 for (i = 0; i < num_palette; i++) in png_set_quantize()
427 for (i = num_palette - 1; i >= maximum_colors; i--) in png_set_quantize()
454 int j = num_palette; in png_set_quantize()
473 int j = num_palette; in png_set_quantize()
499 for (i = 0; i < num_palette; i++) in png_set_quantize()
548 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_quantize()
550 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_quantize()
553 for (i = 0; i < num_palette; i++) in png_set_quantize()
562 num_new_palette = num_palette; in png_set_quantize()
639 for (k = 0; k < num_palette; k++) in png_set_quantize()
695 num_palette = maximum_colors; in png_set_quantize()
701 png_ptr->num_palette = (png_uint_16)num_palette; in png_set_quantize()
722 for (i = 0; i < num_palette; i++) in png_set_quantize()
1554 int num_palette = png_ptr->num_palette; in png_init_read_transformations() local
1630 for (i = 0; i < num_palette; i++) in png_init_read_transformations()
1770 int num_palette = png_ptr->num_palette; in png_init_read_transformations() local
1776 for (i = 0; i < num_palette; i++) in png_init_read_transformations()
1837 int istop = png_ptr->num_palette; in png_init_read_transformations()
3431 int num_palette; in png_build_grayscale_palette() local
3444 num_palette = 2; in png_build_grayscale_palette()
3449 num_palette = 4; in png_build_grayscale_palette()
3454 num_palette = 16; in png_build_grayscale_palette()
3459 num_palette = 256; in png_build_grayscale_palette()
3464 num_palette = 0; in png_build_grayscale_palette()
3469 for (i = 0, v = 0; i < num_palette; i++, v += color_inc) in png_build_grayscale_palette()