Searched refs:palettebits (Results 1 – 1 of 1) sorted by relevance
4477 unsigned palettebits; in auto_choose_color() local4499 palettebits = n <= 2 ? 1 : (n <= 4 ? 2 : (n <= 16 ? 4 : 8)); in auto_choose_color()4502 if(gray_ok && !alpha && bits <= palettebits) palette_ok = 0; /*gray is less overhead*/ in auto_choose_color()4514 mode_out->bitdepth = palettebits; in auto_choose_color()