/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_reverb.c | 561 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 …]
|
D | eas_math.h | 320 #define SATURATE(x) \ macro
|
D | eas_mixer.c | 288 s = SATURATE(s); in SynthMasterGain()
|
/external/libopus/celt/ |
D | celt.c | 114 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()
|
D | fixed_generic.h | 101 #define SATURATE(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro 108 #define SROUND16(x,a) EXTRACT16(SATURATE(PSHR32(x,a), 32767));
|
D | arch.h | 234 #define SATURATE(x,a) (x) macro
|
D | fixed_debug.h | 238 #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/ |
D | u_format_yuv.h | 61 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/ |
D | draw_vs_exec.c | 177 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()
|
D | draw_pipe_offset.c | 123 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/ |
D | s_chan.h | 97 #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/ |
D | pan_job.c | 1260 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/ |
D | depth.c | 157 zmin = SATURATE(zmin); in _mesa_DepthBoundsEXT() 158 zmax = SATURATE(zmax); in _mesa_DepthBoundsEXT()
|
D | multisample.c | 44 value = SATURATE(value); in _mesa_SampleCoverage() 168 value = SATURATE(value); in min_sample_shading()
|
D | clear.c | 605 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()
|
D | viewport.c | 298 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/ |
D | sp_state_blend.c | 82 SATURATE(blend_color->color[i]); in softpipe_set_blend_color()
|
/external/mesa3d/src/mesa/program/ |
D | prog_statevars.c | 443 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/ |
D | etnaviv_zsa.c | 96 extra_reference = _mesa_float_to_half(SATURATE(so->alpha.ref_value)); in etna_zsa_state_create()
|
/external/mesa3d/src/util/ |
D | macros.h | 297 #define SATURATE( X ) CLAMP(X, 0.0f, 1.0f) macro
|
/external/speex/libspeexdsp/ |
D | fixed_generic.h | 62 #define SATURATE(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
|
D | arch.h | 171 #define SATURATE(x,a) (x) macro
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_meta_util.c | 368 override_color.f32[i] = SATURATE(override_color.f32[i]); in brw_meta_convert_fast_clear_color()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_shader.cpp | 586 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/ |
D | ir_constant_expression.cpp | 343 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()
|