Searched refs:gain (Results 51 - 75 of 193) sorted by relevance

12345678

/external/chromium_org/chrome/browser/extensions/api/audio/
H A Daudio_service_linux.cc37 int gain) OVERRIDE;
82 int gain) {
79 SetDeviceProperties(const std::string& device_id, bool muted, int volume, int gain) argument
H A Daudio_service.h56 // Set the muted and volume/gain properties of a device.
60 int gain) = 0;
/external/chromium_org/third_party/skia/bench/
H A DMatrixConvolutionBench.cpp24 SkScalar gain = 0.3f, bias = SkIntToScalar(100); local
26 fFilter = SkMatrixConvolutionImageFilter::Create(kernelSize, kernel, gain, bias, kernelOffset, tileMode, convolveAlpha);
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dgain_quant.c23 * quantizer for the gain in the gain-shape coding of residual
26 int16_t WebRtcIlbcfix_GainQuant( /* (o) quantized gain value */ argument
27 int16_t gain, /* (i) gain value Q14 */
28 int16_t maxIn, /* (i) maximum of gain value Q14 */
49 /* Multiply the gain with 2^14 to make the comparison
51 gainW32 = WEBRTC_SPL_LSHIFT_W32((int32_t)gain, 14);
67 /* Move up if gain is larger, otherwise move down in table */
101 /* Calculate the quantized gain valu
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dpitch_filter_c.c20 int16_t gain,
50 gain, tmpW16, 12);
19 WebRtcIsacfix_PitchFilterCore(int loopNumber, int16_t gain, int index, int16_t sign, int16_t* inputState, int16_t* outputBuf2, const int16_t* coefficient, int16_t* inputBuf, int16_t* outputBuf, int* index2) argument
H A Dpitch_estimator.h41 int16_t gain,
/external/skia/bench/
H A DMatrixConvolutionBench.cpp24 SkScalar gain = 0.3f, bias = SkIntToScalar(100); local
26 fFilter = SkMatrixConvolutionImageFilter::Create(kernelSize, kernel, gain, bias, kernelOffset, tileMode, convolveAlpha);
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Dpitch_filter_c.c20 WebRtc_Word16 gain,
50 gain, tmpW16, 12);
19 WebRtcIsacfix_PitchFilterCore(int loopNumber, WebRtc_Word16 gain, int index, WebRtc_Word16 sign, WebRtc_Word16* inputState, WebRtc_Word16* outputBuf2, const WebRtc_Word16* coefficient, WebRtc_Word16* inputBuf, WebRtc_Word16* outputBuf, int* index2) argument
H A Dpitch_estimator.h41 WebRtc_Word16 gain,
/external/aac/libPCMutils/src/
H A Dlimiter.cpp226 FIXP_DBL tmp, old, gain, additionalGain, additionalGainUnfiltered; local
278 /* get maximum absolute sample value of all channels, including the additional gain. */
314 /* calc gain */
315 /* gain is downscaled by one, so that gain = 1.0 can be represented */
317 gain = fDivNorm(threshold, max)>>1;
320 gain = FL2FXCONST_DBL(1.0f/(1<<1));
323 /* gain smoothing, method: TDL_EXPONENTIAL */
327 if (gain < smoothState0) {
328 cor = fMin(cor, fMultDiv2((gain
[all...]
/external/chromium_org/third_party/opus/src/celt/
H A Dvq.c70 opus_val16 gain, theta; local
78 gain = celt_div((opus_val32)MULT16_16(Q15_ONE,len),(opus_val32)(len+factor*K));
79 theta = HALF16(MULT16_16_Q15(gain,gain));
110 /** Takes the pitch vector and the decoded residual vector, computes the gain
113 int N, opus_val32 Ryy, opus_val16 gain)
126 g = MULT16_16_P15(celt_rsqrt_norm(t),gain);
156 , opus_val16 gain
311 normalise_residual(iy, X, N, yy, gain);
323 ec_dec *dec, opus_val16 gain)
112 normalise_residual(int * OPUS_RESTRICT iy, celt_norm * OPUS_RESTRICT X, int N, opus_val32 Ryy, opus_val16 gain) argument
322 alg_unquant(celt_norm *X, int N, int K, int spread, int B, ec_dec *dec, opus_val16 gain) argument
347 renormalise_vector(celt_norm *X, int N, opus_val16 gain) argument
[all...]
/external/libopus/celt/
H A Dvq.c70 opus_val16 gain, theta; local
78 gain = celt_div((opus_val32)MULT16_16(Q15_ONE,len),(opus_val32)(len+factor*K));
79 theta = HALF16(MULT16_16_Q15(gain,gain));
110 /** Takes the pitch vector and the decoded residual vector, computes the gain
113 int N, opus_val32 Ryy, opus_val16 gain)
126 g = MULT16_16_P15(celt_rsqrt_norm(t),gain);
156 , opus_val16 gain
311 normalise_residual(iy, X, N, yy, gain);
323 ec_dec *dec, opus_val16 gain)
112 normalise_residual(int * OPUS_RESTRICT iy, celt_norm * OPUS_RESTRICT X, int N, opus_val32 Ryy, opus_val16 gain) argument
322 alg_unquant(celt_norm *X, int N, int K, int spread, int B, ec_dec *dec, opus_val16 gain) argument
347 renormalise_vector(celt_norm *X, int N, opus_val16 gain) argument
[all...]
/external/aac/libAACdec/src/
H A Dldfiltbank.cpp175 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/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DBiquadDSPKernel.h67 void updateCoefficients(double frequency, double Q, double gain, double detune);
H A DBiquadFilterNode.h60 AudioParam* gain() { return biquadProcessor()->parameter3(); } function in class:blink::FINAL
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DDistance.cpp50 double DistanceEffect::gain(double distance) function in class:blink::DistanceEffect
73 // We want a gain that decreases linearly from m_refDistance to
74 // m_maxDistance. The gain is 1 at m_refDistance.
H A DDistance.h49 // Returns scalar gain for the given distance the current distance model is used
50 double gain(double distance);
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
H A Dvector_scaling_operations.c87 int16_t gain, int16_t in_vector_length,
90 // Performs vector operation: out_vector = (gain*in_vector)>>right_shifts
100 (*outptr++) = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(*inptr++, gain, right_shifts);
105 int16_t gain, int16_t in_vector_length,
108 // Performs vector operation: out_vector = (gain*in_vector)>>right_shifts
119 tmpW32 = WEBRTC_SPL_MUL_16_16_RSFT(*inptr++, gain, right_shifts);
86 WebRtcSpl_ScaleVector(const int16_t *in_vector, int16_t *out_vector, int16_t gain, int16_t in_vector_length, int16_t right_shifts) argument
104 WebRtcSpl_ScaleVectorWithSat(const int16_t *in_vector, int16_t *out_vector, int16_t gain, int16_t in_vector_length, int16_t right_shifts) argument
/external/qemu/distrib/sdl-1.2.15/src/events/
H A DSDL_events_c.h57 extern int SDL_PrivateAppActive(Uint8 gain, Uint8 state);
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_math.h155 /* 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, th
[all...]
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_math.h155 /* 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, th
[all...]
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_math.h155 /* 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, th
[all...]
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrMatrixConvolutionEffect.cpp82 const char* gain = builder->getUniformCStr(fGainUni); local
108 fsBuilder->codeAppendf("%s = sum * %s + %s;", outputColor, gain, bias);
114 fsBuilder->codeAppendf("%s.rgb = sum.rgb * %s + %s;", outputColor, gain, bias);
146 pdman.set1f(fGainUni, conv.gain());
155 SkScalar gain,
162 fGain(SkScalarToFloat(gain)),
186 fGain == s.gain() &&
198 SkScalar gain,
235 gain,
257 SkScalar gain local
151 GrMatrixConvolutionEffect(GrTexture* texture, const SkIRect& bounds, const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, GrTextureDomain::Mode tileMode, bool convolveAlpha) argument
195 CreateGaussian(GrTexture* texture, const SkIRect& bounds, const SkISize& kernelSize, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, GrTextureDomain::Mode tileMode, bool convolveAlpha, SkScalar sigmaX, SkScalar sigmaY) argument
[all...]
/external/chromium_org/third_party/skia/include/effects/
H A DSkMatrixConvolutionImageFilter.h38 @param gain A scale factor applied to each pixel after
57 SkScalar gain,
71 SkScalar gain,
/external/opencv/cv/src/
H A Dcvkalman.cpp91 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,

Completed in 3449 milliseconds

12345678