/external/webrtc/src/modules/audio_processing/ |
gain_control_impl.h | 49 virtual int set_compression_gain_db(int gain);
|
gain_control_impl.cc | 298 int GainControlImpl::set_compression_gain_db(int gain) { 300 if (gain < 0 || gain > 90) { 304 compression_gain_db_ = gain;
|
/frameworks/av/media/libeffects/testlibs/ |
EffectsMath.h | 146 /* the max positive gain used in the synth for EG1 */ 159 We implement the EG1 using a linear gain value, which means that the 160 attack segment is handled by incrementing (adding) the linear gain. 162 the Attack portion. For Decay, Sustain, and Release, the gain is 164 a linear scale. Because we use a linear gain for EG1, we implement 171 #define MULT_EG1_EG1(gain,damping) /*lint -e(704) <avoid divide for performance>*/ \ 174 ((int32_t)(gain)) * ((int32_t)(damping)) \ 190 #define MULT_EG1_EG1_X2(gain,damping) /*lint -e(702) <avoid divide for performance>*/ \ 193 ((int32_t)(gain)) * ((int32_t)(damping)) \ 228 For gain, the LFO generates a value that modulates in term [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioBufferSourceNode.idl | 38 readonly attribute AudioParam gain;
|
AudioBufferSourceNode.h | 82 AudioParam* gain() { return m_gain.get(); } function in class:WebCore::AudioBufferSourceNode 111 // Used for the "gain" and "playbackRate" attributes. 135 // m_lastGain provides continuity when we dynamically adjust the gain.
|
/external/opencv/cv/src/ |
cvkalman.cpp | 91 CV_CALL( kalman->gain = cvCreateMat( DP, MP, CV_32FC1 )); 112 kalman->KalmGainMatr = kalman->gain->data.fl; 148 cvReleaseMat( &kalman->gain ); 224 CV_CALL( cvTranspose( kalman->temp4, kalman->gain )); 230 CV_CALL( cvMatMulAdd( kalman->gain, kalman->temp5, kalman->state_pre, kalman->state_post )); 233 CV_CALL( cvGEMM( kalman->gain, kalman->temp2, -1, kalman->error_cov_pre, 1,
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_wtengine.c | 65 * Output gain for individual voice 78 EAS_I32 gain; local 99 gain = pWTIntFrame->prevGain << 16; 108 /* incremental gain step to prevent zipper noise */ 110 gain += gainIncrement; 112 tmp2 = gain >> 16; 114 /* scale sample by gain */ 464 * optimizations. It calls the interpolator, filter, and gain routines 535 /* apply gain, and left and right gain */ 562 EAS_I32 gain; local [all...] |
ARM-E_mastergain_gnu.s | 5 @ with saturated gain control
77 SMULWB r4, r4, nGain @output = gain * input
84 SMULWB r5, r5, nGain @output = gain * input
|
eas_fmsynth.c | 164 if ((pRegion->oper[operIndex].gain & 0xfc) == 0) 338 /* if level control or envelope gain is zero, skip this envelope */ 339 if (((pRegion->oper[operIndex].gain & 0xfc) == 0) || 345 /* if the envelope gain is above the sustain level, we need to catch this voice */ 420 /* calculate pan gain values only if stereo output */ 434 /* initialize gain value for anti-zipper filter */ 442 /* establish operator output gain level */ 444 pFMVoice->oper[operIndex].outputGain = EAS_LogToLinear16(((EAS_I16) (pRegion->oper[operIndex].gain & 0xfc) - 0xfc) << 7); 464 /* save static gain parameters */ 511 * - the given channel's static gain and static pitch are update [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
eas_wtengine.c | 65 * Output gain for individual voice 78 EAS_I32 gain; local 99 gain = pWTIntFrame->prevGain << 16; 108 /* incremental gain step to prevent zipper noise */ 110 gain += gainIncrement; 112 tmp2 = gain >> 16; 114 /* scale sample by gain */ 464 * optimizations. It calls the interpolator, filter, and gain routines 535 /* apply gain, and left and right gain */ 562 EAS_I32 gain; local [all...] |
ARM-E_mastergain_gnu.s | 5 @ with saturated gain control
77 SMULWB r4, r4, nGain @output = gain * input
84 SMULWB r5, r5, nGain @output = gain * input
|
/frameworks/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...] |
/external/chromium_org/chrome/browser/extensions/api/audio/ |
audio_service_chromeos.cc | 40 int gain) OVERRIDE; 140 int gain) { 155 } else if (device.is_input && gain != -1) { 156 cras_audio_handler_->SetVolumeGainPercentForDevice(device.id, gain); 185 info->gain = cras_audio_handler_->GetInputGainPercentForDevice(
|
audio_api.cc | 93 int gain_value = params->properties.gain.get() ? 94 *params->properties.gain : -1;
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
pitch_filter.c | 23 * y(z) = x(z) + damper(z) * gain * (x(z) + y(z)) * z ^ (-lag); 26 * y(z) = x(z) - damper(z) * gain * (x(z) + y(z)) * z ^ (-lag); 77 * differential changes in gain is considered. This is 78 * used to find the optimal gain. 92 * gain : pitch-gain to be applied to the current segment of input. 102 * gain_mult : differential changes to gain. 108 double gain; member in struct:__anon30444 132 * where the output of different gain values (differential 133 * change to gain) is written [all...] |
/external/aac/libAACenc/src/ |
metadata_main.cpp | 280 /* encode AAC DRC gain (ISO/IEC 14496-3:2005 4.5.2.7) */ 281 static void encodeDynrng(INT gain, UCHAR* const dyn_rng_ctl, UCHAR* const dyn_rng_sgn ) 283 if(gain < 0) 286 gain = -gain; 292 gain = FDKmin(gain,(127<<14)); 294 *dyn_rng_ctl = (UCHAR)((gain + (1<<13)) >> 14); 297 /* decode AAC DRC gain (ISO/IEC 14496-3:2005 4.5.2.7) */ 307 static UCHAR encodeCompr(INT gain) 332 INT gain; local [all...] |
/external/speex/libspeex/ |
ltp_bfin.h | 157 void open_loop_nbest_pitch(spx_word16_t *sw, int start, int end, int len, int *pitch, spx_word16_t *gain, int N, char *stack) 288 /* Compute open-loop gain */ 289 if (gain) 299 gain[j]=g;
|
/external/chromium_org/third_party/opus/src/silk/float/ |
SigProc_FLP.h | 51 /* compute inverse of LPC prediction gain, and */ 54 silk_float silk_LPC_inverse_pred_gain_FLP( /* O return inverse prediction gain, energy domain */ 111 const silk_float minInvGain, /* I minimum inverse prediction gain */ 120 silk_float gain, 128 silk_float gain,
|
/external/skia/gm/ |
matrixconvolution.cpp | 57 SkScalar gain = SkFloatToScalar(0.3f), bias = SkIntToScalar(100); local 59 SkAutoTUnref<SkImageFilter> filter(SkNEW_ARGS(SkMatrixConvolutionImageFilter, (kernelSize, kernel, gain, bias, target, tileMode, convolveAlpha)));
|
/external/sonivox/arm-fm-22k/lib_src/ |
eas_fmsynth.c | 164 if ((pRegion->oper[operIndex].gain & 0xfc) == 0) 338 /* if level control or envelope gain is zero, skip this envelope */ 339 if (((pRegion->oper[operIndex].gain & 0xfc) == 0) || 345 /* if the envelope gain is above the sustain level, we need to catch this voice */ 420 /* calculate pan gain values only if stereo output */ 434 /* initialize gain value for anti-zipper filter */ 442 /* establish operator output gain level */ 444 pFMVoice->oper[operIndex].outputGain = EAS_LogToLinear16(((EAS_I16) (pRegion->oper[operIndex].gain & 0xfc) - 0xfc) << 7); 464 /* save static gain parameters */ 511 * - the given channel's static gain and static pitch are update [all...] |
/external/aac/libFDK/include/ |
mdct.h | 167 * \brief add/multiply 2/N transform gain and MPEG4 part 3 defined output gain (see definition 169 * \param pGain pointer to the mantissa of a gain factor to be applied to IMDCT data. 170 * \param pExponent pointer to the exponent of a gain factor to be applied to IMDCT data. 171 * \param tl length of the IMDCT where the gain *pGain * (2 ^ *pExponent) will be applied to. 225 * \param gain factor to apply to output samples (if != 0). 240 FIXP_DBL gain );
|
/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);
|
/external/chromium_org/third_party/skia/include/effects/ |
SkMatrixConvolutionImageFilter.h | 35 @param gain A scale factor applied to each pixel after 52 SkMatrixConvolutionImageFilter(const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& target, TileMode tileMode, bool convolveAlpha, SkImageFilter* input = NULL);
|
/external/skia/include/effects/ |
SkMatrixConvolutionImageFilter.h | 35 @param gain A scale factor applied to each pixel after 52 SkMatrixConvolutionImageFilter(const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& target, TileMode tileMode, bool convolveAlpha, SkImageFilter* input = NULL);
|
/external/webrtc/src/modules/audio_processing/agc/ |
digital_agc.h | 43 WebRtc_Word32 gain; member in struct:__anon30489
|