/external/webrtc/webrtc/modules/audio_coding/neteq/ |
dtmf_tone_generator_unittest.cc | 26 // This is the attenuation applied to all cases. 70 ASSERT_EQ(0, tone_gen_.Init(fs_hz, event, 0)); // 0 attenuation. 73 for (int attenuation = 1; attenuation <= 36; attenuation += 5) { 76 ss << "; attenuation " << attenuation; local 78 ASSERT_EQ(0, tone_gen_.Init(fs_hz, event, attenuation)); 82 pow(10, -static_cast<double>(attenuation) / 20); 83 // Verify that the attenuation is correct 158 const int attenuation = 0; \/\/ Valid attenuation. local [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_lighttmp.h | 117 GLfloat attenuation; local 122 /* compute VP and attenuation */ 126 attenuation = light->_VP_inf_spot_attenuation; 140 attenuation = 1.0F / (light->ConstantAttenuation + d * 144 /* spotlight attenuation */ 153 attenuation *= spot; 158 if (attenuation < 1e-3F) 166 ACC_SCALE_SCALAR_3V(sum[0], attenuation, light->_MatAmbient[0]); 177 ACC_SCALE_SCALAR_3V( sum[1], attenuation, light->_MatAmbient[1]); 186 ACC_SCALE_SCALAR_3V(sum[side], attenuation, contrib ) 296 GLfloat attenuation; local [all...] |
/frameworks/av/media/libaudioprocessing/tests/ |
resampler_tests.cpp | 269 const double attenuation = rdyn->getFilterAttenuation(); local 281 " attenuation:%lf stopRipple:%.lf passRipple:%lf" 286 attenuation, stopbandDb, passbandDb); 301 ASSERT_GT(stopRipple, 60.); // enough stopband attenuation 393 // there must be at least 60dB relative attenuation between stopband and passband. 400 // there must be at least 60dB relative attenuation between stopband and passband. 421 // there must be at least 60dB relative attenuation between stopband and passband. 428 // there must be at least 60dB relative attenuation between stopband and passband. 449 // there must be at least 60dB relative attenuation between stopband and passband. 456 // there must be at least 60dB relative attenuation between stopband and passband [all...] |
/frameworks/av/media/libaudioprocessing/ |
AudioResamplerDyn.cpp | 279 double attenuation = local 281 attenuation *= attenuation; 284 firKaiserGen(coefs, phases, halfLength, stopBandAtten, fcr, attenuation); 289 mFilterAttenuation = attenuation; 298 c.mL, c.mHalfNumCoefs, stopBandAtten, fcr, attenuation, tbw); 372 // Keep the stop band attenuation no greater than 84-85dB for 32 length S16 filters 374 // For s32 we keep the stop band attenuation at the same as 16b resolution, about 399 // at the expense of aliasing noise (stopband attenuation
|
/external/mesa3d/src/mesa/main/ |
rastpos.c | 139 GLfloat attenuation = 1.0; local 147 attenuation = light->_VP_inf_spot_attenuation; 164 attenuation = 1.0F / (light->ConstantAttenuation + d * 176 attenuation *= spot; 181 if (attenuation < 1e-3F) 187 ACC_SCALE_SCALAR_3V(diffuseColor, attenuation, light->_MatAmbient[0]); 241 ACC_SCALE_SCALAR_3V( diffuseColor, attenuation, diffuseContrib ); 242 ACC_SCALE_SCALAR_3V( specularColor, attenuation, specularContrib );
|
ffvertex_prog.c | 938 struct ureg attenuation = register_param3(p, STATE_LIGHT, i, local 942 /* Calculate spot attenuation: 955 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W)); 962 /* Calculate distance attenuation(See formula (2.4) at glspec 2.1 page 62): 974 emit_op2(p, OPCODE_DP3, dist, 0, attenuation, dist); 1130 * attenuation below. 1137 /* Calculate attenuation: [all...] |
/bionic/libc/kernel/uapi/sound/ |
sfnt_info.h | 99 unsigned char attenuation; member in struct:soundfont_voice_info
|
/external/kernel-headers/original/uapi/sound/ |
sfnt_info.h | 137 unsigned char attenuation; /* attenuation (0.375dB) */ member in struct:soundfont_voice_info
|
/external/libopus/celt/ |
celt_decoder.c | 618 opus_val16 attenuation; local 716 attenuation = MULT16_16_Q15(fade, decay); 722 attenuation = MULT16_16_Q15(attenuation, decay); 725 SHL32(EXTEND32(MULT16_16_Q15(attenuation, [all...] |
/external/swiftshader/src/OpenGL/libGLES_CM/ |
Context.h | 125 struct Attenuation 140 Attenuation attenuation; member in struct:es1::Light 677 Attenuation pointDistanceAttenuation;
|