Lines Matching refs:num_palette
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()
595 (png_alloc_size_t)((png_uint_32)num_palette * in png_set_quantize()
598 (png_alloc_size_t)((png_uint_32)num_palette * in png_set_quantize()
602 for (i = 0; i < num_palette; i++) in png_set_quantize()
611 num_new_palette = num_palette; in png_set_quantize()
688 for (k = 0; k < num_palette; k++) in png_set_quantize()
744 num_palette = maximum_colors; in png_set_quantize()
750 png_ptr->num_palette = (png_uint_16)num_palette; in png_set_quantize()
771 for (i = 0; i < num_palette; i++) in png_set_quantize()
1610 int num_palette = png_ptr->num_palette; in png_init_read_transformations() local
1686 for (i = 0; i < num_palette; i++) in png_init_read_transformations()
1827 int num_palette = png_ptr->num_palette; in png_init_read_transformations() local
1833 for (i = 0; i < num_palette; i++) in png_init_read_transformations()
1894 int istop = png_ptr->num_palette; in png_init_read_transformations()