Lines Matching refs:num_new_palette
540 int num_new_palette; in png_set_quantize() local
562 num_new_palette = num_palette; in png_set_quantize()
574 while (num_new_palette > maximum_colors) in png_set_quantize()
576 for (i = 0; i < num_new_palette - 1; i++) in png_set_quantize()
580 for (j = i + 1; j < num_new_palette; j++) in png_set_quantize()
615 < num_new_palette && in png_set_quantize()
617 < num_new_palette) in png_set_quantize()
621 if (num_new_palette & 0x01) in png_set_quantize()
632 num_new_palette--; in png_set_quantize()
634 = palette[num_new_palette]; in png_set_quantize()
647 num_new_palette) in png_set_quantize()
654 [num_new_palette]] = png_ptr->index_to_palette[j]; in png_set_quantize()
657 = png_ptr->palette_to_index[num_new_palette]; in png_set_quantize()
660 (png_byte)num_new_palette; in png_set_quantize()
662 png_ptr->palette_to_index[num_new_palette] = in png_set_quantize()
665 if (num_new_palette <= maximum_colors) in png_set_quantize()
668 if (num_new_palette <= maximum_colors) in png_set_quantize()