Searched refs:st (Results 1 - 25 of 176) sorted by relevance

12345678

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dg_adapt.cpp102 st -- double pointer to GainAdaptState
105 st -- double ponter to GainAdaptState
159 Word16 gain_adapt_init(GainAdaptState **st) argument
163 if (st == (GainAdaptState **) NULL)
168 *st = NULL;
177 *st = s;
189 st -- double pointer to GainAdaptState
192 st -- double ponter to GainAdaptState
245 Word16 gain_adapt_reset(GainAdaptState *st) argument
249 if (st
330 gain_adapt_exit(GainAdaptState **st) argument
409 gain_adapt( GainAdaptState *st, Word16 ltpg, Word16 gain_cod, Word16 *alpha, Flag *pOverflow ) argument
[all...]
H A Dsid_sync.cpp127 the pointer to state struct in *st. This pointer has to be passed to sid_sync
258 Word16 sid_sync_reset(void *st) argument
260 sid_syncState *state = (sid_syncState *) st;
337 sid_syncState **st = (sid_syncState **) state; local
339 if (st == NULL || *st == NULL)
345 free(*st);
346 *st = NULL;
361 st = pointer to the state structure used for SID synchronization
366 st
419 sid_sync_set_handover_debt(sid_syncState *st, Word16 debtFrames) argument
500 sid_syncState *st = (sid_syncState *) state; local
[all...]
H A Dcod_amr.cpp366 int cod_amr_reset (cod_amrState *st)
370 if (st == (cod_amrState *) NULL){
379 st->new_speech = st->old_speech + L_TOTAL - L_FRAME; // New speech
381 st->speech = st->new_speech - L_NEXT; // Present frame
383 st->p_window = st->old_speech + L_TOTAL - L_WINDOW; // For LPC window
384 st->p_window_12k2 = st
463 cod_amr_reset(cod_amrState *st) argument
738 cod_amr_first(cod_amrState *st, Word16 new_speech[]) argument
1215 cod_amr( cod_amrState *st, enum Mode mode, Word16 new_speech[], Word16 ana[], enum Mode *usedMode, Word16 synth[] ) argument
[all...]
H A Ddtx_enc.cpp159 st = pointer to an array of pointers to structures of type
163 pointer pointed to by st is set to the address of the allocated
193 int dtx_enc_init (dtx_encState **st)
197 if (st == (dtx_encState **) NULL){
202 *st = NULL;
211 *st = s;
239 Word16 dtx_enc_init(dtx_encState **st) argument
243 if (st == (dtx_encState **) NULL)
248 *st = NULL;
257 *st
360 dtx_enc_reset(dtx_encState *st) argument
467 dtx_enc_exit(dtx_encState **st) argument
666 dtx_enc(dtx_encState *st, Word16 computeSidFlag, Q_plsfState *qSt, gc_predState* predState, Word16 **anap, Flag *pOverflow ) argument
939 dtx_buffer(dtx_encState *st, Word16 lsp_new[], Word16 speech[], Flag *pOverflow ) argument
1119 tx_dtx_handler(dtx_encState *st, Word16 vad_flag, enum Mode *usedMode, Flag *pOverflow ) argument
[all...]
H A Dlpc.h113 Word16 lpc_init(lpcState **st);
115 Stores pointer to filter status struct in *st. This pointer has to
120 Word16 lpc_reset(lpcState *st);
124 void lpc_exit(lpcState **st);
126 stores NULL in *st
130 lpcState *st, /* i/o: State struct */
H A Dsid_sync.h114 Stores pointer to state struct in *st. This pointer has to
118 Word16 sid_sync_init(void **st);
123 Word16 sid_sync_reset(void *st);
126 stores NULL in *st
128 void sid_sync_exit(void **st);
135 void sid_sync_set_handover_debt(sid_syncState *st, /* i/o: sid_sync state */
139 void sid_sync(void *st ,
H A Dton_stab.h112 Word16 ton_stab_init(tonStabState **st);
114 Stores pointer to filter status struct in *st. This pointer has to
119 Word16 ton_stab_reset(tonStabState *st);
124 void ton_stab_exit(tonStabState **st);
126 stores NULL in *st
129 Word16 check_lsp(tonStabState *st, /* i/o : State struct */
134 Word16 check_gp_clipping(tonStabState *st, /* i/o : State struct */
139 void update_gp_clipping(tonStabState *st, /* i/o : State struct */
H A Dg_adapt.h117 Word16 gain_adapt_init(GainAdaptState **st);
119 Stores pointer to state struct in *st. This pointer has to
124 Word16 gain_adapt_reset(GainAdaptState *st);
129 void gain_adapt_exit(GainAdaptState **st);
131 stores NULL in *st
143 GainAdaptState *st, /* i : state struct */
H A Dlevinson.h108 Word16 Levinson_init(LevinsonState **st);
110 Stores pointer to filter status struct in *st. This pointer has to
115 Word16 Levinson_reset(LevinsonState *st);
119 void Levinson_exit(LevinsonState **st);
121 stores NULL in *st
125 LevinsonState *st,
H A Dpre_proc.cpp439 st = a pointer to a structure of type Pre_ProcessState
444 st points to the updated structure
480 Pre_ProcessState *st,
489 x2 = st->x1;
490 st->x1 = st->x0;
491 st->x0 = signal[i];
496 L_tmp = Mpy_32_16 (st->y1_hi, st->y1_lo, a[1]);
497 L_tmp = L_add (L_tmp, Mpy_32_16 (st
540 Pre_Process( Pre_ProcessState *st, Word16 signal[], Word16 lg) argument
[all...]
H A Dpre_proc.h88 Word16 Pre_Process_init(Pre_ProcessState **st);
90 Stores pointer to filter status struct in *st. This pointer has to
95 Word16 Pre_Process_reset(Pre_ProcessState *st);
99 void Pre_Process_exit(Pre_ProcessState **st);
101 stores NULL in *st
105 Pre_ProcessState *st,
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddtx_dec.cpp136 st = pointer to a structure of type dtx_decState
139 Structure pointed to by st is initialized to a set of initial values.
169 int dtx_dec_reset (dtx_decState *st)
173 if (st == (dtx_decState *) NULL){
178 st->since_last_sid = 0;
179 st->true_sid_period_inv = (1 << 13);
181 st->log_en = 3500;
182 st->old_log_en = 3500;
185 st->L_pn_seed_rx = PN_INITIAL_SEED;
188 Copy(lsp_init_data, &st
247 dtx_dec_reset(dtx_decState *st) argument
840 dtx_dec( dtx_decState *st, Word16 mem_syn[], D_plsfState* lsfState, gc_predState* predState, Cb_gain_averageState* averState, enum DTXStateType new_state, enum Mode mode, Word16 parm[], Word16 synth[], Word16 A_t[], Flag *pOverflow ) argument
1493 dtx_dec_activity_update(dtx_decState *st, Word16 lsf[], Word16 frame[], Flag *pOverflow) argument
1804 rx_dtx_handler( dtx_decState *st, enum RXFrameType frame_type, Flag *pOverflow) argument
[all...]
H A Dlsp_avg.cpp125 st = pointer to structure of type lsp_avgState
156 int lsp_avg_reset (lsp_avgState *st)
158 if (st == (lsp_avgState *) NULL){
163 Copy(mean_lsf, &st->lsp_meanSave[0], M);
191 Word16 lsp_avg_reset(lsp_avgState *st) argument
193 if (st == (lsp_avgState *) NULL)
199 Copy(mean_lsf_5, &st->lsp_meanSave[0], M);
212 st = pointer to structure of type lsp_avgState
216 st = pointer to structure of type lsp_avgState
247 lsp_avgState *st, //
293 lsp_avg( lsp_avgState *st, Word16 *lsp, Flag *pOverflow ) argument
[all...]
H A Dec_gains.cpp224 st = pointer to a pointer to a structure containing code state data of
232 st = pointer to a pointer to a structure containing code state data of
276 tmp = gmed_n (st->gbuf,5);
279 if (sub (tmp, st->past_gain_code) > 0)
281 tmp = st->past_gain_code;
316 ec_gain_codeState *st, /* i/o : State struct */
334 tmp = gmed_n(st->gbuf, 5);
337 if (sub(tmp, st->past_gain_code, pOverflow) > 0)
339 tmp = st->past_gain_code;
360 st
315 ec_gain_code( ec_gain_codeState *st, gc_predState *pred_state, Word16 state, Word16 *gain_code, Flag *pOverflow ) argument
452 ec_gain_code_update( ec_gain_codeState *st, Word16 bfi, Word16 prev_bf, Word16 *gain_code, Flag *pOverflow ) argument
577 ec_gain_pitch( ec_gain_pitchState *st, Word16 state, Word16 *gain_pitch, Flag *pOverflow ) argument
806 ec_gain_pitch_update( ec_gain_pitchState *st, Word16 bfi, Word16 prev_bf, Word16 *gain_pitch, Flag *pOverflow ) argument
[all...]
H A Dpost_pro.cpp240 st = pointer to a structure of type Post_ProcessState
246 structure pointed to by st contains new filter input and output values
286 Post_ProcessState *st, //i/o : post process state
296 x2 = st->x1;
297 st->x1 = st->x0;
298 st->x0 = signal[i];
303 L_tmp = Mpy_32_16 (st->y1_hi, st->y1_lo, a[1]);
304 L_tmp = L_add (L_tmp, Mpy_32_16 (st
344 Post_Process( Post_ProcessState *st, Word16 signal[], Word16 lg, Flag *pOverflow ) argument
[all...]
H A Dbgnscd.h121 * Description : Stores pointer to filter status struct in *st. This
125 Word16 Bgn_scd_init(Bgn_scdState **st);
132 Word16 Bgn_scd_reset(Bgn_scdState *st);
140 void Bgn_scd_exit(Bgn_scdState **st);
147 Word16 Bgn_scd(Bgn_scdState *st, /* i : State variables for bgn SCD */
H A Dpreemph.h114 Word16 preemphasis_reset(preemphasisState *st);
118 void preemphasis_exit(preemphasisState **st);
120 stores NULL in *st
124 preemphasisState *st, /* (i/o): preemphasis filter state */
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddtx_decoder_amr_wb.cpp117 int16 dtx_dec_amr_wb_reset(dtx_decState * st, const int16 isf_init[]) argument
122 if (st == (dtx_decState *) NULL)
127 st->since_last_sid = 0;
128 st->true_sid_period_inv = (1 << 13); /* 0.25 in Q15 */
130 st->log_en = 3500;
131 st->old_log_en = 3500;
134 st->cng_seed = RANDOM_INITSEED;
136 st->hist_ptr = 0;
139 pv_memcpy((void *)st->isf, (void *)isf_init, M*sizeof(*isf_init));
141 pv_memcpy((void *)st
196 dtx_dec_amr_wb( dtx_decState * st, int16 * exc2, int16 new_state, int16 isf[], int16 ** prms ) argument
461 dtx_dec_amr_wb_activity_update( dtx_decState * st, int16 isf[], int16 exc[]) argument
534 rx_amr_wb_dtx_handler( dtx_decState * st, int16 frame_type ) argument
873 dithering_control(dtx_encState * st) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dlsp.cpp101 FUNCTION NAME: lsp_init (lspState **st)
106 st = Pointer to type lspState
109 st = Pointer to type lspState -- values are initialized.
163 Word16 lsp_init(lspState **st) argument
167 if (st == (lspState **) NULL)
173 *st = NULL;
193 *st = s;
209 st = Pointer to type lspState
212 st = Pointer to type lspState -- values are reset.
263 Word16 lsp_reset(lspState *st) argument
352 lsp_exit(lspState **st) argument
440 lsp(lspState *st, enum Mode req_mode, enum Mode used_mode, Word16 az[], Word16 azQ[], Word16 lsp_new[], Word16 **anap, Flag *pOverflow) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dlsp.h121 * Description : Stores pointer to filter status struct in *st. This
127 Word16 lsp_init(lspState **st);
138 Word16 lsp_reset(lspState *st);
145 * Description : Stores NULL in *st
149 void lsp_exit(lspState **st);
167 void lsp(lspState *st, /* i/o : State struct */
H A Dd_plsf.h120 Word16 D_plsf_reset(D_plsfState *st);
127 * Description : Stores NULL in *st
132 void D_plsf_exit(D_plsfState **st);
141 * 5 matrix quantization (split-MQ) with 1st order MA
150 D_plsfState *st, /* i/o: State variables */
154 Word16 *lsp1_q, /* o : quantized 1st LSP vector (M) Q15 */
164 * indices.1st order MA prediction and split by 3 matrix
170 D_plsfState *st, /* i/o: State struct */
175 Word16 * lsp1_q, /* o : quantized 1st LSP vector, Q15 */
187 void Init_D_plsf_3(D_plsfState *st, /*
[all...]
H A Dgc_pred.h108 Word16 gc_pred_reset(gc_predState *st);
112 void gc_pred_exit(gc_predState **st);
114 stores NULL in *st
129 gc_predState *st, /* i/o: State struct */
147 gc_predState *st, /* i/o: State struct */
160 gc_predState *st, /* i: State struct */
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Ddtx.c46 dtx_encState * st
50 dtx_encState * st
72 Word16 dtx_enc_init(dtx_encState ** st, Word16 isf_init[], VO_MEM_OPERATOR *pMemOP) argument
76 if (st == (dtx_encState **) NULL)
81 *st = NULL;
90 *st = s;
99 Word16 dtx_enc_reset(dtx_encState * st, Word16 isf_init[]) argument
103 if (st == (dtx_encState *) NULL)
108 st->hist_ptr = 0;
109 st
142 dtx_enc_exit(dtx_encState ** st, VO_MEM_OPERATOR *pMemOP) argument
158 dtx_enc( dtx_encState * st, Word16 isf[M], Word16 * exc2, Word16 ** prms ) argument
293 dtx_buffer( dtx_encState * st, Word16 isf_new[], Word32 enr, Word16 codec_mode ) argument
341 tx_dtx_handler(dtx_encState * st, Word16 vad_flag, Word16 * usedMode ) argument
[all...]
H A Dwb_vad.c179 VadVars * st, /* i/o : State struct */
196 filter5(&tmp_buf[2 * i], &tmp_buf[2 * i + 1], st->a_data5[0]);
200 filter5(&tmp_buf[4 * i], &tmp_buf[4 * i + 2], st->a_data5[1]);
201 filter5(&tmp_buf[4 * i + 1], &tmp_buf[4 * i + 3], st->a_data5[2]);
205 filter5(&tmp_buf[8 * i], &tmp_buf[8 * i + 4], st->a_data5[3]);
206 filter5(&tmp_buf[8 * i + 2], &tmp_buf[8 * i + 6], st->a_data5[4]);
207 filter3(&tmp_buf[8 * i + 3], &tmp_buf[8 * i + 7], &st->a_data3[0]);
211 filter3(&tmp_buf[16 * i + 0], &tmp_buf[16 * i + 8], &st->a_data3[1]);
212 filter3(&tmp_buf[16 * i + 4], &tmp_buf[16 * i + 12], &st->a_data3[2]);
213 filter3(&tmp_buf[16 * i + 6], &tmp_buf[16 * i + 14], &st
178 filter_bank( VadVars * st, Word16 in[], Word16 level[] ) argument
257 update_cntrl( VadVars * st, Word16 level[] ) argument
347 hangover_addition( VadVars * st, Word16 low_power, Word16 hang_len, Word16 burst_len ) argument
389 noise_estimate_update( VadVars * st, Word16 level[] ) argument
459 vad_decision( VadVars * st, Word16 level[COMPLEN], Word32 pow_sum ) argument
568 Estimate_Speech( VadVars * st, Word16 in_level ) argument
737 wb_vad_tone_detection( VadVars * st, Word16 p_gain ) argument
759 wb_vad( VadVars * st, Word16 in_buf[] ) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java39 StreamTokenizer st = new StreamTokenizer(r);
42 st.resetSyntax();
50 st.wordChars('0', '9');
51 st.wordChars('A', 'Z');
52 st.wordChars('a', 'z');
53 st.wordChars('_', '_');
54 st.wordChars('$', '$');
55 st.wordChars('.', '.');
56 st.wordChars('-', '-');
57 st
233 parseValue(StreamTokenizer st, final int type) argument
[all...]

Completed in 848 milliseconds

12345678