HomeSort by relevance Sort by last modified time
    Searched refs:attenuation (Results 1 - 23 of 23) sorted by null

  /external/webrtc/webrtc/modules/audio_coding/neteq/mock/
mock_dtmf_tone_generator.h 25 int(int fs, int event, int attenuation));
  /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...]
dtmf_tone_generator.cc 105 // 48000), event (0-15) and attenuation (0-36 dB).
107 int DtmfToneGenerator::Init(int fs, int event, int attenuation) {
127 if (attenuation < 0 || attenuation > 36) {
128 return kParameterError; // Invalid attenuation.
135 amplitude_ = kAmplitude[attenuation];
dtmf_tone_generator.h 31 virtual int Init(int fs, int event, int attenuation);
42 static const int16_t kAmpMultiplier = 23171; // 3 dB attenuation (in Q15).
  /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...]
  /external/autotest/server/cros/network/rf_switch/
rf_switch_unittest.py 204 attenuation = 100
212 self.assertEquals(response, attenuation,
214 response, attenuation))
220 attenuation = 100
227 self.mock_rf_switch.set_attenuation(ap, attenuation)
231 """Verify we can set same attenuation to all."""
rf_switch.py 32 # Each AP enclosure uses 6 relays and a R relay to set attenuation
116 to Max. Please remember to set your attenuation to right level after
191 """Get Attenuation for an AP enclosure.
193 Attenuation is set by turning on/off the relays. Each relay specifies
194 a bit in the binary value of attenuation. Find the relay status and
199 @returns attenuation value in int
218 """Get attenuation value for all AP enclosures.
220 @returns tuple of attenuation value for each enclosure
228 def set_attenuation(self, ap_enclosure, attenuation):
229 """Set attenuation for an AP enclosure
    [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
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/sound/
sfnt_info.h 136 unsigned char attenuation; /* attenuation (0.375dB) */ member in struct:soundfont_voice_info
  /frameworks/av/media/libaudioprocessing/
AudioResamplerDyn.cpp 277 double attenuation = local
279 attenuation *= attenuation;
282 firKaiserGen(coefs, phases, halfLength, stopBandAtten, fcr, attenuation);
287 mFilterAttenuation = attenuation;
296 c.mL, c.mHalfNumCoefs, stopBandAtten, fcr, attenuation, tbw);
370 // Keep the stop band attenuation no greater than 84-85dB for 32 length S16 filters
372 // For s32 we keep the stop band attenuation at the same as 16b resolution, about
  /frameworks/native/opengl/libagl/
light.cpp 72 c->lighting.lights[i].attenuation[0] = 0x10000;
262 l.rConstAttenuation = (l.attenuation[1] | l.attenuation[2])==0;
264 l.rConstAttenuation = gglRecipFast(l.attenuation[0]);
427 // attenuation
432 s = gglMulAddx(sqDist, l.attenuation[2], l.attenuation[0]);
433 if (l.attenuation[1])
434 s = gglMulAddx(gglSqrtx(sqDist), l.attenuation[1], s);
492 light.attenuation[0] = param
    [all...]
context.h 302 GLfixed attenuation[3]; member in struct:android::gl::light_t
  /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...]
  /frameworks/av/media/libaudioprocessing/tests/
resampler_tests.cpp 268 const double attenuation = rdyn->getFilterAttenuation(); local
277 " attenuation:%lf stopRipple:%.lf passRipple:%lf"
282 attenuation, stopbandDb, passbandDb);
297 ASSERT_GT(stopRipple, 60.); // enough stopband attenuation
389 // there must be at least 60dB relative attenuation between stopband and passband.
396 // there must be at least 60dB relative attenuation between stopband and passband.
417 // there must be at least 60dB relative attenuation between stopband and passband.
424 // there must be at least 60dB relative attenuation between stopband and passband.
445 // there must be at least 60dB relative attenuation between stopband and passband.
452 // there must be at least 60dB relative attenuation between stopband and passband
    [all...]
  /tools/test/connectivity/acts/tests/google/wifi/
WifiRvrTest.py 85 for att in result["attenuation"]
90 x_label = 'Attenuation (dB)'
116 rvr_result: dict containing attenuation, throughput and other meta
134 current_att = rvr_result["attenuation"][idx] + rvr_result["fixed_attenuation"]
140 "Throughput at {}dB attenuation is beyond limits. "
161 rvr_result: dict containing attenuation, throughput and other meta
164 throughput_limits: dict containing attenuation and throughput limit data
170 for att in golden_results["attenuation"]
172 attenuation = []
177 current_att = rvr_result["attenuation"][idx] + rvr_result["fixed_attenuation"
    [all...]
  /external/libopus/celt/
celt_decoder.c 579 opus_val16 attenuation; local
685 attenuation = MULT16_16_Q15(fade, decay);
691 attenuation = MULT16_16_Q15(attenuation, decay);
694 SHL32(EXTEND32(MULT16_16_Q15(attenuation,
    [all...]
  /external/mesa3d/src/mesa/program/
program_lexer.l 239 {dot}attenuation { return ATTENUATION; }
  /external/swiftshader/src/OpenGL/libGLES_CM/
Context.cpp 184 light[i].attenuation = {1.0f, 0.0f, 0.0f};
674 light[index].attenuation.constant = constant;
679 light[index].attenuation.linear = linear;
684 light[index].attenuation.quadratic = quadratic;
    [all...]
Context.h 125 struct Attenuation
140 Attenuation attenuation; member in struct:es1::Light
677 Attenuation pointDistanceAttenuation;
  /external/speex/libspeex/
nb_celp.c 1014 const spx_word16_t attenuation[10] = {32767, 31483, 27923, 22861, 17278, 12055, 7764, 4616, 2533, 1283}; variable
1016 const spx_word16_t attenuation[10] = {1., 0.961, 0.852, 0.698, 0.527, 0.368, 0.237, 0.141, 0.077, 0.039}; variable
    [all...]
  /external/ImageMagick/www/api/
fx.php 356 <dd>Define the plasma attenuation factor. </dd>

Completed in 445 milliseconds