/frameworks/media/libvideoeditor/vss/common/inc/ |
SSRC.h | 233 /* This function sets headroom gain and the post gain of the SSRC */ 236 /* bHeadroomGainEnabled parameter to enable or disable the headroom gain of the */ 242 /* bOutputGainEnabled parameter to enable or disable the output gain. The */ 245 /* OutputGain the value of the output gain. The output gain is a linear */ 246 /* gain value. 0x7FFF is equal to +6 dB and 0x0000 corresponds */ 247 /* to -inf dB. By default, a 3dB gain is applied, resulting */ 248 /* in an overall gain of -3dB (-6dB headroom + 3dB output gain)*/ [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
eas_dlssynth.c | 182 * Calculate the gain for the next frame 185 static EAS_I32 DLS_UpdateGain (S_WT_VOICE *pWTVoice, const S_DLS_ARTICULATION *pDLSArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 gain, EAS_U8 velocity) 201 gain += FMUL_15x15(temp, pWTVoice->modLFO.lfoValue); 202 if (gain > 0) 203 gain = 0; 205 /* convert to linear gain including EG1 */ 208 gain = (DLS_GAIN_FACTOR * gain) >> DLS_GAIN_SHIFT; 211 gain += (pWTVoice->eg1Value - 32767) >> 1; 212 gain = EAS_LogToLinear16(gain) [all...] |
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...] |
/frameworks/base/media/libeffects/lvm/lib/Reverb/src/ |
LVREV_ApplyNewSettings.c | 305 * Update the feed back gain 313 LVM_INT32 G[4]; /* Feedback gain (Q7.24) */ 372 * Calculate the gain correction 380 LVM_INT32 Gain=0; 422 Gain=LVM_Polynomial(3,Coefs,T60); /* Q.24 result */ 426 /* Interpolate the gain between nearest room sizes */ 435 /* Get gain for first */ 444 /* Get gain for second */ 453 /* Linear Interpolate the gain */ 454 Gain = Gain1+ (((Gain2-Gain1)*Dist)/(Tot_Dist)) [all...] |
LVREV_Tables.c | 53 output gain/attenuation is applied. This gain depends on T60 and Rooms 64 The gain is calculated using variable x=(T60*32767/7000)*32768;
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
qgain795.cpp | 133 exp_gcode0 -- Word16 -- predicted CB gain (exponent), Q0 134 gcode0 -- Word16 -- predicted CB gain (norm.) 135 g_pitch_cand[] -- Word16 array -- Pitch gain candidates (3), Q14 136 g_pitch_cind[] -- Word16 array -- Pitch gain cand. indices (3), Q0 142 gain_pit -- Pointer to Word16 -- Pitch gain, Q14 143 gain_pit_ind -- Pointer to Word16 -- Pitch gain index, Q0 144 gain_cod -- Pointer to Word16 -- Code gain, Q1 145 gain_cod_ind -- Pointer to Word16 -- Code gain index, Q0 167 LTP gains (using predicted codebook gain) 207 Word16 exp_gcode0, /* i : predicted CB gain (exponent), Q0 * [all...] |
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...] |
/external/speex/libspeex/ |
preprocess.c | 209 spx_word16_t *gain_floor; /**< Minimum gain allowed */ 214 spx_word16_t *gain; /**< Ephraim Malah gain */ member in struct:SpeexPreprocessState_ 238 float agc_gain; /**< Current AGC gain */ 239 float max_gain; /**< Maximum gain allowed */ 240 float max_increase_step; /**< Maximum increase in gain from one frame to another */ 241 float max_decrease_step; /**< Maximum decrease in gain from one frame to another */ 243 float init_max; /**< Current gain limit during initialisation */ 290 /* This function approximates the gain function 292 which multiplied by xi/(1+xi) is the optimal gain [all...] |
/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...] |
eas_math.h | 155 /* the max positive gain used in the synth for EG1 */ 168 We implement the EG1 using a linear gain value, which means that the 169 attack segment is handled by incrementing (adding) the linear gain. 171 the Attack portion. For Decay, Sustain, and Release, the gain is 173 a linear scale. Because we use a linear gain for EG1, we implement 180 #define MULT_EG1_EG1(gain,damping) /*lint -e(704) <avoid divide for performance>*/ \ 183 ((EAS_I32)(gain)) * ((EAS_I32)(damping)) \ 199 #define MULT_EG1_EG1_X2(gain,damping) /*lint -e(702) <avoid divide for performance>*/ \ 202 ((EAS_I32)(gain)) * ((EAS_I32)(damping)) \ 237 For gain, the LFO generates a value that modulates in term [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_math.h | 155 /* the max positive gain used in the synth for EG1 */ 168 We implement the EG1 using a linear gain value, which means that the 169 attack segment is handled by incrementing (adding) the linear gain. 171 the Attack portion. For Decay, Sustain, and Release, the gain is 173 a linear scale. Because we use a linear gain for EG1, we implement 180 #define MULT_EG1_EG1(gain,damping) /*lint -e(704) <avoid divide for performance>*/ \ 183 ((EAS_I32)(gain)) * ((EAS_I32)(damping)) \ 199 #define MULT_EG1_EG1_X2(gain,damping) /*lint -e(702) <avoid divide for performance>*/ \ 202 ((EAS_I32)(gain)) * ((EAS_I32)(damping)) \ 237 For gain, the LFO generates a value that modulates in term [all...] |
/external/webkit/Source/WebCore/platform/audio/ |
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/base/media/libeffects/testlibs/ |
AudioShelvingFilter.h | 26 // A shelving audio filter, with unity skirt gain, and controllable cutoff 27 // frequency and gain. 61 // gain: 0 68 // Sets gain value. Actual change will only take place upon commit(). 70 // millibel Gain value in millibel (1/100 of decibel). 73 // Gets the gain, in millibel, as set. 121 // Fractional index into the gain dimension of the coef table in
|
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...] |
/frameworks/base/media/libeffects/lvm/lib/Common/src/ |
LVC_Mixer_SetTimeConstant.c | 27 /* This function calculates the step change for fractional gain for a */ 36 /* go from linear fractional gain of 0 to 0.99999999 */ 41 /* Delta - the step change for fractional gain per 4 samples */
|
/external/chromium/chrome/browser/ui/cocoa/ |
keystone_infobar.h | 17 // gain authorization to perform the promotion. The info bar is not shown
|
/frameworks/base/media/libeffects/lvm/lib/Bundle/src/ |
LVM_Tables.h | 45 /* Volume control gain and time constant tables */
|
/frameworks/base/media/libstagefright/codecs/aacenc/inc/ |
quantize.h | 40 Word16 gain);
|
tns.h | 37 Word16 threshOn; /* min. prediction gain for using tns TABUL * 100*/ 71 Word16 threshold; /* min. prediction gain for using tns TABUL * 100 */
|
/system/media/wilhelm/src/itf/ |
IOutputMixExt.c | 34 /** \brief Summary of the gain, as an optimization for the mixer */ 216 float gain = track->mGains[channel]; local 217 gains[channel] = gain; 219 if (gain <= 0.001) { 221 } else if (gain >= 0.999) { 241 // apply gain during add 247 // no gain adjustment needed, so do a simple add 255 // apply gain during copy 261 // no gain adjustment needed, so do a simple copy 426 /** \brief Called when a gain-related field (mute, solo, volume, stereo position, etc.) updated * 447 float gain; local [all...] |
/system/media/wilhelm/src/ |
platform.h | 20 #define PLATFORM_MILLIBEL_MAX_VOLUME 0 // No more than unity gain
|
/external/webkit/Source/WebCore/webaudio/ |
AudioBuffer.idl | 37 attribute float gain; // linear gain (default 1.0)
|
/external/webrtc/src/modules/audio_processing/agc/main/interface/ |
gain_control.h | 101 * It is a digital gain applied to the input signal and is used in the 133 * This function processes a 10/20ms frame and adjusts (normalizes) the gain 134 * both analog and digitally. The gain adjustments are done only during 159 * - out : Gain-adjusted near-end speech vector (L band) 161 * - out_H : Gain-adjusted near-end speech vector (H band) 241 * : 1 - Adaptive Analog Automatic Gain Control -3dBOv 242 * : 2 - Adaptive Digital Automatic Gain Control -3dBOv 243 * : 3 - Fixed Digital Gain 0dB
|
/external/webrtc/src/modules/audio_processing/agc/main/source/ |
analog_agc.h | 24 /* Analog Automatic Gain Control variables: 50 WebRtc_Word16 compressionGaindB; // Fixed gain level in dB 105 WebRtc_UWord16 gainTableIdx; // Current position in virtual gain table 106 WebRtc_Word32 micGainIdx; // Gain index of mic level to increase slowly 108 WebRtc_Word32 maxLevel; // Max possible vol level, incl dig gain 113 WebRtc_Word32 zeroCtrlMax; // Remember max gain => don't amp low input
|