/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
d_gain_p.cpp | 64 Word16 gain -- (Q14) 76 Purpose : Decodes the pitch gain using the received index. 176 Word16 d_gain_pitch( /* return value: gain (Q14) */ 181 Word16 gain; local 183 gain = qua_gain_pitch[index]; 188 gain &= 0xFFFC; 191 return gain;
|
/external/chromium_org/third_party/opus/src/silk/float/ |
scale_vector_FLP.c | 37 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;
|
scale_copy_vector_FLP.c | 38 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 ];
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
GainNode.idl | 29 readonly attribute AudioParam gain;
|
AudioBuffer.h | 62 // Scalar gain 63 double gain() const { return m_gain; } function in class:WebCore::AudioBuffer 64 void setGain(double gain) { m_gain = gain; } 75 double m_gain; // scalar gain
|
AudioBuffer.idl | 36 attribute float gain; // linear gain (default 1.0)
|
GainNode.cpp | 43 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 directly in summing junction of AudioNodeInpu [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
g_pitch.c | 20 * Description:Compute the gain of pitch. Result in Q12 * 21 * if(gain < 0) gain = 0 * 22 * if(gain > 1.2) gain = 1.2 * 29 Word16 G_pitch( /* (o) Q14 : Gain of pitch lag saturated to 1.2 */ 32 Word16 g_coeff[], /* : Correlations need for gain quantization. */ 37 Word16 xy, yy, exp_xy, exp_yy, gain; local 56 /* If (xy < 0) gain = 0 */ 60 /* compute gain = xy/yy * [all...] |
updt_tar.c | 31 Word16 gain, /* (i) Q14 : adaptive codebook gain */ 41 L_tmp -= (y[i] * gain)<<1;
|
gpclip.c | 20 * Description:To avoid unstable synthesis on frame erasure, the gain * 21 * need to be limited(gain pitch < 1.0) when the following * 38 Word16 mem[] /* (o) : memory of gain of pitch clipping algorithm */ 47 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */ 60 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */ 90 Word16 gain_pit, /* (i) Q14 : gain of quantized pitch */ 91 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */ 94 Word16 gain; local 99 gain = extract_h(L_tmp); 101 if(gain < GAIN_PIT_MIN [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/audio/ |
Cone.cpp | 45 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;
|
/external/qemu/distrib/sdl-1.2.15/src/events/ |
SDL_active.c | 52 int SDL_PrivateAppActive(Uint8 gain, Uint8 state) 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/ |
vq.h | 54 , 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/ |
udac.h | 59 ** Read current DAC gain 68 ** Current gain setting 79 ** Set the DAC gain 82 ** gain Gain setting 91 void UDAC_Set(tUDAC_GAIN gain);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
q_gain_c.h | 111 * Scalar quantization of the innovative codebook gain. * 117 Word16 exp_gcode0, /* i : predicted CB gain (exponent), Q0 */ 118 Word16 frac_gcode0, /* i : predicted CB gain (fraction), Q15 */ 119 Word16 *gain, /* i/o: quantized fixed codebook gain, Q1 */
|
q_gain_p.h | 109 Word16 gp_limit, /* i : pitch gain limit */ 110 Word16 *gain, /* i/o: Pitch gain (unquant/quant), Q14 */ 111 Word16 gain_cand[], /* o : pitch gain candidates (3), MR795 only, Q14 */ 112 Word16 gain_cind[], /* o : pitch gain cand. indices (3),MR795 only, Q0 */
|
q_gain_p.cpp | 115 gp_limit -- Word16 -- pitch gain limit 116 gain -- Pointer to Word16 -- Pitch gain (unquant/quant), Q14 119 gain -- Pointer to Word16 -- Pitch gain (unquant/quant), Q14 121 gain_cand -- Array of type Word16 -- pitch gain candidates (3), 124 gain_cind -- Array of type Word16 -- pitch gain cand. indices (3), 181 Word16 gp_limit, /* i : pitch gain limit */ 182 Word16 *gain, /* i/o: Pitch gain (unquant/quant), Q14 * [all...] |
q_gain_c.cpp | 64 Scalar quantization of the innovative codebook gain. 126 exp_gcode0 -- Word16 -- predicted CB gain (exponent), Q0 127 frac_gcode0 -- Word16 -- predicted CB gain (fraction), Q15 128 gain -- Pointer to Word16 -- quantized fixed codebook gain, Q1 131 gain -- Pointer to Word16 -- quantized fixed codebook gain, Q1 152 Scalar quantization of the innovative codebook gain. 193 Word16 exp_gcode0, /* i : predicted CB gain (exponent), Q0 */ 194 Word16 frac_gcode0, /* i : predicted CB gain (fraction), Q15 * [all...] |
/external/chromium_org/third_party/opus/src/silk/fixed/ |
process_gains_FIX.c | 44 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_MAX >> 8 ) [all...] |
/external/aac/libAACenc/src/ |
quantize.h | 110 INT gain); 115 INT gain,
|
/frameworks/base/media/mca/filterfw/native/core/ |
statistics.h | 50 explicit RCFilter(float gain) 51 : gain_(gain), n_(0), value_(0.0f) {}
|
/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
Environment.java | 52 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, 104 this.gain = gain; 123 gain = eaxDbToAmp(e[3]); // convert 202 return gain; 205 public void setGain(float gain) { 206 this.gain = 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_wt_IPC_frame.h | 74 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/ |
eas_wt_IPC_frame.h | 74 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
|