Lines Matching refs:num_new_palette
575 int num_new_palette; in png_set_quantize() local
597 num_new_palette = num_palette; in png_set_quantize()
609 while (num_new_palette > maximum_colors) in png_set_quantize()
611 for (i = 0; i < num_new_palette - 1; i++) in png_set_quantize()
615 for (j = i + 1; j < num_new_palette; j++) in png_set_quantize()
650 < num_new_palette && in png_set_quantize()
652 < num_new_palette) in png_set_quantize()
656 if (num_new_palette & 0x01) in png_set_quantize()
667 num_new_palette--; in png_set_quantize()
669 = palette[num_new_palette]; in png_set_quantize()
682 num_new_palette) in png_set_quantize()
689 [num_new_palette]] = png_ptr->index_to_palette[j]; in png_set_quantize()
692 = png_ptr->palette_to_index[num_new_palette]; in png_set_quantize()
695 (png_byte)num_new_palette; in png_set_quantize()
697 png_ptr->palette_to_index[num_new_palette] = in png_set_quantize()
700 if (num_new_palette <= maximum_colors) in png_set_quantize()
703 if (num_new_palette <= maximum_colors) in png_set_quantize()