Searched refs:tmp (Results 1 - 25 of 156) sorted by relevance

1234567

/frameworks/base/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_decode_huff_cw.cpp152 uint32 tmp; local
155 tmp = getUpTo9bits(pMainData, 3); /* hufftable1 */
157 cw = *(huffTable_1 + tmp);
169 uint32 tmp; local
172 tmp = getUpTo9bits(pMainData, 6); /* huffTable_2,3 */
174 if (tmp >> 3)
176 tmp = (tmp >> 3) - 1;
180 tmp = tmp
195 uint32 tmp; local
221 uint32 tmp; local
250 uint32 tmp; local
279 uint32 tmp; local
312 uint32 tmp; local
345 uint32 tmp; local
378 uint32 tmp; local
423 uint32 tmp; local
463 uint32 tmp; local
504 uint32 tmp; local
569 uint32 tmp; local
614 uint32 tmp; local
682 uint32 tmp; local
734 uint32 tmp = getUpTo9bits(pMainData, 6); /* huffTable_32 */ local
754 uint16 tmp = getUpTo9bits(pMainData, 4); /* huffTable_33 */ local
[all...]
H A Dpvmp3_mdct_6.cpp125 int32 tmp; local
135 tmp = *(pt_vec++);
138 *(pt_vec_o++) = fxp_mul32_Q29(tmp, *(pt_cos++));
147 tmp = -(vec[0] + vec[1]);
148 history[3] = tmp;
149 history[2] = tmp;
150 tmp = -(vec[1] + vec[2]);
153 history[4] = tmp;
154 history[1] = tmp;
155 tmp
[all...]
H A Dpvmp3_dequantize_sample.cpp296 int32 tmp = fxp_mul32_Q30((is[ss] << 16), power_1_third(pv_abs(is[ ss]))); local
298 tmp = fxp_mul32_Q30(tmp, two_raise_one_fourth);
305 is[ss] = (tmp >> temp);
314 is[ss] = (tmp << global_gain);
352 int32 tmp = is[ss]; local
353 if (tmp)
355 tmp = fxp_mul32_Q30((tmp << 16), power_1_third(pv_abs(tmp)));
377 int32 tmp = is[ss]; local
402 int32 tmp = is[ss]; local
428 int32 tmp = is[ss]; local
[all...]
H A Dpvmp3_get_side_info.cpp120 uint32 tmp; local
128 tmp = getbits_crc(inputStream, 14, crc, info->error_protection);
129 si->main_data_begin = (tmp << 18) >> 23; /* 9 */
130 si->private_bits = (tmp << 23) >> 27; /* 5 */
134 tmp = getbits_crc(inputStream, 12, crc, info->error_protection);
135 si->main_data_begin = (tmp << 20) >> 23; /* 9 */
136 si->private_bits = (tmp << 23) >> 29; /* 3 */
142 tmp = getbits_crc(inputStream, 4, crc, info->error_protection);
143 si->ch[ch].scfsi[0] = (tmp << 28) >> 31; /* 1 */
144 si->ch[ch].scfsi[1] = (tmp << 2
[all...]
H A Dpvmp3_mdct_18.cpp135 int32 tmp; local
152 tmp = *(pt_vec);
154 tmp = fxp_mul32_Q32(tmp << 1, *(pt_cos++));
156 *(pt_vec++) = tmp + tmp1 ;
157 *(pt_vec_o--) = fxp_mul32_Q28((tmp - tmp1), *(pt_cos_split++));
169 tmp = vec[12];
179 vec[ 5] = vec[11] - tmp;
180 vec[ 7] = vec[13] - tmp;
194 tmp
[all...]
/frameworks/base/media/libstagefright/codecs/amrwb/src/
H A Dmedian5.cpp121 int16 tmp; local
133 tmp = x1;
135 x2 = tmp;
139 tmp = x1;
141 x3 = tmp;
145 tmp = x1;
147 x4 = tmp;
155 tmp = x2;
157 x3 = tmp;
161 tmp
[all...]
H A Dvoice_factor.cpp127 int16 i, tmp, exp, ener1, exp1, ener2, exp2; local
135 tmp = (int16)((L_tmp << exp) >> 16);
136 ener1 = mult_int16(ener1, tmp);
142 tmp = shl_int16(gain_code, exp);
143 tmp = mult_int16(tmp, tmp);
144 ener2 = mult_int16(ener2, tmp);
161 tmp = ener1 - ener2;
165 if (tmp >
[all...]
H A Ddec_alg_codebook.cpp147 int16 pos1, pos2, tmp; local
156 tmp = shl_int16(N, 1);
157 i = (index >> tmp) & 1L; /* i = (index >> (2*N)) & 1; */
194 int16 j, tmp; local
200 tmp = sub_int16(shl_int16(N, 1), 1); /* mask = ((1<<((2*N)-1))-1); */
206 tmp = (N << 1) - 1;
209 if (((index >> tmp) & 1L) != 0L)
216 tmp = N << 1; /* idx = (index >> (2*N)) & mask; */
217 idx = (index >> tmp) & mask;
231 int16 j, tmp; local
267 int16 j, n_1, tmp; local
318 int16 j, n_1, tmp; local
[all...]
H A Dhoming_amr_wb_dec.cpp250 int16 i, j, tmp, shift; local
280 tmp = nparms - 15;
281 while (tmp > j)
287 tmp = nparms - j;
288 param[i] = Serial_parm(tmp, &prms);
289 shift = 15 - tmp;
318 tmp = Serial_parm(8, &prms);
319 param[31] = shl_int16(tmp, 7);
324 tmp = i;
326 for (i = 0; i < tmp;
[all...]
H A Dscale_signal.cpp122 int16 tmp; local
141 tmp = (int16)(0x00008000 >> (16 - exp));
146 *(pt_x) = add_int16(*(pt_x), tmp) >> exp;
148 *(pt_x) = add_int16(*(pt_x), tmp) >> exp;
H A Disf_extrapolation.cpp122 int16 coeff, mean, tmp, tmp2, tmp3; local
145 tmp = 0;
148 if (IsfDiff[i] > tmp)
150 tmp = IsfDiff[i];
153 exp = norm_s(tmp);
208 tmp = sub_int16(HfIsf[i - 1 - MaxCorr], HfIsf[i - 2 - MaxCorr]);
209 HfIsf[i] = add_int16(HfIsf[i - 1], tmp);
212 /* tmp=7965+(HfIsf[2]-HfIsf[3]-HfIsf[4])/6; */
213 tmp = add_int16(HfIsf[4], HfIsf[3]);
214 tmp
[all...]
H A Dsynthesis_amr_wb.cpp151 int16 tmp; local
255 tmp = extract_h(Dot_product12(HF, HF, L_SUBFR16k, &exp));
257 if (tmp > ener)
259 tmp >>= 1; /* Be sure tmp < ener */
262 L_tmp = L_deposit_h(div_16by16(tmp, ener)); /* result is normalized */
267 tmp = (int16)(L_tmp >> 16); /* tmp = 2 x sqrt(ener_exc/ener_hf) */
274 *(pt_tmp) = (int16)(fxp_mul_16by16(*(pt_tmp), tmp) >> 15);
276 *(pt_tmp) = (int16)(fxp_mul_16by16(*(pt_tmp), tmp) >> 1
[all...]
/frameworks/base/media/libstagefright/codecs/avc/common/src/
H A Ddeblock.cpp297 int indexA, indexB, tmp; local
386 /* Save Alpha, Beta and clipTable for future use, with the obselete variables filterLeftMbEdgeFlag, mbNum amd tmp */
389 tmp = (int)clipTable;
485 /* Recover Alpha, Beta and clipTable for edge!=0 with the variables filterLeftMbEdgeFlag, mbNum and tmp */
489 clipTable = (int *)tmp;
532 int tmp; local
578 tmp = *ptrQ++ - *ptrP++;
579 if (tmp < 0) tmp = -tmp;
735 int idx, tmp; local
910 int idx, tmp; local
1089 int C0, c0, dif, AbsDelta, tmp, tmp1; local
1278 int C0, c0, dif, AbsDelta, Strng, tmp, tmp1; local
1496 int L1, L0, R0, R1, tmp, tmp1; local
1586 int L1, L0, R0, R1, tmp, tmp1; local
[all...]
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dsbr_inv_filt_levelemphasis.cpp149 Int32 tmp; local
185 tmp = InvFiltFactors[j];
187 if (tmp < BwVectorOld[i])
189 tmp = ((tmp << 1) + tmp + BwVectorOld[i]) >> 2;
193 tmp = fxp_mul32_Q29(Qfmt(0.90625f), tmp);
194 tmp = fxp_mac32_Q29(Qfmt(0.09375f), BwVectorOld[i], tmp);
[all...]
H A Ddigit_reversal_tables.cpp254 Int32 tmp[2]; local
263 tmp[0] = y[i];
264 tmp[1] = y[i+1];
267 y[j] = tmp[0];
268 y[j+1] = tmp[1];
270 tmp[0] = x[j];
271 tmp[1] = x[j+1];
274 x[i] = tmp[0];
275 x[i+1] = tmp[1];
H A Dsbr_decode_envelope.cpp207 Int32 tmp; local
219 tmp = (index << 1) - offset;
220 prevData[tmp ] = currVal;
221 prevData[tmp +1 ] = currVal;
229 tmp = (index << 1) + index;
230 prevData[tmp ] = currVal;
231 prevData[tmp + 1] = currVal;
232 prevData[tmp + 2] = currVal;
236 tmp = (index << 1) + offset;
237 prevData[tmp ]
[all...]
/frameworks/base/libs/rs/
H A DrsMatrix.h53 Matrix tmp; local
54 tmp.loadMultiply(this, rhs);
55 load(&tmp);
58 Matrix tmp; local
59 tmp.loadRotate(rot, x, y, z);
60 multiply(&tmp);
63 Matrix tmp; local
64 tmp.loadScale(x, y, z);
65 multiply(&tmp);
68 Matrix tmp; local
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java137 float[] tmp = new float[12];
140 tmp[0] = src[10] * src[15];
141 tmp[1] = src[11] * src[14];
142 tmp[2] = src[9] * src[15];
143 tmp[3] = src[11] * src[13];
144 tmp[4] = src[9] * src[14];
145 tmp[5] = src[10] * src[13];
146 tmp[6] = src[8] * src[15];
147 tmp[7] = src[11] * src[12];
148 tmp[
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DProgramFragment.java40 int[] tmp = new int[(mInputCount + mOutputCount + mConstantCount + 1) * 2];
44 tmp[idx++] = 0;
45 tmp[idx++] = mInputs[i].mID;
48 tmp[idx++] = 1;
49 tmp[idx++] = mOutputs[i].mID;
52 tmp[idx++] = 2;
53 tmp[idx++] = mConstants[i].mID;
55 tmp[idx++] = 3;
56 tmp[idx++] = mTextureCount;
58 int id = mRS.nProgramFragmentCreate2(mShader, tmp);
[all...]
/frameworks/base/opengl/libs/tools/
H A Dgenfiles22 ./glentrygen ../../include/GLES/gl.h > /tmp/gl_entries.in
23 ./glentrygen ../../include/GLES/glext.h > /tmp/glext_entries.in
24 ./glentrygen ../../include/GLES2/gl2.h > /tmp/gl2_entries.in
25 ./glentrygen ../../include/GLES2/gl2ext.h > /tmp/gl2ext_entries.in
27 cat /tmp/gl_entries.in \
28 /tmp/glext_entries.in \
29 /tmp/gl2_entries.in \
30 /tmp/gl2ext_entries.in \
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/
H A Dgmed_n.cpp133 Word16 tmp[NMAX];
153 tmp[i] = ix;
156 medianIndex=tmp[ shr(n,1) ]; // account for complex addressing
191 Word16 tmp[NMAX]; local
211 *(tmp + i) = ix;
214 medianIndex = *(tmp + (n >> 1)); /* account for complex addressing */
H A Dlog2_norm.cpp144 Word16 i, a, tmp;
165 tmp = sub (table[i], table[i + 1]); // table[i] - table[i+1]
166 L_y = L_msu (L_y, tmp, a); // L_y -= tmp*a*2
203 Word16 i, a, tmp; local
231 tmp = log2_tbl[i] - log2_tbl[i + 1]; /* table[i] - table[i+1] */
232 L_y -= (((Word32) tmp) * a) << 1; /* L_y -= tmp*a*2 */
H A Dpow2.cpp130 Word16 exp, i, a, tmp;
140 tmp = sub (table[i], table[i + 1]); // table[i] - table[i+1]
141 L_x = L_msu (L_x, tmp, a); // L_x -= tmp*a*2
182 Word16 exp, i, a, tmp; local
195 tmp = sub(pow2_tbl[i], pow2_tbl[i + 1], pOverflow);
196 L_x = L_msu(L_x, tmp, a, pOverflow); /* L_x -= tmp*a*2 */
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Dec_gains.cpp271 Word16 tmp;
276 tmp = gmed_n (st->gbuf,5);
279 if (sub (tmp, st->past_gain_code) > 0)
281 tmp = st->past_gain_code;
283 tmp = mult (tmp, cdown[state]);
284 *gain_code = tmp;
329 Word16 tmp; local
334 tmp = gmed_n(st->gbuf, 5);
337 if (sub(tmp, s
590 Word16 tmp; local
[all...]
H A Dd1035pf.cpp134 Word16 i, j, pos1, pos2, sign, tmp;
147 tmp = index[j];
148 i = tmp & 7;
154 i = shr (tmp, 3) & 1;
213 Word16 sign, tmp; local
226 tmp = *(index + j);
227 i = tmp & 7;
233 i = (tmp >> 3) & 1;

Completed in 301 milliseconds

1234567