/external/qemu/distrib/sdl-1.2.12/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 ) {
|
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/include/ |
d_gain_p.h | 39 * Purpose : Decodes the pitch gain using the received index. 63 * Purpose : Decodes the pitch gain using the received index. 64 * Description : In case of no frame erasure, the gain is obtained 66 * otherwise, a downscaled past gain is used. 67 * Returns : Quantized pitch gain 71 Word16 d_gain_pitch( /* return value: gain (Q14) */
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/include/ |
d_gain_p.h | 39 * Purpose : Decodes the pitch gain using the received index. 63 * Purpose : Decodes the pitch gain using the received index. 64 * Description : In case of no frame erasure, the gain is obtained 66 * otherwise, a downscaled past gain is used. 67 * Returns : Quantized pitch gain 71 Word16 d_gain_pitch( /* return value: gain (Q14) */
|
/external/sonivox/arm-fm-22k/lib_src/ |
eas_fmengine.h | 56 /* LFO modulation to gain control */ 67 EAS_U16 gain; /* current internal gain */ member in struct:__anon5657 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:__anon5659 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:__anon5660 [all...] |
eas_fmengine.c | 195 * 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 calculation * 393 EAS_I32 gain; local [all...] |
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...] |
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_fmengine.h | 56 /* LFO modulation to gain control */ 67 EAS_U16 gain; /* current internal gain */ member in struct:__anon5707 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:__anon5709 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:__anon5710 [all...] |
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.c | 195 * 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 calculation * 393 EAS_I32 gain; local [all...] |
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...] |
/external/speex/include/speex/ |
speex_preprocess.h | 7 * gain control (AGC) and voice activity detection (VAD). 42 * gain control (AGC) and voice activity detection (VAD). 103 /** Set preprocessor Automatic Gain Control state */ 105 /** Get preprocessor Automatic Gain Control state */ 113 /** Set preprocessor Automatic Gain Control level (float) */ 115 /** Get preprocessor Automatic Gain Control level (float) */ 163 /** Set maximal gain increase in dB/second (int32) */ 166 /** Get maximal gain increase in dB/second (int32) */ 169 /** Set maximal gain decrease in dB/second (int32) */ 172 /** Get maximal gain decrease in dB/second (int32) * [all...] |
/external/speex/libspeex/ |
ltp.c | 173 void open_loop_nbest_pitch(spx_word16_t *sw, int start, int end, int len, int *pitch, spx_word16_t *gain, int N, char *stack) 260 /* Search for the best pitch prediction gain */ 291 /* Compute open-loop gain if necessary */ 292 if (gain) 302 gain[j]=g; 376 spx_word16_t gain[3]; local 487 gain[0] = ADD16(32,(spx_word16_t)gain_cdbk[best_cdbk*4]); 488 gain[1] = ADD16(32,(spx_word16_t)gain_cdbk[best_cdbk*4+1]); 489 gain[2] = ADD16(32,(spx_word16_t)gain_cdbk[best_cdbk*4+2]); 490 /*printf ("%d %d %d %d\n",gain[0],gain[1],gain[2], best_cdbk);* 676 spx_word16_t gain[3]; local [all...] |
preprocess.c | 209 spx_word16_t *gain_floor; /**< Minimum gain allowed */ 214 spx_word16_t *gain; /**< Ephraim Malah gain */ member in struct:SpeexPreprocessState_ 238 float agc_gain; /**< Current AGC gain */ 239 float max_gain; /**< Maximum gain allowed */ 240 float max_increase_step; /**< Maximum increase in gain from one frame to another */ 241 float max_decrease_step; /**< Maximum decrease in gain from one frame to another */ 243 float init_max; /**< Current gain limit during initialisation */ 290 /* This function approximates the gain function 292 which multiplied by xi/(1+xi) is the optimal gain [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
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_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_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...] |
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/ |
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...] |
qgain475.h | 84 /* minimum allowed gain code prediction error: 102.887/4096 = 0.0251189 */ 88 /* minimum allowed gain code prediction error: 32000/4096 = 7.8125 */ 118 * PURPOSE: use optimum codebook gain and update "unquantized" 119 * gain predictor with the (bounded) prediction error 124 gc_predState *pred_st, /* i/o: gain predictor state struct */ 125 Word16 exp_gcode0, /* i : predicted CB gain (exponent), Q0 */ 126 Word16 frac_gcode0, /* i : predicted CB gain (fraction), Q15 */ 127 Word16 cod_gain_exp, /* i : optimum codebook gain (exponent), Q0 */ 128 Word16 cod_gain_frac, /* i : optimum codebook gain (fraction), Q15 */ 137 * (using predicted codebook gain) [all...] |
qgain795.cpp | 133 exp_gcode0 -- Word16 -- predicted CB gain (exponent), Q0 134 gcode0 -- Word16 -- predicted CB gain (norm.) 135 g_pitch_cand[] -- Word16 array -- Pitch gain candidates (3), Q14 136 g_pitch_cind[] -- Word16 array -- Pitch gain cand. indices (3), Q0 142 gain_pit -- Pointer to Word16 -- Pitch gain, Q14 143 gain_pit_ind -- Pointer to Word16 -- Pitch gain index, Q0 144 gain_cod -- Pointer to Word16 -- Code gain, Q1 145 gain_cod_ind -- Pointer to Word16 -- Code gain index, Q0 167 LTP gains (using predicted codebook gain) 207 Word16 exp_gcode0, /* i : predicted CB gain (exponent), Q0 * [all...] |
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...] |
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
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...] |
qgain475.h | 84 /* minimum allowed gain code prediction error: 102.887/4096 = 0.0251189 */ 88 /* minimum allowed gain code prediction error: 32000/4096 = 7.8125 */ 118 * PURPOSE: use optimum codebook gain and update "unquantized" 119 * gain predictor with the (bounded) prediction error 124 gc_predState *pred_st, /* i/o: gain predictor state struct */ 125 Word16 exp_gcode0, /* i : predicted CB gain (exponent), Q0 */ 126 Word16 frac_gcode0, /* i : predicted CB gain (fraction), Q15 */ 127 Word16 cod_gain_exp, /* i : optimum codebook gain (exponent), Q0 */ 128 Word16 cod_gain_frac, /* i : optimum codebook gain (fraction), Q15 */ 137 * (using predicted codebook gain) [all...] |
qgain795.cpp | 133 exp_gcode0 -- Word16 -- predicted CB gain (exponent), Q0 134 gcode0 -- Word16 -- predicted CB gain (norm.) 135 g_pitch_cand[] -- Word16 array -- Pitch gain candidates (3), Q14 136 g_pitch_cind[] -- Word16 array -- Pitch gain cand. indices (3), Q0 142 gain_pit -- Pointer to Word16 -- Pitch gain, Q14 143 gain_pit_ind -- Pointer to Word16 -- Pitch gain index, Q0 144 gain_cod -- Pointer to Word16 -- Code gain, Q1 145 gain_cod_ind -- Pointer to Word16 -- Code gain index, Q0 167 LTP gains (using predicted codebook gain) 207 Word16 exp_gcode0, /* i : predicted CB gain (exponent), Q0 * [all...] |
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...] |
/external/bluetooth/bluez/doc/ |
audio-api.txt | 99 Returns the current speaker gain if available, 104 Returns the current microphone gain if available, 107 void SetSpeakerGain(uint16 gain) {deprecated} 109 Changes the current speaker gain if possible. 111 void SetMicrophoneGain(uint16 gain) {deprecated} 113 Changes the current speaker gain if possible. 151 void SpeakerGainChanged(uint16 gain) {deprecated} 153 The speaker gain changed. 155 void MicrophoneGainChanged(uint16 gain) {deprecated} 157 The microphone gain changed [all...] |