Searched refs:scale_to_short (Results 1 – 1 of 1) sorted by relevance
3144 scale_to_short; in ReadOnePNGImage() local3146 scale_to_short = 65535L/((1UL << ping_file_depth)-1); in ReadOnePNGImage()3149 transparent_color.red= scale_to_short*ping_trans_color->red; in ReadOnePNGImage()3150 transparent_color.green= scale_to_short*ping_trans_color->green; in ReadOnePNGImage()3151 transparent_color.blue= scale_to_short*ping_trans_color->blue; in ReadOnePNGImage()3152 transparent_color.alpha= scale_to_short*ping_trans_color->gray; in ReadOnePNGImage()