Searched refs:chan_bits (Results 1 - 5 of 5) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_srgb.c91 * (chan_bits bit values unpacked to 32 bit already).
96 unsigned chan_bits,
110 assert(chan_bits <= 8);
130 if (chan_bits != 8) {
133 255.0f / ((1 << chan_bits) - 1));
162 unsigned chan_bits,
304 if (chan_bits != 8) {
307 ((1 << chan_bits) - 1) / 255.0f);
341 unsigned chan_bits = dst_fmt->channel[dst_fmt->swizzle[chan]].size; local in function:lp_build_float_to_srgb_packed
342 tmpsrgb[chan] = lp_build_linear_to_srgb(gallivm, src_type, chan_bits, sr
94 lp_build_srgb_to_linear(struct gallivm_state * gallivm,struct lp_type src_type,unsigned chan_bits,LLVMValueRef src) argument
160 lp_build_linear_to_srgb(struct gallivm_state * gallivm,struct lp_type src_type,unsigned chan_bits,LLVMValueRef src) argument
[all...]
H A Dlp_bld_format.h228 unsigned chan_bits,
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_srgb.c92 * (chan_bits bit values unpacked to 32 bit already).
97 unsigned chan_bits,
111 assert(chan_bits <= 8);
131 if (chan_bits != 8) {
134 255.0f / ((1 << chan_bits) - 1));
163 unsigned chan_bits,
305 if (chan_bits != 8) {
308 ((1 << chan_bits) - 1) / 255.0f);
342 unsigned chan_bits = dst_fmt->channel[dst_fmt->swizzle[chan]].size; local in function:lp_build_float_to_srgb_packed
343 tmpsrgb[chan] = lp_build_linear_to_srgb(gallivm, src_type, chan_bits, sr
95 lp_build_srgb_to_linear(struct gallivm_state * gallivm,struct lp_type src_type,unsigned chan_bits,LLVMValueRef src) argument
161 lp_build_linear_to_srgb(struct gallivm_state * gallivm,struct lp_type src_type,unsigned chan_bits,LLVMValueRef src) argument
[all...]
H A Dlp_bld_format.h251 unsigned chan_bits,
/xsrc/external/mit/MesaLib/dist/src/intel/blorp/
H A Dblorp_blit.c895 const unsigned chan_bits = src_fmtl->channels_array[c].bits; local in function:bit_cast_color
899 chan = nir_format_float_to_unorm(b, chan, &chan_bits);
912 const unsigned chan_bits = dst_fmtl->channels_array[c].bits; local in function:bit_cast_color
914 nir_imm_int(b, BITFIELD_MASK(chan_bits)));
917 chans[c] = nir_format_unorm_to_float(b, chans[c], &chan_bits);

Completed in 9 milliseconds