Searched refs:src_max (Results 1 – 1 of 1) sorted by relevance
422 gx_color_value src_max = (1 << src_depth) - 1; in gx_get_bits_std_to_native() local423 #define v2cv(value) ((ulong)(value) * gx_max_color_value / src_max) in gx_get_bits_std_to_native()424 gx_color_value alpha_default = src_max; in gx_get_bits_std_to_native()435 #define v2frac(value) ((long)(value) * frac_1 / src_max) in gx_get_bits_std_to_native()