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

  /external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
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_unittest.cc 38 const int attenuation = 0; // Valid attenuation. local
41 tone_gen.Init(fs, -1, attenuation));
44 tone_gen.Init(fs, 16, attenuation));
45 // Initialize with invalid attenuation -1.
47 // Initialize with invalid attenuation 37.
52 ASSERT_EQ(0, tone_gen.Init(fs, event, attenuation));
73 const double attenuate_3dB = 23171.0 / 32768; // 3 dB attenuation.
74 const double base_attenuation = 16141.0 / 16384.0; // This is the attenuation
118 ASSERT_EQ(0, tone_gen.Init(fs, event, 0)); // 0 attenuation
124 ss << "; attenuation " << attenuation; local
    [all...]
dtmf_tone_generator.h 32 virtual int Init(int fs, int event, int attenuation);
43 static const int16_t kAmpMultiplier = 23171; // 3 dB attenuation (in Q15).
  /external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/mock/
mock_dtmf_tone_generator.h 25 int(int fs, int event, int attenuation));
  /external/chromium_org/third_party/mesa/src/src/mesa/tnl/
t_vb_lighttmp.h 115 GLfloat attenuation; local
120 /* compute VP and attenuation */
124 attenuation = light->_VP_inf_spot_attenuation;
138 attenuation = 1.0F / (light->ConstantAttenuation + d *
142 /* spotlight attenuation */
151 attenuation *= spot;
156 if (attenuation < 1e-3)
164 ACC_SCALE_SCALAR_3V(sum[0], attenuation, light->_MatAmbient[0]);
175 ACC_SCALE_SCALAR_3V( sum[1], attenuation, light->_MatAmbient[1]);
184 ACC_SCALE_SCALAR_3V(sum[side], attenuation, contrib )
292 GLfloat attenuation = 1.0; local
    [all...]
t_rasterpos.c 132 GLfloat attenuation = 1.0; local
140 attenuation = light->_VP_inf_spot_attenuation;
157 attenuation = 1.0F / (light->ConstantAttenuation + d *
169 attenuation *= spot;
174 if (attenuation < 1e-3)
180 ACC_SCALE_SCALAR_3V(diffuseColor, attenuation, light->_MatAmbient[0]);
234 ACC_SCALE_SCALAR_3V( diffuseColor, attenuation, diffuseContrib );
235 ACC_SCALE_SCALAR_3V( specularColor, attenuation, specularContrib );
  /external/mesa3d/src/mesa/tnl/
t_vb_lighttmp.h 115 GLfloat attenuation; local
120 /* compute VP and attenuation */
124 attenuation = light->_VP_inf_spot_attenuation;
138 attenuation = 1.0F / (light->ConstantAttenuation + d *
142 /* spotlight attenuation */
151 attenuation *= spot;
156 if (attenuation < 1e-3)
164 ACC_SCALE_SCALAR_3V(sum[0], attenuation, light->_MatAmbient[0]);
175 ACC_SCALE_SCALAR_3V( sum[1], attenuation, light->_MatAmbient[1]);
184 ACC_SCALE_SCALAR_3V(sum[side], attenuation, contrib )
292 GLfloat attenuation = 1.0; local
    [all...]
t_rasterpos.c 132 GLfloat attenuation = 1.0; local
140 attenuation = light->_VP_inf_spot_attenuation;
157 attenuation = 1.0F / (light->ConstantAttenuation + d *
169 attenuation *= spot;
174 if (attenuation < 1e-3)
180 ACC_SCALE_SCALAR_3V(diffuseColor, attenuation, light->_MatAmbient[0]);
234 ACC_SCALE_SCALAR_3V( diffuseColor, attenuation, diffuseContrib );
235 ACC_SCALE_SCALAR_3V( specularColor, attenuation, specularContrib );
  /bionic/libc/kernel/uapi/sound/
sfnt_info.h 119 unsigned char attenuation; member in struct:soundfont_voice_info
  /external/chromium_org/third_party/WebKit/Source/platform/audio/
DynamicsCompressorKernel.cpp 397 float attenuation = absInput <= 0.0001f ? 1 : shapedInput / absInput; local
399 float attenuationDb = -linearToDecibels(attenuation);
406 bool isRelease = (attenuation > detectorAverage);
409 detectorAverage += (attenuation - detectorAverage) * rate;
  /external/kernel-headers/original/uapi/sound/
sfnt_info.h 136 unsigned char attenuation; /* attenuation (0.375dB) */ member in struct:soundfont_voice_info
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/sound/
sfnt_info.h 136 unsigned char attenuation; /* attenuation (0.375dB) */ member in struct:soundfont_voice_info
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sound/
sfnt_info.h 136 unsigned char attenuation; /* attenuation (0.375dB) */ member in struct:soundfont_voice_info
  /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);
493 light.attenuation[0] = param
    [all...]
context.h 301 GLfixed attenuation[3]; member in struct:android::gl::light_t
  /development/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/
NativeAudio.java 226 int attenuation = 100 - lastProgress;
227 int millibel = attenuation * -50;
  /external/chromium_org/third_party/opus/src/celt/
celt_decoder.c 467 opus_val16 attenuation; local
557 attenuation = MULT16_16_Q15(fade, decay);
563 attenuation = MULT16_16_Q15(attenuation, decay);
566 SHL32(EXTEND32(MULT16_16_Q15(attenuation,
    [all...]
  /external/libopus/celt/
celt_decoder.c 467 opus_val16 attenuation; local
557 attenuation = MULT16_16_Q15(fade, decay);
563 attenuation = MULT16_16_Q15(attenuation, decay);
566 SHL32(EXTEND32(MULT16_16_Q15(attenuation,
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
ffvertex_prog.c 950 struct ureg attenuation = register_param3(p, STATE_LIGHT, i, local
954 /* Calculate spot attenuation:
966 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W));
973 /* Calculate distance attenuation(See formula (2.4) at glspec 2.1 page 62):
985 emit_op2(p, OPCODE_DP3, dist, 0, attenuation, dist);
1141 * attenuation below.
1148 /* Calculate attenuation:
    [all...]
  /external/mesa3d/src/mesa/main/
ffvertex_prog.c 950 struct ureg attenuation = register_param3(p, STATE_LIGHT, i, local
954 /* Calculate spot attenuation:
966 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W));
973 /* Calculate distance attenuation(See formula (2.4) at glspec 2.1 page 62):
985 emit_op2(p, OPCODE_DP3, dist, 0, attenuation, dist);
1141 * attenuation below.
1148 /* Calculate attenuation:
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/program/
program_lexer.l 262 {dot}attenuation { return ATTENUATION; }
  /external/mesa3d/src/mesa/program/
program_lexer.l 262 {dot}attenuation { return ATTENUATION; }
  /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...]

Completed in 773 milliseconds