Home | History | Annotate | Download | only in libpng

Lines Matching refs:num_new_palette

320          int num_new_palette;
342 num_new_palette = num_palette;
354 while (num_new_palette > maximum_colors)
356 for (i = 0; i < num_new_palette - 1; i++)
360 for (j = i + 1; j < num_new_palette; j++)
393 < num_new_palette &&
395 < num_new_palette)
399 if (num_new_palette & 0x01)
410 num_new_palette--;
412 = palette[num_new_palette];
424 num_new_palette)
431 [num_new_palette]] = png_ptr->index_to_palette[j];
433 = png_ptr->palette_to_index[num_new_palette];
436 (png_byte)num_new_palette;
437 png_ptr->palette_to_index[num_new_palette] =
440 if (num_new_palette <= maximum_colors)
443 if (num_new_palette <= maximum_colors)