/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
PK_2I_D32F32C30G11_TRC_WRA_01.c | 28 pBiquadState->coefs[3] is Gain, in Q11 format 69 /* ynLO= ((Gain (Q11) * ynL (Q0))>>11) in Q0*/ 89 /* ynRO= ((Gain (Q11) * ynR (Q0))>>11) in Q0*/
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
p_med_ol.c | 47 Word16 *gain = &(st->ol_gain); /* normalize correlation of hp_wsp for the lag */ local 120 /* gain = R0/ sqrt(R1*R2) */ 147 *gain = vo_round(L_shl(R0, exp_R0));
|
/external/libgsm/src/ |
long_term.c | 23 * This module computes the LTP gain (bc) and the LTP lag (Nc) 144 /* Coding of the LTP gain 148 * quantization of the LTP gain b to get the coded version bc. 279 /* Coding of the LTP gain 283 * quantization of the LTP gain b to get the coded version bc. 459 /* Coding of the LTP gain 463 * quantization of the LTP gain b to get the coded version bc. 624 /* Coding of the LTP gain 628 * quantization of the LTP gain b to get the coded version bc. 701 /* Coding of the LTP gain [all...] |
/external/chromium_org/third_party/opus/src/silk/fixed/ |
burg_modified_FIX.c | 50 const opus_int32 minInvGain_Q30, /* I Inverse of max prediction gain */ 199 /* Update inverse prediction gain */ 203 /* Max prediction gain exceeded; set reflection coefficient such that max prediction gain is exactly hit */ 229 /* Reached max prediction gain; set remaining coefficients to zero and exit loop */
|
main_FIX.h | 102 /* Compute noise shaping coefficients and initial gain values */ 152 const opus_int32 minInvGain_Q30 /* I Inverse of max prediction gain */ 159 opus_int *LTPredCodGain_Q7, /* O LTP coding gain */
|
/external/webrtc/src/common_audio/signal_processing/include/ |
signal_processing_library.h | 257 WebRtc_Word16 gain, 262 WebRtc_Word16 gain, 299 WebRtc_Word16 gain, 305 WebRtc_Word16 gain, [all...] |
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/ |
LVEQNB.h | 57 /* Gain is in integer dB, range -15dB to +15dB inclusive */ 62 /* Gain = 7 7dB gain */ 245 LVM_INT16 Gain; /* Band gain in dB */
|
/external/webrtc/src/modules/audio_processing/interface/ |
audio_processing.h | 164 // necessary, to provide if gain control is enabled. On the server-side this 395 // The automatic gain control (AGC) component brings the signal to an 396 // appropriate range. This is done by applying a digital gain directly and, in 397 // the analog mode, prescribing an analog gain to be applied at the audio HAL. 421 // It consists of an analog gain prescription for the audio device and a 435 // short time-window of the input signal. It applies a fixed gain through 436 // most of the input level range, and compresses (gradually reduces gain 439 // predictable, so that a known gain can be applied. 456 // Sets the maximum |gain| the digital compression stage may apply, in dB. A 459 virtual int set_compression_gain_db(int gain) = 0 [all...] |
/external/chromium_org/third_party/opus/src/silk/ |
PLC.c | 223 /* Set up Gain to random noise component */ 238 /* Preload LPC coeficients to array on stack. Gives small performance gain */ 245 /* Reduce random noise Gain for voiced frames */ 253 /* Reduce random noise for unvoiced frames with high LPC gain */ 305 /* Gradually reduce LTP gain */ 309 /* Gradually reduce excitation gain */ 348 /* Scale with Gain */
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
encode_lpc_swb.c | 15 * encode LPC parameters (Shape & gain) of the upper band. 539 * Transform the LPC gain to log domain then remove the mean value. 542 * -lpcGain : pointer to LPC Gain, expecting 6 LPC gains 564 * multiplying gain vector with decorrelating matrix. 567 * -data : LPC gain in log-domain with mean removed. 694 * -lpcGain : LPC gain in log-domain & mean removed 697 * -lpcGain : LPC gain in normal domain.
|
/frameworks/av/media/libeffects/loudness/ |
EffectLoudnessEnhancer.cpp | 56 int32_t mTargetGainmB;// target gain in mB 72 ALOGV("LE_reset(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); 75 ALOGE("LE_reset(%p): null compressors, can't apply target gain", pContext); 175 ALOGV("LE_init(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); 287 // makeup gain is applied on the input of the compressor 385 ALOGV("get target gain(mB) = %d", pContext->mTargetGainmB); 409 ALOGV("set target gain(mB) = %d", pContext->mTargetGainmB);
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
ec_gains.cpp | 228 gain_code = pointer to decoded innovation gain of type Word16 250 only in BFI (instead of normal gain decoding function). 275 // calculate median of last five gain values 278 // new gain = minimum(median, past_gain) * cdown[state] 319 Word16 *gain_code, /* o : decoded innovation gain */ 333 /* calculate median of last five gain values */ 336 /* new gain = minimum(median, past_gain) * cdown[state] */ 364 gain_code = pointer to decoded innovation gain of type Word16 370 gain_code = pointer to decoded innovation gain of type Word16 385 Purpose : update the codebook gain concealment state [all...] |
c_g_aver.cpp | 74 codebook gain calculations. 223 gain_code = CB gain (Word16) 235 cbGainMix = codebook gain (Word16) 265 Cb_gain_averageState *st, // i/o : State variables for CB gain avergeing 267 Word16 gain_code, // i : CB gain Q1 279 * Compute mixed cb gain, used to make cb gain more * 292 * Store list of CB gain needed in the CB gain * 406 // Smoothen the cb gain trajector [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
Equalizer.java | 37 * precise control of the gain in each frequency band controlled by the equalizer. 212 * Sets the given equalizer band to the given gain value. 213 * @param band frequency band that will have the new gain. The numbering of the bands starts 215 * @param level new gain in millibels that will be set to the given band. getBandLevelRange() 234 * Gets the gain set for the given equalizer band. 235 * @param band frequency band whose gain is requested. The numbering of the bands starts 237 * @return the gain in millibels of the given band.
|
/external/aac/libAACenc/src/ |
metadata_compressor.cpp | 179 FIXP_DBL smoothGain[2]; /*!< gain smoothing states */ 182 FIXP_DBL limGain[2]; /*!< limiter gain */ 788 FIXP_DBL gain, alpha, lvl2smthlvl; local 790 /* calc static gain */ 793 gain = drcComp->maxBoost[i]; 797 gain = fMult((level - drcComp->boostThr[i]),drcComp->boostFac[i]); 801 gain = FL2FXCONST_DBL(0.f); [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
gain_q.cpp | 398 gp_limit -- Word16 -- pitch gain limit 399 gain_pit -- Word16 Pointer -- Pitch gain. 403 sf0_gain_pit -- Word16 Pointer -- Pitch gain sf 0. MR475 404 sf0_gain_cod -- Word16 Pointer -- Code gain sf 0. MR475 405 gain_pit -- Word16 Pointer -- Pitch gain. 406 gain_cod -- Word16 Pointer -- Code gain. 481 Word16 gp_limit, /* i : pitch gain limit */ 482 Word16 *sf0_gain_pit, /* o : Pitch gain sf 0. MR475 */ 483 Word16 *sf0_gain_cod, /* o : Code gain sf 0. MR475 */ 484 Word16 *gain_pit, /* i/o : Pitch gain. * [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
dec_gain2_amr_wb.cpp | 51 int16 * gain_pit, (o) Q14 : Pitch gain. 52 int32 * gain_cod, (o) Q16 : Code gain. 174 int16 * gain_pit, /* (o) Q14 : Pitch gain. */ 175 int32 * gain_cod, /* (o) Q16 : Code gain. */ 290 /* adjust gain according to energy of code */ 335 *gain_pit = *p++; /* selected pitch gain in Q14 */ 336 g_code = *p++; /* selected code gain in Q11 */ 341 *gain_cod = L_tmp; /* gain of code in Q16 */ 353 /* keep past gain code in Q3 for frame erasure (can saturate) */ 376 /* adjust gain according to energy of code * [all...] |
/frameworks/av/media/libeffects/testlibs/ |
EffectReverb.c | 826 ALOGV("get REVERB_PARAM_ROOM_LEVEL %d, gain %d, m_nRoomLpfFwd %d, m_nRoomLpfFbk %d", *pValue16, temp, pReverb->m_nRoomLpfFwd, pReverb->m_nRoomLpfFbk); 835 // The ratio between linear gain at 0Hz and at 5000Hz for the room low pass is: 837 // - a1 is minus the LP feedback gain: -pReverb->m_nRoomLpfFbk 851 ALOGV("get REVERB_PARAM_ROOM_HF_LEVEL, gain %d, m_nRoomLpfFwd %d, m_nRoomLpfFbk %d", temp, pReverb->m_nRoomLpfFwd, pReverb->m_nRoomLpfFbk); 862 // Calculate reverb feedback path gain 866 // Calculate decay time: g = -6000 d/DT , g gain in millibels, d reverb delay, DT decay time 885 // The linear gain at 5000Hz is b0 / sqrt(a1^2 + 2*C*a1 + 1) where: 886 // - a1 is minus the LP feedback gain: -pReverb->m_nRvbLpfFbk 887 // - b0 is the LP forward gain: pReverb->m_nRvbLpfFwd 899 // The linear gain at 0Hz is b0 / (a1 + 1 [all...] |
/external/aac/libSBRdec/src/ |
env_calc.cpp | 288 \brief Reduce gain-adjustment induced aliasing for real valued filterbank. 334 /*Calculate new gain*/ 342 FIXP_DBL groupGain; /* Total energy gain in group */ 358 /* Multiply band energy with current gain */ 365 /* Calculate total energy gain in group */ 380 /* Modify gain depending on the degree of aliasing */ 385 /* Apply modified gain to original energy */ 446 \li Calculate gain and noise level for each subband:<br> 447 \f$ gain = \sqrt{ \frac{nrgRef}{nrgEst} \cdot (1 - noiseRatio) } 459 \li Noise limiting: The gain for each subband is limited both absolutel 1948 FIXP_DBL *RESTRICT gain = nrgs->nrgGain; \/*!< Gains of current envelope *\/ local [all...] |
/external/aac/libFDK/src/ |
mdct.cpp | 260 FIXP_DBL gain 272 /* Include 2/N IMDCT gain into gain factor and exponent. */ 273 imdct_gain(&gain, &transform_gain_e, tl); 310 if (gain != (FIXP_DBL)0) { 311 scaleValuesWithFactor(pSpec, gain, tl, scalefactor[w] + specShiftScale);
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
d_gain_c.h | 45 Purpose : Decode the fixed codebook gain using the received index. 102 * Purpose : Decode the fixed codebook gain using the received index. 103 * Description : The received index gives the gain correction factor 104 * gamma. The quantized gain is given by g_q = g0 * gamma 105 * where g0 is the predicted gain. To find g0, 4th order 115 Word16 *gain_code, /* o : decoded innovation gain */
|
/external/chromium_org/media/audio/ |
agc_audio_stream.h | 140 // Sets the automatic gain control (AGC) to on or off. When AGC is enabled, 151 // Gets the current automatic gain control state. 188 // True when automatic gain control is enabled, false otherwise.
|
/external/srec/srec/cfront/ |
chelmel4.c | 50 gain_adjustment - estimates gain 51 cepstrum_params - does gain adj.(if on), spec corr and cos transform 52 This enables us to bypass gain adjustment.
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
LVDBE_Init.c | 230 LVDBE_SetAGC(pInstance, /* Set the AGC gain */ 265 * Setup the mixer gain for the processed path 275 * Setup the mixer gain for the unprocessed path
|
LVDBE_Tables.c | 379 /* Gain for use without the high pass filter */ 398 /* Gain for use with the high pass filter */ 420 /* Volume control gain and time constant tables */
|