Searched defs:st (Results 1 - 25 of 81) sorted by relevance

1234

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
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 Dd_plsf_5.cpp124 st = pointer to a structure of type D_plsfState
127 lsp1_q = pointer to the quantized 1st LSP vector (Word16)
131 lsp1_q points to the updated quantized 1st LSP vector
164 D_plsfState *st, // i/o: State variables
168 Word16 *lsp1_q, // o : quantized 1st LSP vector (M), Q15
184 // lsfi_q[i] = ALPHA*st->past_lsf_q[i] + ONE_ALPHA*mean_lsf[i];
186 lsf1_q[i] = add (mult (st->past_lsf_q[i], ALPHA),
196 // temp = mean_lsf[i] + st->past_r_q[i] * LSP_PRED_FAC_MR122;
198 temp = add (mean_lsf[i], mult (st->past_r_q[i],
201 st
301 D_plsf_5( D_plsfState *st, Word16 bfi, Word16 *indice, Word16 *lsp1_q, Word16 *lsp2_q, Flag *pOverflow ) argument
[all...]
H A Dpreemph.cpp100 st -- double pointer to preemphasisState
103 st -- double ponter to preemphasisState
176 st -- Pointer to preemphasisState -- preemphasis filter state
182 st -- Pointer to preemphasisState -- preemphasis filter state
237 preemphasisState *st, /* (i/o) : preemphasis filter state */
262 temp2 = mult(g, st->mem_pre, pOverflow);
266 st->mem_pre = temp;
236 preemphasis( preemphasisState *st, Word16 *signal, Word16 g, Word16 L, Flag *pOverflow ) argument
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 Dsp_dec.cpp511 st = pointer to structures of type Speech_Decode_FrameState
559 Speech_Decode_FrameState *st, // io: post filter states
575 setCounter(st->complexityCounter);
588 Decoder_amr(st->decoder_amrState, mode, parm, frame_type,
591 Post_Filter(st->post_state, mode, synth, Az_dec); // Post-filter
594 Post_Process(st->postHP_state, synth, L_FRAME);
634 Speech_Decode_FrameState *st, /* io: post filter states */
645 Flag *pOverflow = &(st->decoder_amrState.overflow); /* Overflow flag */
665 &(st->decoder_amrState),
674 &(st
633 GSMFrameDecode( Speech_Decode_FrameState *st, enum Mode mode, Word16 *serial, enum RXFrameType frame_type, Word16 *synth) argument
[all...]
H A Dagc.cpp599 st = pointer to agc state
607 st->past_gain = gain
646 agcState *st, // i/o : agc state
662 st->past_gain = 0;
700 gain = st->past_gain;
709 st->past_gain = gain;
738 agcState *st, /* i/o : agc state */
765 st->past_gain = 0;
819 gain = st->past_gain;
836 st
737 agc( agcState *st, Word16 *sig_in, Word16 *sig_out, Word16 agc_fac, Word16 l_trm, Flag *pOverflow ) argument
[all...]
H A Dbgnscd.cpp190 st = pointer to state variables of type Bgn_scdState
197 st = function updates the state variables of type Bgn_scdState
198 pointed to by st.
231 Word16 Bgn_scd (Bgn_scdState *st, // i : State variables for bgn SCD
265 if (sub(st->frameEnergyHist[i], frameEnergyMin) < 0)
266 frameEnergyMin = st->frameEnergyHist[i];
271 maxEnergy = st->frameEnergyHist[0];
274 if ( sub (maxEnergy, st->frameEnergyHist[i]) < 0)
276 maxEnergy = st->frameEnergyHist[i];
280 maxEnergyLastPart = st
399 Bgn_scd(Bgn_scdState *st, Word16 ltpGainHist[], Word16 speech[], Word16 *voicedHangover, Flag *pOverflow ) argument
[all...]
H A Dc_g_aver.cpp221 st = pointer to structure of type Cb_gain_averageState
265 Cb_gain_averageState *st, // i/o : State variables for CB gain avergeing
297 st->cbGainHistory[i] = st->cbGainHistory[i+1];
299 st->cbGainHistory[L_CBGAINHIST-1] = gain_code;
328 st->hangVar = add(st->hangVar, 1);
332 st->hangVar = 0;
335 if (sub(st->hangVar, 10) > 0)
337 st
463 Cb_gain_average( Cb_gain_averageState *st, enum Mode mode, Word16 gain_code, Word16 lsp[], Word16 lspAver[], Word16 bfi, Word16 prev_bf, Word16 pdfi, Word16 prev_pdf, Word16 inBackgroundNoise, Word16 voicedHangover, Flag *pOverflow ) argument
[all...]
H A Dd_plsf_3.cpp41 st -- Pointer to type struct D_plsfState
48 st -- Pointer to type struct D_plsfState
49 lsp1_q -- Pointer to type Word16 -- quantized 1st LSP vector Q15
65 indices.1st order MA prediction and split by 3 vector
163 D_plsfState *st, /* i/o: State struct */
168 Word16 * lsp1_q, /* o : quantized 1st LSP vector, Q15 */
188 st->past_lsf_q[i],
214 st->past_r_q[i],
224 st->past_r_q[i] =
241 st
162 D_plsf_3( D_plsfState *st, enum Mode mode, Word16 bfi, Word16 * indice, Word16 * lsp1_q, Flag *pOverflow ) argument
488 Init_D_plsf_3( D_plsfState *st, Word16 index ) argument
[all...]
H A Dpstfilt.cpp264 st = pointer to a structure of type Post_FilterState
273 fields of the structure pointed to by st contains the updated field
312 Post_FilterState *st, // i/o : post filter states
331 Word16 *syn_work = &st->synth_buf[M];
359 Residu (Ap3, &syn_work[i_subfr], st->res2, L_SUBFR);
369 // 1st correlation of h[]
395 preemphasis (st->preemph_state, st->res2, temp2, L_SUBFR);
399 Syn_filt (Ap4, st->res2, &syn[i_subfr], L_SUBFR, st
439 Post_Filter( Post_FilterState *st, enum Mode mode, Word16 *syn, Word16 *Az_4, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dol_ltp.cpp89 st = pointer to pitchOLWghtState structure
131 pitchOLWghtState *st, // i/o : State struct
162 *T_op = Pitch_ol_wgh(st, vadSt, wsp, PIT_MIN, PIT_MAX, L_FRAME_BY2,
202 pitchOLWghtState *st, /* i/o : State struct */
235 *T_op = Pitch_ol_wgh(st, vadSt, wsp, PIT_MIN, PIT_MAX, L_FRAME_BY2,
201 ol_ltp( pitchOLWghtState *st, vadState *vadSt, enum Mode mode, Word16 wsp[], Word16 *T_op, Word16 old_lags[], Word16 ol_gain_flg[], Word16 idx, Flag dtx, Flag *pOverflow ) argument
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 Dlpc.cpp444 Levinson(st->levinsonSt, rHigh, rLow, &a[MP1], rc);
451 Levinson(st->levinsonSt, rHigh, rLow, &a[MP1 * 3], rc);
460 Levinson(st->levinsonSt, rHigh, rLow, &a[MP1 * 3], rc);
488 lpcState *st, /* i/o: State struct */
508 Levinson(st->levinsonSt, rHigh, rLow, &a[MP1], rc, pOverflow);
515 Levinson(st->levinsonSt, rHigh, rLow, &a[MP1 * 3], rc, pOverflow);
524 Levinson(st->levinsonSt, rHigh, rLow, &a[MP1 * 3], rc, pOverflow);
487 lpc( lpcState *st, enum Mode mode, Word16 x[], Word16 x_12k2[], Word16 a[], Flag *pOverflow ) argument
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 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 Dsp_enc.cpp479 st = pointer to a structure of type Speech_Encode_FrameState that contains
485 The structure of type Speech_Encode_FrameState pointed to by st is updated.
516 Speech_Encode_FrameState *st, // i/o : post filter states
523 setCounter(st->complexityCounter);
534 Pre_Process (st->pre_state, new_speech, L_NEXT);
536 cod_amr_first(st->cod_amr_state, new_speech);
568 Speech_Encode_FrameState *st, /* i/o : post filter states */
584 Pre_Process(st->pre_state, new_speech, L_NEXT);
586 cod_amr_first(st->cod_amr_state, new_speech);
653 Speech_Encode_FrameState *st
567 Speech_Encode_Frame_First( Speech_Encode_FrameState *st, Word16 *new_speech) argument
724 Speech_Encode_FrameState *st = local
[all...]
H A Dton_stab.cpp219 st = pointer to pointer to structure type tonStabState.
252 int ton_stab_reset (tonStabState *st)
254 if (st == (tonStabState *) NULL){
260 st->count = 0;
261 Set_zero(st->gp, N_FRAME); // Init Gp_Clipping
289 Word16 ton_stab_reset(tonStabState *st) argument
291 if (st == (tonStabState *) NULL)
298 st->count = 0;
299 Set_zero(st->gp, N_FRAME); /* Init Gp_Clipping */
436 Word16 check_lsp(tonStabState *st, //
525 check_lsp(tonStabState *st, Word16 *lsp, Flag *pOverflow ) argument
690 check_gp_clipping(tonStabState *st, Word16 g_pitch, Flag *pOverflow ) argument
788 update_gp_clipping(tonStabState *st, Word16 g_pitch, Flag *pOverflow ) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pUpnpServiceRequest.java60 * @param st ssdp search target. Cannot be null.<br>
71 public static WifiP2pUpnpServiceRequest newInstance(String st) { argument
72 if (st == null) {
77 sb.append(WifiP2pServiceInfo.bin2HexStr(st.getBytes()));
/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dfile_wrapper_input.cpp49 struct stat st; local
50 if (0 == stat(_name, &st)) {
52 _size = st.st_size;
/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/compile/linkloader/include/impl/
H A DELFSymbol.hxx162 ELFSectionBitsTy const &st = local
164 my_addr =const_cast<unsigned char *>(&st[0] + (off_t)getValue());
227 ELFSectionProgBitsTy const &st = local
229 my_addr = const_cast<unsigned char *>(&st[0] + (off_t)getValue());
257 ELFSectionBitsTy const &st = local
259 my_addr = const_cast<unsigned char *>(&st[0] + (off_t)getValue());
286 ELFSectionBitsTy const &st = local
288 my_addr = const_cast<unsigned char *>(&st[0] + (off_t)getValue());
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dmime_io.cpp534 RX_State_wb *st)
708 *mode = st->prev_mode;
712 *mode = st->prev_mode;
716 *mode = st->prev_mode;
720 *mode = st->prev_mode;
724 st->prev_mode = *mode;
529 mime_unsorting(uint8 unsorted_bits[], int16 sorted_bits_into_int16[], int16 * frame_type, int16 * mode, uint8 quality, RX_State_wb *st) argument
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp113 struct stat st; local
114 if (stat(path, &st) == 0 && S_ISREG(st.st_mode)) {
/frameworks/base/core/java/android/text/
H A DEditable.java29 * Replaces the specified range (<code>st&hellip;en</code>) of text in this
48 public Editable replace(int st, int en, CharSequence source, int start, int end); argument
51 * Convenience for replace(st, en, text, 0, text.length())
54 public Editable replace(int st, int en, CharSequence text); argument
69 * Convenience for replace(st, en, "", 0, 0)
72 public Editable delete(int st, int en); argument

Completed in 350 milliseconds

1234