Searched refs:gain (Results 1 - 25 of 193) sorted by relevance

12345678

/external/chromium_org/third_party/opus/src/silk/float/
H A Dscale_vector_FLP.c37 silk_float gain,
46 data1[ i + 0 ] *= gain;
47 data1[ i + 1 ] *= gain;
48 data1[ i + 2 ] *= gain;
49 data1[ i + 3 ] *= gain;
54 data1[ i ] *= gain;
35 silk_scale_vector_FLP( silk_float *data1, silk_float gain, opus_int dataSize ) argument
H A Dscale_copy_vector_FLP.c38 silk_float gain,
47 data_out[ i + 0 ] = gain * data_in[ i + 0 ];
48 data_out[ i + 1 ] = gain * data_in[ i + 1 ];
49 data_out[ i + 2 ] = gain * data_in[ i + 2 ];
50 data_out[ i + 3 ] = gain * data_in[ i + 3 ];
55 data_out[ i ] = gain * data_in[ i ];
35 silk_scale_copy_vector_FLP( silk_float *data_out, const silk_float *data_in, silk_float gain, opus_int dataSize ) argument
H A Dprocess_gains_FLP.c45 silk_float s, InvMaxSqrVal, gain, quant_offset; local
47 /* Gain reduction when LTP coding gain is high */
60 gain = psEncCtrl->Gains[ k ];
61 gain = ( silk_float )sqrt( gain * gain + psEncCtrl->ResNrg[ k ] * InvMaxSqrVal );
62 psEncCtrl->Gains[ k ] = silk_min_float( gain, 32767.0f );
70 /* Save unquantized gains and gain Index */
83 /* Set quantizer offset for voiced signals. Larger offset when LTP coding gain is low or tilt is high (ie low-pass) */
/external/libopus/silk/float/
H A Dscale_vector_FLP.c37 silk_float gain,
46 data1[ i + 0 ] *= gain;
47 data1[ i + 1 ] *= gain;
48 data1[ i + 2 ] *= gain;
49 data1[ i + 3 ] *= gain;
54 data1[ i ] *= gain;
35 silk_scale_vector_FLP( silk_float *data1, silk_float gain, opus_int dataSize ) argument
H A Dscale_copy_vector_FLP.c38 silk_float gain,
47 data_out[ i + 0 ] = gain * data_in[ i + 0 ];
48 data_out[ i + 1 ] = gain * data_in[ i + 1 ];
49 data_out[ i + 2 ] = gain * data_in[ i + 2 ];
50 data_out[ i + 3 ] = gain * data_in[ i + 3 ];
55 data_out[ i ] = gain * data_in[ i ];
35 silk_scale_copy_vector_FLP( silk_float *data_out, const silk_float *data_in, silk_float gain, opus_int dataSize ) argument
H A Dprocess_gains_FLP.c45 silk_float s, InvMaxSqrVal, gain, quant_offset; local
47 /* Gain reduction when LTP coding gain is high */
60 gain = psEncCtrl->Gains[ k ];
61 gain = ( silk_float )sqrt( gain * gain + psEncCtrl->ResNrg[ k ] * InvMaxSqrVal );
62 psEncCtrl->Gains[ k ] = silk_min_float( gain, 32767.0f );
70 /* Save unquantized gains and gain Index */
83 /* Set quantizer offset for voiced signals. Larger offset when LTP coding gain is low or tilt is high (ie low-pass) */
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DGainNode.idl29 readonly attribute AudioParam gain;
H A DBiquadDSPKernel.cpp48 double gain; local
54 gain = biquadProcessor()->parameter3()->finalValue();
59 gain = biquadProcessor()->parameter3()->smoothedValue();
63 updateCoefficients(cutoffFrequency, Q, gain, detune);
67 void BiquadDSPKernel::updateCoefficients(double cutoffFrequency, double Q, double gain, double detune) argument
92 m_biquad.setLowShelfParams(normalizedFrequency, gain);
96 m_biquad.setHighShelfParams(normalizedFrequency, gain);
100 m_biquad.setPeakingParams(normalizedFrequency, Q, gain);
154 double gain; local
174 gain
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dgain_dequant.c23 * decoder for quantized gains in the gain-shape coding of
28 /* (o) quantized gain value (Q14) */
30 int16_t maxIn, /* (i) maximum of unquantized gain (Q14) */
34 const int16_t *gain; local
42 gain = WebRtcIlbcfix_kGain[stage];
44 return((int16_t)((WEBRTC_SPL_MUL_16_16(scale, gain[index])+8192)>>14));
H A Dgain_quant.h25 * quantizer for the gain in the gain-shape coding of residual
28 int16_t WebRtcIlbcfix_GainQuant( /* (o) quantized gain value */
29 int16_t gain, /* (i) gain value Q14 */
30 int16_t maxIn, /* (i) maximum of gain value Q14 */
H A Dcb_construct.c36 int16_t gain[CB_NSTAGES]; local
44 /* gain de-quantization */
46 gain[0] = WebRtcIlbcfix_GainDequant(gain_index[0], 16384, 0);
47 gain[1] = WebRtcIlbcfix_GainDequant(gain_index[1], gain[0], 1);
48 gain[2] = WebRtcIlbcfix_GainDequant(gain_index[2], gain[1], 2);
57 gainPtr = &gain[0];
H A Drefiner.h40 int16_t gain /* (i) Gain to use for this sequence */
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DCone.cpp45 double ConeEffect::gain(FloatPoint3D sourcePosition, FloatPoint3D sourceOrientation, FloatPoint3D listenerPosition) function in class:blink::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;
/external/qemu/distrib/sdl-1.2.15/src/events/
H A DSDL_active.c52 int SDL_PrivateAppActive(Uint8 gain, Uint8 state) argument
58 if ( gain ) {
78 event.active.gain = gain;
87 if ( (state & SDL_APPINPUTFOCUS) && !gain ) {
91 if ( (state & SDL_APPACTIVE) && !gain ) {
/external/chromium_org/third_party/opus/src/celt/
H A Dvq.h52 , opus_val16 gain
64 ec_dec *dec, opus_val16 gain);
66 void renormalise_vector(celt_norm *X, int N, opus_val16 gain);
/external/libopus/celt/
H A Dvq.h52 , opus_val16 gain
64 ec_dec *dec, opus_val16 gain);
66 void renormalise_vector(celt_norm *X, int N, opus_val16 gain);
/external/libnfc-nci/src/udrv/include/
H A Dudac.h59 ** Read current DAC gain
68 ** Current gain setting
79 ** Set the DAC gain
82 ** gain Gain setting
91 void UDAC_Set(tUDAC_GAIN gain);
/external/chromium_org/third_party/opus/src/silk/fixed/
H A Dprocess_gains_FIX.c44 opus_int32 s_Q16, InvMaxSqrVal_Q16, gain, gain_squared, ResNrg, ResNrgPart, quant_offset_Q10; local
46 /* Gain reduction when LTP coding gain is high */
73 gain = psEncCtrl->Gains_Q16[ k ];
74 gain_squared = silk_ADD_SAT32( ResNrgPart, silk_SMMUL( gain, gain ) );
77 gain_squared = silk_SMLAWW( silk_LSHIFT( ResNrgPart, 16 ), gain, gain );
79 gain = silk_SQRT_APPROX( gain_squared ); /* Q8 */
80 gain = silk_min( gain, silk_int32_MA
[all...]
/external/libopus/silk/fixed/
H A Dprocess_gains_FIX.c44 opus_int32 s_Q16, InvMaxSqrVal_Q16, gain, gain_squared, ResNrg, ResNrgPart, quant_offset_Q10; local
46 /* Gain reduction when LTP coding gain is high */
73 gain = psEncCtrl->Gains_Q16[ k ];
74 gain_squared = silk_ADD_SAT32( ResNrgPart, silk_SMMUL( gain, gain ) );
77 gain_squared = silk_SMLAWW( silk_LSHIFT( ResNrgPart, 16 ), gain, gain );
79 gain = silk_SQRT_APPROX( gain_squared ); /* Q8 */
80 gain = silk_min( gain, silk_int32_MA
[all...]
/external/aac/libAACenc/src/
H A Dquantize.h110 INT gain);
115 INT gain,
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_dlssynth.c182 * 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) argument
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
[all...]
H A Deas_wt_IPC_frame.h74 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
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_wt_IPC_frame.h74 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
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrMatrixConvolutionEffect.h26 SkScalar gain,
35 gain,
45 SkScalar gain,
66 float gain() const { return fGain; } function in class:GrMatrixConvolutionEffect
80 SkScalar gain,
22 Create(GrTexture* texture, const SkIRect& bounds, const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, GrTextureDomain::Mode tileMode, bool convolveAlpha) argument
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_fmengine.c195 * Assign the left and right gain values corresponding to the given pan value.
283 EAS_I32 gain; local
291 /* establish local gain variable */
292 gain = (EAS_I32) p->gain << 16;
294 /* calculate gain increment */
296 gainInc = ((EAS_I32) gainTarget - (EAS_I32) p->gain) << (16 - SYNTH_UPDATE_PERIOD_IN_BITS);
337 /* internal gain for modulation effects */
338 temp = FMUL_15x15(temp, (gain >> 16));
340 /* output gain calculatio
393 EAS_I32 gain; local
[all...]

Completed in 697 milliseconds

12345678