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

123456

/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/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DGainNode.idl29 readonly attribute AudioParam gain;
H A DAudioBuffer.h62 // Scalar gain
63 double gain() const { return m_gain; } function in class:WebCore::AudioBuffer
64 void setGain(double gain) { m_gain = gain; } argument
75 double m_gain; // scalar gain
H A DAudioBuffer.idl36 attribute float gain; // linear gain (default 1.0)
H A DGainNode.cpp43 m_gain = AudioParam::create(context, "gain", 1.0, 0.0, 1.0);
55 // FIXME: for some cases there is a nice optimization to avoid processing here, and let the gain change
67 if (gain()->hasSampleAccurateValues()) {
68 // Apply sample-accurate gain scaling for precise envelopes, grain windows, etc.
72 gain()->calculateSampleAccurateValues(gainValues, framesToProcess);
76 // Apply the gain with de-zippering into the output bus.
77 outputBus->copyWithGainFrom(*inputBus, &m_lastGain, gain()->value());
84 // Snap directly to desired gain.
85 m_lastGain = gain()->value();
88 // FIXME: this can go away when we do mixing with gain directl
[all...]
H A DBiquadDSPKernel.cpp49 double gain; local
55 gain = biquadProcessor()->parameter3()->finalValue();
60 gain = biquadProcessor()->parameter3()->smoothedValue();
65 gain = biquadProcessor()->parameter3()->value();
92 m_biquad.setLowShelfParams(normalizedFrequency, gain);
96 m_biquad.setHighShelfParams(normalizedFrequency, gain);
100 m_biquad.setPeakingParams(normalizedFrequency, value2, gain);
/external/chromium_org/third_party/WebKit/Source/core/platform/audio/
H A DCone.cpp45 double ConeEffect::gain(FloatPoint3D sourcePosition, FloatPoint3D sourceOrientation, FloatPoint3D listenerPosition) function in class:WebCore::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;
H A DCone.h36 // Cone gain is defined according to the OpenAL specification
42 // Returns scalar gain for the given source/listener positions/orientations
43 double gain(FloatPoint3D sourcePosition, FloatPoint3D sourceOrientation, FloatPoint3D listenerPosition);
/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.h54 , opus_val16 gain
67 ec_dec *dec, opus_val16 gain);
69 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/aac/libAACenc/src/
H A Dquantize.h110 INT gain);
115 INT gain,
/external/jmonkeyengine/engine/src/core/com/jme3/audio/
H A DEnvironment.java52 private float gain = 0.316f; field in class:Environment
88 this.gain = source.gain;
97 public Environment(float density, float diffusion, float gain, float gainHf, argument
104 this.gain = gain;
123 gain = eaxDbToAmp(e[3]); // convert
202 return gain;
205 public void setGain(float gain) { argument
206 this.gain
[all...]
/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
H A Deas_mixer.c137 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
[all...]
/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
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...]
H A Deas_mixer.c137 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
[all...]
/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...]
H A Deas_mixer.c137 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
[all...]
/external/chromium_org/chrome/browser/extensions/api/audio/
H A Daudio_service.cc24 int gain) OVERRIDE;
51 int gain) {
48 SetDeviceProperties(const std::string& device_id, bool muted, int volume, int gain) argument

Completed in 737 milliseconds

123456