/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
d_gain_p.cpp | 64 Word16 gain -- (Q14) 76 Purpose : Decodes the pitch gain using the received index. 176 Word16 d_gain_pitch( /* return value: gain (Q14) */ 181 Word16 gain; local 183 gain = qua_gain_pitch[index]; 188 gain &= 0xFFFC; 191 return gain;
|
agc.cpp | 607 st->past_gain = gain 625 sig_out[n] = sig_out[n] * gain[n] 626 gain[n] = agc_fac * gain[n-1] + (1 - agc_fac) g_in/g_out 628 where: gain[n] = gain at the nth sample given by 654 Word16 gain_in, gain_out, g0, gain; 696 // compute gain[n] = agc_fac * gain[n-1] 698 // sig_out[n] = gain[n] * sig_out[n 753 Word16 gain; local [all...] |
/external/webkit/Source/WebCore/platform/audio/ |
Distance.cpp | 51 double DistanceEffect::gain(double distance) function in class:WebCore::DistanceEffect
|
Cone.cpp | 45 double ConeEffect::gain(FloatPoint3D sourcePosition, FloatPoint3D sourceOrientation, FloatPoint3D listenerPosition) function in class:WebCore::ConeEffect 48 return 1.0; // no cone specified - unity gain 65 double gain = 1.0; local 69 gain = 1.0; 72 gain = m_outerGain; 77 gain = (1.0 - x) + m_outerGain * x; 80 return gain;
|
AudioBus.h | 107 // Master gain for this bus - used with sumWithGainFrom() below 108 void setGain(double gain) { m_busGain = gain; } 109 double gain() { return m_busGain; } function in class:WebCore::AudioBus 116 // Sums the sourceBus into our bus with unity gain. 117 // Our own internal gain m_busGain is ignored. 121 // We scale by targetGain (and our own internal gain m_busGain), performing "de-zippering" to smoothly change from *lastMixGain to (targetGain*m_busGain).
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
g_pitch.c | 20 * Description:Compute the gain of pitch. Result in Q12 * 21 * if(gain < 0) gain = 0 * 22 * if(gain > 1.2) gain = 1.2 * 29 Word16 G_pitch( /* (o) Q14 : Gain of pitch lag saturated to 1.2 */ 32 Word16 g_coeff[], /* : Correlations need for gain quantization. */ 37 Word16 xy, yy, exp_xy, exp_yy, gain; local 56 /* If (xy < 0) gain = 0 */ 60 /* compute gain = xy/yy * [all...] |
gpclip.c | 20 * Description:To avoid unstable synthesis on frame erasure, the gain * 21 * need to be limited(gain pitch < 1.0) when the following * 38 Word16 mem[] /* (o) : memory of gain of pitch clipping algorithm */ 47 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */ 60 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */ 90 Word16 gain_pit, /* (i) Q14 : gain of quantized pitch */ 91 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */ 94 Word16 gain; local 99 gain = extract_h(L_tmp); 101 if(gain < GAIN_PIT_MIN [all...] |
/external/webkit/Source/WebCore/webaudio/ |
AudioGainNode.h | 37 // AudioGainNode is an AudioNode with one input and one output which applies a gain (volume) change to the audio signal. 38 // De-zippering (smoothing) is applied when the gain value is changed dynamically. 55 AudioGain* gain() { return m_gain.get(); } function in class:WebCore::AudioGainNode 64 // FIXME: this can go away when we implement optimization for mixing with gain directly in summing junction of AudioNodeInput.
|
AudioBuffer.h | 59 // Scalar gain 60 double gain() const { return m_gain; } function in class:WebCore::AudioBuffer 61 void setGain(double gain) { m_gain = gain; } 72 double m_gain; // scalar gain
|
AudioBufferSourceNode.h | 77 AudioGain* gain() { return m_gain.get(); } function in class:WebCore::AudioBufferSourceNode 89 // Used for the "gain" and "playbackRate" attributes. 128 // m_lastGain provides continuity when we dynamically adjust the gain.
|
/external/aac/libAACdec/src/ |
ldfiltbank.cpp | 175 FIXP_DBL gain = (FIXP_DBL)0; local 190 imdct_gain(&gain, &scale, N); 194 if (gain != (FIXP_DBL)0) { 195 scaleValuesWithFactor(mdctData, gain, N, scale);
|
/external/aac/libSBRenc/src/ |
resampler.h | 110 FIXP_DBL gain; /*! overall gain factor */ member in struct:__anon1814
|
/external/sonivox/arm-fm-22k/lib_src/ |
eas_mixer.c | 137 EAS_U16 gain; local 141 /* calculate the gain multiplier */ 149 gain = 32767; 151 gain = (EAS_U16) temp; 154 gain = (EAS_U16) pEASData->masterGain; 156 gain = (EAS_U16) pEASData->masterGain; 159 /* Not using all the gain bits for now 164 gain = gain >> 5; 166 gain = gain >> 4 [all...] |
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_mixer.c | 137 EAS_U16 gain; local 141 /* calculate the gain multiplier */ 149 gain = 32767; 151 gain = (EAS_U16) temp; 154 gain = (EAS_U16) pEASData->masterGain; 156 gain = (EAS_U16) pEASData->masterGain; 159 /* Not using all the gain bits for now 164 gain = gain >> 5; 166 gain = gain >> 4 [all...] |
eas_wt_IPC_frame.h | 74 EAS_I16 gainLeft; /* left channel gain */ 75 EAS_I16 gainRight; /* right channel gain */ 78 EAS_I16 gain; /* current voice gain */ member in struct:s_wt_config_tag
|
ARM-E_voice_gain_gnu.s | 59 gain .req r8
label 137 LDR gain, [pWTFrame, #m_prevGain]
138 MOV gain, gain, LSL #(NUM_MIXER_GUARD_BITS + 4)
141 SUB gainIncrement, gainIncrement, gain
149 ADD gain, gain, gainIncrement @ gain step to eliminate zipper noise
150 SMULWB tmp0, gain, tmp0 @ sample * local gain
[all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
eas_mixer.c | 137 EAS_U16 gain; local 141 /* calculate the gain multiplier */ 149 gain = 32767; 151 gain = (EAS_U16) temp; 154 gain = (EAS_U16) pEASData->masterGain; 156 gain = (EAS_U16) pEASData->masterGain; 159 /* Not using all the gain bits for now 164 gain = gain >> 5; 166 gain = gain >> 4 [all...] |
eas_wt_IPC_frame.h | 74 EAS_I16 gainLeft; /* left channel gain */ 75 EAS_I16 gainRight; /* right channel gain */ 78 EAS_I16 gain; /* current voice gain */ member in struct:s_wt_config_tag
|
ARM-E_voice_gain_gnu.s | 59 gain .req r8
label 137 LDR gain, [pWTFrame, #m_prevGain]
138 MOV gain, gain, LSL #(NUM_MIXER_GUARD_BITS + 4)
141 SUB gainIncrement, gainIncrement, gain
149 ADD gain, gain, gainIncrement @ gain step to eliminate zipper noise
150 SMULWB tmp0, gain, tmp0 @ sample * local gain
[all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
g_code.cpp | 107 pOverflow -> 1 if the innovative gain calculation resulted in overflow 110 gain = Gain of Innovation code (Word16) 121 This function computes the innovative codebook gain. 123 The innovative codebook gain is given by 142 Word16 G_code ( // out : Gain of innovation code 148 Word16 xy, yy, exp_xy, exp_yy, gain; 173 // If (xy < 0) gain = 0 188 // compute gain = xy/yy 191 gain = div_s (xy, yy) 236 Word16 xy, yy, exp_xy, exp_yy, gain; local [all...] |
g_pitch.cpp | 118 g_coeff = pointer to buffer of correlations needed for gain quantization 128 gain = ratio of dot products.(Word16) 139 This function computes the pitch (adaptive codebook) gain. The adaptive 140 codebook gain is given by 148 The gain is limited to the range [0,1.2] (=0..19661 Q14) 163 Word16 G_pitch ( // o : Gain of pitch lag saturated to 1.2 167 Word16 g_coeff[], // i : Correlations need for gain quantization 172 Word16 xy, yy, exp_xy, exp_yy, gain; 244 // If (xy < 4) gain = 0 251 // compute gain = xy/y 313 Word16 gain; local [all...] |
/external/webrtc/src/modules/audio_processing/agc/ |
digital_agc.h | 43 WebRtc_Word32 gain; member in struct:__anon16667
|
/frameworks/av/media/libeffects/testlibs/ |
AudioEqualizer.h | 30 // shelf, where each band has frequency and gain controls, and the peaking 36 // Gain in millibel. 37 int32_t gain; member in struct:android::AudioEqualizer::BandConfig 93 // gain: 0 105 // Sets gain value. Actual change will only take place upon commit(). 107 // band The band to set the gain for. 108 // millibel Gain value in millibel (1/100 of decibel). 111 // Gets gain of a certain band. This is always the last value set (or 113 // band The band to get the gain for. 114 // returns Gain value in millibel (1/100 of decibel) [all...] |
/hardware/invensense/mlsdk/mllite/ |
mlBiasNoMotion.c | 156 long gain; local 182 gain = inv_obj->accel_lpf_gain * rate; 188 inv_q30_mult(((1L << 30) - gain), inv_obj->accel_lpf[kk]); 189 inv_obj->accel_lpf[kk] += inv_q30_mult(gain, accel[kk]);
|
/bionic/libc/kernel/common/linux/ |
msm_audio_acdb.h | 54 uint16_t gain; member in struct:sidetone_cal
|