Searched defs:ind (Results 1 - 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgmed_n.cpp89 ind = input values (Word16)
124 Word16 ind[], // i : Past gain values
138 tmp2[i] = ind[i];
157 return (ind[medianIndex]);
184 Word16 ind[], /* i : input values */
196 *(tmp2 + i) = *(ind + i);
216 return (*(ind + medianIndex));
183 gmed_n( Word16 ind[], Word16 n ) argument
H A Dlsp_lsf.cpp174 Word16 i, ind, offset;
179 ind = shr (lsf[i], 8); // ind = b8-b15 of lsf[i]
182 // lsp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 256
184 L_tmp = L_mult (sub (table[ind + 1], table[ind]), offset);
185 lsp[i] = add (table[ind], extract_l (L_shr (L_tmp, 9)));
221 Word16 i, ind, offse local
354 Word16 ind; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Disp_isf.cpp154 int16 i, ind, offset; local
165 ind = isp[i] >> 7; /* ind = b7-b15 of isf[i] */
168 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 */
170 L_tmp = mul_16by16_to_int32(table[ind + 1] - table[ind], offset);
171 isp[i] = add_int16(table[ind], (int16)(L_tmp >> 8));
H A Ddtx_decoder_amr_wb.cpp205 int16 ind[7]; local
301 ind[0] = Serial_parm(6, prms);
302 ind[1] = Serial_parm(6, prms);
303 ind[2] = Serial_parm(6, prms);
304 ind[3] = Serial_parm(5, prms);
305 ind[4] = Serial_parm(5, prms);
307 Disf_ns(ind, st->isf);
H A Dpvamrwbdecoder.cpp327 int16 i, j, i_subfr, index, ind[8], tmp; local
491 ind[0] = Serial_parm(8, &prms); /* index of 1st ISP subvector */
492 ind[1] = Serial_parm(8, &prms); /* index of 2nd ISP subvector */
493 ind[2] = Serial_parm(6, &prms); /* index of 3rd ISP subvector */
494 ind[3] = Serial_parm(7, &prms); /* index of 4th ISP subvector */
495 ind[4] = Serial_parm(7, &prms); /* index of 5th ISP subvector */
496 ind[5] = Serial_parm(5, &prms); /* index of 6th ISP subvector */
497 ind[6] = Serial_parm(5, &prms); /* index of 7th ISP subvector */
499 Dpisf_2s_46b(ind, isf, st->past_isfq, st->isfold, st->isf_buf, bfi, 1);
503 ind[
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Disp_isf.c39 Word32 i, ind; local
41 ind = 127; /* beging at end of table -1 */
46 ind = 127; /* beging at end of table -1 */
49 while (table[ind] < isp[i])
50 ind--;
51 /* acos(isp[i])= ind*128 + ( ( isp[i]-table[ind] ) * slope[ind] )/2048 */
52 L_tmp = vo_L_mult(vo_sub(isp[i], table[ind]), slope[ind]);
68 Word32 i, ind, L_tmp; local
[all...]
H A Dc4t64fx.c142 Word16 ind[NPMAXPT * NB_TRACK]; local
568 ix = ind[0] = pos_max[ipos[0]];
569 iy = ind[1] = pos_max[ipos[1]];
602 ix = ind[0] = pos_max[ipos[0]];
603 iy = ind[1] = pos_max[ipos[1]];
604 i = ind[2] = pos_max[ipos[2]];
605 j = ind[3] = pos_max[ipos[3]];
671 ind[j] = ix;
672 ind[j + 1] = iy;
700 codvec[i] = ind[
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode.cpp241 Int ind; local
244 ind = ((mode_MBtype[mode] >> 1) & 3) | ((cbp & 3) << 2);
246 length = mcbpc_intra_tab[ind].len;
248 BitstreamPutBits(bitstream, length, mcbpc_intra_tab[ind].code);
256 Int ind; local
259 ind = (mode_MBtype[mode] & 7) | ((cbp & 3) << 3);
261 length = mcbpc_inter_tab[ind].len;
263 BitstreamPutBits(bitstream, length, mcbpc_inter_tab[ind].code);
271 Int ind; local
277 ind
[all...]

Completed in 100 milliseconds