Searched refs:greybits (Results 1 – 1 of 1) sorted by relevance
3484 …unsigned greybits; /*amount of bits required for greyscale (1, 2, 4, 8). Does not take 16 bit into… member3512 profile->greybits = 1; in color_profile_init()3624 if(bits > profile->greybits) profile->greybits = bits; in get_color_profile()3625 if(profile->greybits >= 8) profile->greybits_done = 1; in get_color_profile()3703 if(bits > profile->greybits) profile->greybits = bits; in get_color_profile()3704 if(profile->greybits >= 8) profile->greybits_done = 1; in get_color_profile()3815 if(!palette_ok || (grey_ok && profile.greybits <= palettebits)) in lodepng_auto_choose_color()3819 mode_out->bitdepth = profile.greybits; in lodepng_auto_choose_color()