Lines Matching refs:num_palette
418 int num_palette, int maximum_colors, png_const_uint_16p histogram, in png_set_quantize() argument
433 (png_alloc_size_t)((png_uint_32)num_palette * (sizeof (png_byte)))); in png_set_quantize()
434 for (i = 0; i < num_palette; i++) in png_set_quantize()
438 if (num_palette > maximum_colors) in png_set_quantize()
450 (png_alloc_size_t)((png_uint_32)num_palette * (sizeof (png_byte)))); in png_set_quantize()
453 for (i = 0; i < num_palette; i++) in png_set_quantize()
463 for (i = num_palette - 1; i >= maximum_colors; i--) in png_set_quantize()
490 int j = num_palette; in png_set_quantize()
509 int j = num_palette; in png_set_quantize()
535 for (i = 0; i < num_palette; i++) in png_set_quantize()
584 (png_alloc_size_t)((png_uint_32)num_palette * in png_set_quantize()
587 (png_alloc_size_t)((png_uint_32)num_palette * in png_set_quantize()
591 for (i = 0; i < num_palette; i++) in png_set_quantize()
600 num_new_palette = num_palette; in png_set_quantize()
677 for (k = 0; k < num_palette; k++) in png_set_quantize()
733 num_palette = maximum_colors; in png_set_quantize()
739 png_ptr->num_palette = (png_uint_16)num_palette; in png_set_quantize()
760 for (i = 0; i < num_palette; i++) in png_set_quantize()
1599 int num_palette = png_ptr->num_palette; in png_init_read_transformations() local
1675 for (i = 0; i < num_palette; i++) in png_init_read_transformations()
1816 int num_palette = png_ptr->num_palette; in png_init_read_transformations() local
1822 for (i = 0; i < num_palette; i++) in png_init_read_transformations()
1883 int istop = png_ptr->num_palette; in png_init_read_transformations()