Home
last modified time | relevance | path

Searched refs:SATURATE (Results 1 – 25 of 45) sorted by relevance

12

/external/sonivox/arm-wt-22k/lib_src/
Deas_reverb.c561 nApOut = SATURATE(nDelayOut - nTemp1); // allpass output in Reverb()
565 nTemp1 = SATURATE(nApIn + nTemp1); in Reverb()
589 nApOut = SATURATE(nDelayOut - nTemp1); // allpass output in Reverb()
593 nTemp1 = SATURATE(nApIn + nTemp1); in Reverb()
621 nDelayOut = SATURATE(nTemp1 + nTemp2); in Reverb()
630 pReverbData->m_zLpf0 = (EAS_PCM) SATURATE(nTemp1 + nTemp2); in Reverb()
650 nDelayOut = SATURATE(nTemp1 + nTemp2); in Reverb()
659 pReverbData->m_zLpf1 = (EAS_PCM)SATURATE(nTemp1 + nTemp2); in Reverb()
666 (EAS_PCM)SATURATE((EAS_I32)pReverbData->m_zLpf1 + (EAS_I32)pReverbData->m_zLpf0); in Reverb()
671 (EAS_PCM)SATURATE((EAS_I32)pReverbData->m_zLpf1 - (EAS_I32)pReverbData->m_zLpf0); in Reverb()
[all …]
Deas_math.h320 #define SATURATE(x) \ macro
Deas_mixer.c288 s = SATURATE(s); in SynthMasterGain()
/external/libopus/celt/
Dcelt.c114 t = SATURATE(t, SIG_SAT); in comb_filter_const_c()
120 t = SATURATE(t, SIG_SAT); in comb_filter_const_c()
126 t = SATURATE(t, SIG_SAT); in comb_filter_const_c()
132 t = SATURATE(t, SIG_SAT); in comb_filter_const_c()
138 t = SATURATE(t, SIG_SAT); in comb_filter_const_c()
149 t = SATURATE(t, SIG_SAT); in comb_filter_const_c()
178 y[i] = SATURATE(y[i], SIG_SAT); in comb_filter_const_c()
239 y[i] = SATURATE(y[i], SIG_SAT); in comb_filter()
Dfixed_generic.h101 #define SATURATE(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
108 #define SROUND16(x,a) EXTRACT16(SATURATE(PSHR32(x,a), 32767));
Darch.h234 #define SATURATE(x,a) (x) macro
Dfixed_debug.h238 #define SROUND16(x,a) (celt_mips--,EXTRACT16(SATURATE(PSHR32(x,a), 32767)));
508 static OPUS_INLINE int SATURATE(int a, int b) in SATURATE() function
/external/mesa3d/src/util/format/
Du_format_yuv.h61 const float _r = SATURATE(r); in util_format_rgb_float_to_yuv()
62 const float _g = SATURATE(g); in util_format_rgb_float_to_yuv()
63 const float _b = SATURATE(b); in util_format_rgb_float_to_yuv()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_exec.c177 output[slot][0] = SATURATE(machine->Outputs[slot].xyzw[0].f[j]); in vs_exec_run_linear()
178 output[slot][1] = SATURATE(machine->Outputs[slot].xyzw[1].f[j]); in vs_exec_run_linear()
179 output[slot][2] = SATURATE(machine->Outputs[slot].xyzw[2].f[j]); in vs_exec_run_linear()
180 output[slot][3] = SATURATE(machine->Outputs[slot].xyzw[3].f[j]); in vs_exec_run_linear()
Ddraw_pipe_offset.c123 v0[2] = SATURATE(v0[2] + zoffset); in do_offset_tri()
124 v1[2] = SATURATE(v1[2] + zoffset); in do_offset_tri()
125 v2[2] = SATURATE(v2[2] + zoffset); in do_offset_tri()
/external/mesa3d/src/mesa/swrast/
Ds_chan.h97 #define CHAN_TO_USHORT(c) ((GLushort) (SATURATE((c)) * 65535.0))
98 #define CHAN_TO_SHORT(c) ((GLshort) (SATURATE((c)) * 32767.0))
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_job.c1260 unsigned r5 = _mesa_roundevenf(SATURATE(color->f[0]) * 31.0); in pan_pack_color()
1261 unsigned g6 = _mesa_roundevenf(SATURATE(color->f[1]) * 63.0); in pan_pack_color()
1262 unsigned b5 = _mesa_roundevenf(SATURATE(color->f[2]) * 31.0); in pan_pack_color()
1268 unsigned r4 = _mesa_roundevenf(SATURATE(color->f[0]) * 15.0); in pan_pack_color()
1269 unsigned g4 = _mesa_roundevenf(SATURATE(color->f[1]) * 15.0); in pan_pack_color()
1270 unsigned b4 = _mesa_roundevenf(SATURATE(color->f[2]) * 15.0); in pan_pack_color()
1271 unsigned a4 = _mesa_roundevenf(SATURATE(clear_alpha) * 15.0); in pan_pack_color()
1277 unsigned r5 = _mesa_roundevenf(SATURATE(color->f[0]) * 31.0); in pan_pack_color()
1278 unsigned g5 = _mesa_roundevenf(SATURATE(color->f[1]) * 31.0); in pan_pack_color()
1279 unsigned b5 = _mesa_roundevenf(SATURATE(color->f[2]) * 31.0); in pan_pack_color()
[all …]
/external/mesa3d/src/mesa/main/
Ddepth.c157 zmin = SATURATE(zmin); in _mesa_DepthBoundsEXT()
158 zmax = SATURATE(zmax); in _mesa_DepthBoundsEXT()
Dmultisample.c44 value = SATURATE(value); in _mesa_SampleCoverage()
168 value = SATURATE(value); in min_sample_shading()
Dclear.c605 ctx->Depth.Clear = is_float_depth ? *value : SATURATE(*value); in clear_bufferfv()
754 ctx->Depth.Clear = has_float_depth ? depth : SATURATE(depth); in clear_bufferfi()
Dviewport.c298 ctx->ViewportArray[idx].Near = SATURATE(nearval); in set_depth_range_no_notify()
299 ctx->ViewportArray[idx].Far = SATURATE(farval); in set_depth_range_no_notify()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_blend.c82 SATURATE(blend_color->color[i]); in softpipe_set_blend_color()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c443 value[0] = SATURATE(ctx->Current.Attrib[idx][0]); in fetch_state()
444 value[1] = SATURATE(ctx->Current.Attrib[idx][1]); in fetch_state()
445 value[2] = SATURATE(ctx->Current.Attrib[idx][2]); in fetch_state()
446 value[3] = SATURATE(ctx->Current.Attrib[idx][3]); in fetch_state()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_zsa.c96 extra_reference = _mesa_float_to_half(SATURATE(so->alpha.ref_value)); in etna_zsa_state_create()
/external/mesa3d/src/util/
Dmacros.h297 #define SATURATE( X ) CLAMP(X, 0.0f, 1.0f) macro
/external/speex/libspeexdsp/
Dfixed_generic.h62 #define SATURATE(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
Darch.h171 #define SATURATE(x,a) (x) macro
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_meta_util.c368 override_color.f32[i] = SATURATE(override_color.f32[i]); in brw_meta_convert_fast_clear_color()
/external/mesa3d/src/intel/compiler/
Dbrw_shader.cpp586 sat_imm.f = SATURATE(imm.f); in brw_saturate_immediate()
589 sat_imm.df = SATURATE(imm.df); in brw_saturate_immediate()
/external/mesa3d/src/compiler/glsl/
Dir_constant_expression.cpp343 return (uint8_t) (int) _mesa_roundevenf(SATURATE(x) * 255.0f); in pack_unorm_1x8()
362 _mesa_roundevenf(SATURATE(x) * 65535.0f); in pack_unorm_1x16()

12