Searched refs:isf (Results 1 - 13 of 13) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Disp_isf.c21 * Isp_isf Transformation isp to isf *
22 * Isf_isp Transformation isf to isp *
24 * The transformation from isp[i] to isf[i] and isf[i] to isp[i] *
35 Word16 isf[], /* (o) Q15 : isf[m] normalized (range: 0.0<=val<=0.5) */
53 isf[i] = vo_round((L_tmp << 4)); /* (isp[i]-table[ind])*slope[ind])>>11 */
54 isf[i] = add1(isf[i], (ind << 7));
56 isf[
33 Isp_isf( Word16 isp[], Word16 isf[], Word16 m ) argument
61 Isf_isp( Word16 isf[], Word16 isp[], Word16 m ) argument
[all...]
H A Dgpclip.c59 Word16 isf[], /* (i) : isf values (in frequency domain) */
66 dist_min = vo_sub(isf[1], isf[0]);
70 dist = vo_sub(isf[i], isf[i - 1]);
58 Gp_clip_test_isf( Word16 isf[], Word16 mem[] ) argument
H A Dqpisf_2s.c50 * Description: Quantization of isf parameters with prediction. (46 bits) *
52 * The isf vector is quantized using two-stage VQ with split-by-2 in *
67 Word16 isf[ORDER]; local
72 isf[i] = vo_sub(isf1[i], mean_isf[i]);
73 isf[i] = vo_sub(isf[i], vo_mult(MU, past_isfq[i]));
76 VQ_stage1(&isf[0], dico1_isf, 9, SIZE_BK1, surv1, nb_surv);
84 isf_stage2[i] = vo_sub(isf[i], dico1_isf[i + surv1[k] * 9]);
105 VQ_stage1(&isf[9], dico2_isf, 7, SIZE_BK2, surv1, nb_surv);
113 isf_stage2[i] = vo_sub(isf[
157 Word16 isf[ORDER]; local
421 Reorder_isf( Word16 * isf, Word16 min_dist, Word16 n ) argument
[all...]
H A Ddtx.c160 Word16 isf[M], /* o : CN ISF vector */
179 /* average energy and isf */
191 isf[j] = (Word16)(L_isf[j] >> 3); /* divide by 8 */
218 Qisf_ns(isf, isf, indice);
295 Word16 isf_new[], /* i : isf vector */
455 /* the distances between the latest isf and other isfs, */
485 /* Compute the distance between the latest isf and the other isfs. */
158 dtx_enc( dtx_encState * st, Word16 isf[M], Word16 * exc2, Word16 ** prms ) argument
H A DvoAMRWBEnc.c180 Word16 isf[M]; /* ISF (frequency domain) at 4nd sfr */ local
396 * - convert isp[] to isf[] for quantization *
397 * - quantize and code the isf[] *
398 * - convert isf[] to isp[] for interpolation *
415 Isp_isf(ispnew, isf, M);
418 Gp_clip_test_isf(isf, st->gp_clip);
546 /* Buffer isf's and energy */
564 dtx_buffer(st->dtx_encSt, isf, L_tmp, codec_mode);
567 dtx_enc(st->dtx_encSt, isf, exc2, &prms);
570 Isf_isp(isf, ispnew_
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Disp_isf.cpp47 int16 isf[], (i) Q15 : isf[m] normalized (range: 0.0<=val<=0.5)
55 Isf_isp Transformation isf to isp
57 The transformation from isf[i] to isp[i] is
149 int16 isf[], /* (i) Q15 : isf[m] normalized (range: 0.0<=val<=0.5) */
159 isp[i] = isf[i];
161 isp[m - 1] = shl_int16(isf[m - 1], 1);
165 ind = isp[i] >> 7; /* ind = b7-b15 of isf[i] */
166 offset = (isp[i] & 0x007f); /* offset = b0-b6 of isf[
148 Isf_isp( int16 isf[], int16 isp[], int16 m ) argument
[all...]
H A Ddtx_decoder_amr_wb.cpp139 pv_memcpy((void *)st->isf, (void *)isf_init, M*sizeof(*isf_init));
200 int16 isf[], /* o : CN ISF vector */
234 /* compute mean log energy and isf from decoded signal (SID_FIRST) */
241 /* average energy and isf */
265 st->isf[j] = (int16)(L_isf[j] >> 3); /* divide by 8 */
275 pv_memcpy((void *)st->isf_old, (void *)st->isf, M*sizeof(*st->isf));
307 Disf_ns(ind, st->isf);
327 pv_memcpy((void *)st->isf_old, (void *)st->isf, M*sizeof(*st->isf));
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
920 CN_dithering( int16 isf[M], int32 * L_log_en_int, int16 * dither_seed ) argument
[all...]
H A Ddtx.h135 int16 isf[M]; member in struct:__anon423
166 int16 isf[M], /* o : CN ISF vector */
173 int16 isf_new[], /* i : isf vector */
196 int16 isf[], /* o : CN ISF vector */
202 int16 isf[],
231 int16 isf[M],
H A Dqpisf_2s.cpp135 int16 * isf_buf, /* input : isf buffer */
231 int16 * isf_buf, /* input : isf buffer */
324 * isf[] vector of isfs i/o
330 int16 * isf, /* (i/o) Q15: ISF in the frequency domain (0..0.5) */
341 if (isf[i] < isf_min)
343 isf[i] = isf_min;
345 isf_min = add_int16(isf[i], min_dist);
329 Reorder_isf( int16 * isf, int16 min_dist, int16 n ) argument
H A Dpvamrwbdecoder.cpp306 int16 *isf = &ispnew[M]; /* ISF (frequency domain) at 4nd sfr */ local
307 int16 *isf_tmp = &isf[M];
351 dtx_dec_amr_wb(&(st->dtx_decSt), exc2, newDTXState, isf, &prms);
436 Isf_isp(isf, ispnew, M);
450 L_tmp = mac_16by16_to_int32(L_tmp, isf[i], interpol_frac[j]);
470 pv_memcpy((void *)st->isfold, (void *)isf, M*sizeof(*isf));
499 Dpisf_2s_46b(ind, isf, st->past_isfq, st->isfold, st->isf_buf, bfi, 1);
510 Dpisf_2s_36b(ind, isf, st->past_isfq, st->isfold, st->isf_buf, bfi, 1);
515 Isf_isp(isf, ispne
[all...]
H A Dpvamrwbdecoder_acelp.h104 int16 isf[], /* (i) Q15 : isf[m] normalized (range: 0.0<=val<=0.5) */
123 * isf quantizers *
136 int16 * isf_buf, /* input : isf buffer */
145 int16 * isf_buf, /* input : isf buffer */
152 int16 * isf, /* (i/o) Q15: ISF in the frequency domain (0..0.5) */
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Ddtx.h85 Word16 isf[M], /* o : CN ISF vector */
92 Word16 isf_new[], /* i : isf vector */
H A Dacelp.h75 Word16 isf[], /* (o) Q15 : isf[m] normalized (range: 0.0<=val<=0.5) */
80 Word16 isf[], /* (i) Q15 : isf[m] normalized (range: 0.0<=val<=0.5) */
101 * isf quantizers *
125 Word16 * isf_buf, /* input : isf buffer */
135 Word16 * isf_buf, /* input : isf buffer */
160 Word16 * isf, /* (i/o) Q15: ISF in the frequency domain (0..0.5) */
511 Word16 isf[], /* (i) : isf value
[all...]

Completed in 564 milliseconds