Searched refs:chan_bits (Results 1 – 2 of 2) sorted by relevance
96 unsigned chan_bits, in lp_build_srgb_to_linear() argument110 assert(chan_bits <= 8); in lp_build_srgb_to_linear()130 if (chan_bits != 8) { in lp_build_srgb_to_linear()133 255.0f / ((1 << chan_bits) - 1)); in lp_build_srgb_to_linear()162 unsigned chan_bits, in lp_build_linear_to_srgb() argument304 if (chan_bits != 8) { in lp_build_linear_to_srgb()307 ((1 << chan_bits) - 1) / 255.0f); in lp_build_linear_to_srgb()341 unsigned chan_bits = dst_fmt->channel[dst_fmt->swizzle[chan]].size; in lp_build_float_to_srgb_packed() local342 tmpsrgb[chan] = lp_build_linear_to_srgb(gallivm, src_type, chan_bits, src[chan]); in lp_build_float_to_srgb_packed()
224 unsigned chan_bits,