Home
last modified time | relevance | path

Searched refs:chan_bits (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_srgb.c96 unsigned chan_bits, in lp_build_srgb_to_linear() argument
110 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() argument
304 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() local
342 tmpsrgb[chan] = lp_build_linear_to_srgb(gallivm, src_type, chan_bits, src[chan]); in lp_build_float_to_srgb_packed()
Dlp_bld_format.h224 unsigned chan_bits,