HomeSort by relevance Sort by last modified time
    Searched defs:gain (Results 1 - 25 of 68) sorted by null

1 2 3

  /frameworks/base/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;
agc.cpp 607 st->past_gain = gain
625 sig_out[n] = sig_out[n] * gain[n]
626 gain[n] = agc_fac * gain[n-1] + (1 - agc_fac) g_in/g_out
628 where: gain[n] = gain at the nth sample given by
654 Word16 gain_in, gain_out, g0, gain;
696 // compute gain[n] = agc_fac * gain[n-1]
698 // sig_out[n] = gain[n] * sig_out[n
753 Word16 gain; local
    [all...]
  /frameworks/base/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...]
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...]
dtx.c 167 Word16 log_en, gain, level, exp, exp0, tmp; local
238 /* the result corresponds to log2(gain) in Q10 */
247 /* Subtract 2 from log_en in Q9, i.e divide the gain by 2 (energy by 4) */
263 /* gain = level / sqrt(ener) * sqrt(L_FRAME) */
270 gain = extract_h(ener32);
272 gain = mult(level, gain); /* gain in Q15 */
281 tmp = mult(exc2[i], gain); /* Q0 * Q15 */
p_med_ol.c 47 Word16 *gain = &(st->ol_gain); /* normalize correlation of hp_wsp for the lag */ local
120 /* gain = R0/ sqrt(R1*R2) */
147 *gain = vo_round(L_shl(R0, exp_R0));
  /cts/apps/CtsVerifier/jni/audioquality/
GenerateSinusoid.cpp 57 float gain = (0.5 - (0.5 * cos((0.5 + i) * M_PI / numRamp))); local
58 val *= gain;
61 float gain = (0.5 - (0.5 * cos((0.5 + (numSamples - i - 1)) local
63 val *= gain;
  /external/sonivox/arm-fm-22k/lib_src/
eas_mixer.c 137 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 = gain >> 4
    [all...]
eas_fmengine.h 56 /* LFO modulation to gain control */
67 EAS_U16 gain; /* current internal gain */ member in struct:__anon7380
68 EAS_U16 outputGain; /* current output gain */
78 EAS_U16 gainLeft; /* left gain multiplier */
79 EAS_U16 gainRight; /* right gain multiplier */
87 EAS_U16 gain[4]; /* initial operator gain value */ member in struct:__anon7382
88 EAS_U16 outputGain[4]; /* initial operator output gain value */
89 EAS_U16 voiceGain; /* initial voice gain */
99 EAS_U16 gain[4]; \/* new operator gain value *\/ member in struct:__anon7383
    [all...]
eas_midi.c 451 EAS_I32 gain = ((EAS_I32) c << 8) | ((EAS_I32) pMIDIStream->d1 << 1); local
452 gain = (gain * gain) >> 15;
453 VMSetVolume(pSynth, (EAS_U16) gain);
  /external/sonivox/arm-hybrid-22k/lib_src/
eas_mixer.c 137 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 = gain >> 4
    [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
ARM-E_voice_gain_gnu.s 59 gain .req r8 label
137 LDR gain, [pWTFrame, #m_prevGain]
138 MOV gain, gain, LSL #(NUM_MIXER_GUARD_BITS + 4)
141 SUB gainIncrement, gainIncrement, gain
149 ADD gain, gain, gainIncrement @ gain step to eliminate zipper noise
150 SMULWB tmp0, gain, tmp0 @ sample * local gain
    [all...]
eas_fmengine.h 56 /* LFO modulation to gain control */
67 EAS_U16 gain; /* current internal gain */ member in struct:__anon7430
68 EAS_U16 outputGain; /* current output gain */
78 EAS_U16 gainLeft; /* left gain multiplier */
79 EAS_U16 gainRight; /* right gain multiplier */
87 EAS_U16 gain[4]; /* initial operator gain value */ member in struct:__anon7432
88 EAS_U16 outputGain[4]; /* initial operator output gain value */
89 EAS_U16 voiceGain; /* initial voice gain */
99 EAS_U16 gain[4]; \/* new operator gain value *\/ member in struct:__anon7433
    [all...]
eas_midi.c 451 EAS_I32 gain = ((EAS_I32) c << 8) | ((EAS_I32) pMIDIStream->d1 << 1); local
452 gain = (gain * gain) >> 15;
453 VMSetVolume(pSynth, (EAS_U16) gain);
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...]
  /external/sonivox/arm-wt-22k/lib_src/
eas_mixer.c 137 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 = gain >> 4
    [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
ARM-E_voice_gain_gnu.s 59 gain .req r8 label
137 LDR gain, [pWTFrame, #m_prevGain]
138 MOV gain, gain, LSL #(NUM_MIXER_GUARD_BITS + 4)
141 SUB gainIncrement, gainIncrement, gain
149 ADD gain, gain, gainIncrement @ gain step to eliminate zipper noise
150 SMULWB tmp0, gain, tmp0 @ sample * local gain
    [all...]
eas_midi.c 451 EAS_I32 gain = ((EAS_I32) c << 8) | ((EAS_I32) pMIDIStream->d1 << 1); local
452 gain = (gain * gain) >> 15;
453 VMSetVolume(pSynth, (EAS_U16) gain);
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...]
  /frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
g_code.cpp 107 pOverflow -> 1 if the innovative gain calculation resulted in overflow
110 gain = Gain of Innovation code (Word16)
121 This function computes the innovative codebook gain.
123 The innovative codebook gain is given by
142 Word16 G_code ( // out : Gain of innovation code
148 Word16 xy, yy, exp_xy, exp_yy, gain;
173 // If (xy < 0) gain = 0
188 // compute gain = xy/yy
191 gain = div_s (xy, yy)
236 Word16 xy, yy, exp_xy, exp_yy, gain; local
    [all...]
g_pitch.cpp 118 g_coeff = pointer to buffer of correlations needed for gain quantization
128 gain = ratio of dot products.(Word16)
139 This function computes the pitch (adaptive codebook) gain. The adaptive
140 codebook gain is given by
148 The gain is limited to the range [0,1.2] (=0..19661 Q14)
163 Word16 G_pitch ( // o : Gain of pitch lag saturated to 1.2
167 Word16 g_coeff[], // i : Correlations need for gain quantization
172 Word16 xy, yy, exp_xy, exp_yy, gain;
244 // If (xy < 4) gain = 0
251 // compute gain = xy/y
313 Word16 gain; local
    [all...]
  /frameworks/base/media/libeffects/testlibs/
AudioEqualizer.h 30 // shelf, where each band has frequency and gain controls, and the peaking
36 // Gain in millibel.
37 int32_t gain; member in struct:android::AudioEqualizer::BandConfig
93 // gain: 0
105 // Sets gain value. Actual change will only take place upon commit().
107 // band The band to set the gain for.
108 // millibel Gain value in millibel (1/100 of decibel).
111 // Gets gain of a certain band. This is always the last value set (or
113 // band The band to get the gain for.
114 // returns Gain value in millibel (1/100 of decibel)
    [all...]
  /bionic/libc/kernel/common/linux/
mt9t013.h 90 uint16_t gain; member in struct:mt9t013_exposure_gain

Completed in 835 milliseconds

1 2 3