Home
last modified time | relevance | path

Searched refs:attenuation (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Ddtmf_tone_generator_unittest.cc73 for (int attenuation = 1; attenuation <= 36; attenuation += 5) { in TestAmplitudes() local
76 ss << "; attenuation " << attenuation; in TestAmplitudes()
78 ASSERT_EQ(0, tone_gen_.Init(fs_hz, event, attenuation)); in TestAmplitudes()
82 pow(10, -static_cast<double>(attenuation) / 20); in TestAmplitudes()
158 const int attenuation = 0; // Valid attenuation. in TEST() local
161 tone_gen.Init(fs, -1, attenuation)); in TEST()
164 tone_gen.Init(fs, 16, attenuation)); in TEST()
172 ASSERT_EQ(0, tone_gen.Init(fs, event, attenuation)); in TEST()
Ddtmf_tone_generator.cc107 int DtmfToneGenerator::Init(int fs, int event, int attenuation) { in Init() argument
127 if (attenuation < 0 || attenuation > 36) { in Init()
135 amplitude_ = kAmplitude[attenuation]; in Init()
Ddtmf_tone_generator.h31 virtual int Init(int fs, int event, int attenuation);
/external/mesa3d/src/mesa/tnl/
Dt_vb_lighttmp.h115 GLfloat attenuation; in TAG() local
124 attenuation = light->_VP_inf_spot_attenuation; in TAG()
138 attenuation = 1.0F / (light->ConstantAttenuation + d * in TAG()
151 attenuation *= spot; in TAG()
156 if (attenuation < 1e-3) in TAG()
164 ACC_SCALE_SCALAR_3V(sum[0], attenuation, light->_MatAmbient[0]); in TAG()
175 ACC_SCALE_SCALAR_3V( sum[1], attenuation, light->_MatAmbient[1]); in TAG()
184 ACC_SCALE_SCALAR_3V(sum[side], attenuation, contrib ); in TAG()
209 spec_coef *= attenuation; in TAG()
292 GLfloat attenuation = 1.0; in TAG() local
[all …]
Dt_rasterpos.c132 GLfloat attenuation = 1.0; in shade_rastpos() local
140 attenuation = light->_VP_inf_spot_attenuation; in shade_rastpos()
157 attenuation = 1.0F / (light->ConstantAttenuation + d * in shade_rastpos()
169 attenuation *= spot; in shade_rastpos()
174 if (attenuation < 1e-3) in shade_rastpos()
180 ACC_SCALE_SCALAR_3V(diffuseColor, attenuation, light->_MatAmbient[0]); in shade_rastpos()
234 ACC_SCALE_SCALAR_3V( diffuseColor, attenuation, diffuseContrib ); in shade_rastpos()
235 ACC_SCALE_SCALAR_3V( specularColor, attenuation, specularContrib ); in shade_rastpos()
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
Dt_vb_lighttmp.h115 GLfloat attenuation; in TAG() local
124 attenuation = light->_VP_inf_spot_attenuation; in TAG()
138 attenuation = 1.0F / (light->ConstantAttenuation + d * in TAG()
151 attenuation *= spot; in TAG()
156 if (attenuation < 1e-3) in TAG()
164 ACC_SCALE_SCALAR_3V(sum[0], attenuation, light->_MatAmbient[0]); in TAG()
175 ACC_SCALE_SCALAR_3V( sum[1], attenuation, light->_MatAmbient[1]); in TAG()
184 ACC_SCALE_SCALAR_3V(sum[side], attenuation, contrib ); in TAG()
209 spec_coef *= attenuation; in TAG()
292 GLfloat attenuation = 1.0; in TAG() local
[all …]
Dt_rasterpos.c132 GLfloat attenuation = 1.0; in shade_rastpos() local
140 attenuation = light->_VP_inf_spot_attenuation; in shade_rastpos()
157 attenuation = 1.0F / (light->ConstantAttenuation + d * in shade_rastpos()
169 attenuation *= spot; in shade_rastpos()
174 if (attenuation < 1e-3) in shade_rastpos()
180 ACC_SCALE_SCALAR_3V(diffuseColor, attenuation, light->_MatAmbient[0]); in shade_rastpos()
234 ACC_SCALE_SCALAR_3V( diffuseColor, attenuation, diffuseContrib ); in shade_rastpos()
235 ACC_SCALE_SCALAR_3V( specularColor, attenuation, specularContrib ); in shade_rastpos()
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DDynamicsCompressorKernel.cpp395 float attenuation = absInput <= 0.0001f ? 1 : shapedInput / absInput; in process() local
397 float attenuationDb = -linearToDecibels(attenuation); in process()
404 bool isRelease = (attenuation > detectorAverage); in process()
407 detectorAverage += (attenuation - detectorAverage) * rate; in process()
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/mock/
Dmock_dtmf_tone_generator.h25 int(int fs, int event, int attenuation));
/external/kernel-headers/original/uapi/sound/
Dsfnt_info.h136 unsigned char attenuation; /* attenuation (0.375dB) */ member
/external/chromium_org/third_party/opus/src/celt/
Dcelt_decoder.c467 opus_val16 attenuation; in celt_decode_lost() local
557 attenuation = MULT16_16_Q15(fade, decay); in celt_decode_lost()
563 attenuation = MULT16_16_Q15(attenuation, decay); in celt_decode_lost()
566 SHL32(EXTEND32(MULT16_16_Q15(attenuation, in celt_decode_lost()
/external/libopus/celt/
Dcelt_decoder.c467 opus_val16 attenuation; in celt_decode_lost() local
557 attenuation = MULT16_16_Q15(fade, decay); in celt_decode_lost()
563 attenuation = MULT16_16_Q15(attenuation, decay); in celt_decode_lost()
566 SHL32(EXTEND32(MULT16_16_Q15(attenuation, in celt_decode_lost()
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dffvertex_prog.c950 struct ureg attenuation = register_param3(p, STATE_LIGHT, i, in calculate_light_attenuation() local
966 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W)); in calculate_light_attenuation()
985 emit_op2(p, OPCODE_DP3, dist, 0, attenuation, dist); in calculate_light_attenuation()
/external/mesa3d/src/mesa/main/
Dffvertex_prog.c950 struct ureg attenuation = register_param3(p, STATE_LIGHT, i, in calculate_light_attenuation() local
966 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W)); in calculate_light_attenuation()
985 emit_op2(p, OPCODE_DP3, dist, 0, attenuation, dist); in calculate_light_attenuation()
/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dprogram_lexer.l262 {dot}attenuation { return ATTENUATION; }
/external/mesa3d/src/mesa/program/
Dprogram_lexer.l262 {dot}attenuation { return ATTENUATION; }
/external/chromium_org/third_party/speex/libspeex/
Dnb_celp.c1014 const spx_word16_t attenuation[10] = {32767, 31483, 27923, 22861, 17278, 12055, 7764, 4616, 2533, 1… 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… variable
1031 fact = attenuation[st->count_lost]; in nb_decode_lost()
/external/speex/libspeex/
Dnb_celp.c1014 const spx_word16_t attenuation[10] = {32767, 31483, 27923, 22861, 17278, 12055, 7764, 4616, 2533, 1… 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… variable
1031 fact = attenuation[st->count_lost]; in nb_decode_lost()
/external/mesa3d/docs/
DVERSIONS1403 - fixed a number of point size attenuation/fade bugs
/external/chromium_org/third_party/mesa/src/docs/
DVERSIONS1403 - fixed a number of point size attenuation/fade bugs
/external/srec/config/en.us/dictionary/
Dlarge.ok1656 attenuation @tenyUAS~