Searched refs:temp2 (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dps_fft_rx8.cpp173 Int32 temp2; local
188 temp2 = *(pt_r2++); /* Real */
195 *(pt_Q++) = temp1 + temp2; /* Q(0) = v(0) + v(4) */
197 *(pt_Q++) = temp1 - temp2; /* Q(1) = v(0) - v(4) */
201 temp2 = *(pt_r2++);
205 *(pt_Q++) = temp1 + temp2; /* Q(2) = v(1) + v(5) */
207 aux_r[0] = temp1 - temp2; /* aux[0] = v(1) - v(5) */
211 temp2 = *(pt_r2++);
215 *(pt_Q++) = temp1 + temp2; /* Q(3) = v(2) + v(6) */
218 *(pt_Q++) = temp1 - temp2;
[all...]
H A Dimdct_fxp.cpp290 Int32 temp2; local
357 temp2 = -cmplx_mul32_by_16(temp_re32, temp_im32, exp_jw);
362 *(p_data_1++) = temp2;
364 max |= (temp2 >> 31) ^ temp2;
378 temp2 = -cmplx_mul32_by_16(temp_re32, temp_im32, exp_jw);
385 *(p_data_2 + 3) = temp2;
387 max |= (temp2 >> 31) ^ temp2;
407 temp2
[all...]
H A Dfft_rx4_short.cpp222 Int32 temp2; local
267 temp2 = *(pData2);
269 temp2 >>= shift;
271 r1 = temp1 + temp2;
272 r2 = temp1 - temp2;
286 temp2 = *pData2;
288 temp2 >>= shift;
290 s1 = temp1 + temp2;
291 s2 = temp1 - temp2;
328 temp2
[all...]
H A Dfft_rx4_long.cpp218 Int32 temp2; local
245 temp2 = *pData2;
247 r1 = temp1 + temp2;
248 r2 = temp1 - temp2;
262 temp2 = *pData2;
264 s1 = temp1 + temp2;
266 s2 = temp1 - temp2;
299 temp2 = *pData2++;
301 r1 = temp1 + temp2;
302 r2 = temp1 - temp2;
[all...]
H A Dmix_radix_fft.cpp197 Int32 temp2; local
226 temp2 = (*pData_4++);
230 diff1 = (temp1 - temp2) >> exp;
231 *pData_3++ = (temp1 + temp2) >> exp;
242 temp2 = (*pData_2++);
245 *pData_1++ = (temp1 + temp2) >> exp;
248 diff1 = (temp1 - temp2) >> exp ;
256 temp2 = (*pData_4++);
265 diff1 = (temp1 - temp2) >> (exp - 4);
266 *pData_3++ = (temp1 + temp2) >> ex
[all...]
H A Dps_stereo_processing.cpp183 Int32 temp2; local
201 temp2 = pms->deltaH12[group];
205 pms->H12[group] += temp2;
209 temp2 = pms->deltaH22[group];
213 pms->H22[group] += temp2;
229 temp2 = *(ptr_hybrRightReal) << 1;
232 *(ptr_hybrLeftReal) = fxp_mac32_by_16(temp2, h21, temp3) << 1;
235 *(ptr_hybrRightReal) = fxp_mac32_by_16(temp2, h22, temp3) << 1;
242 temp2 = *(ptr_hybrRightImag) << 1;
245 *(ptr_hybrLeftImag) = fxp_mac32_by_16(temp2, h2
[all...]
H A Dsynthesis_sub_band.cpp146 Int32 temp2; local
161 temp2 = *(pt_temp_x--);
166 *(pt_Sr_1++) = temp1 + temp2;
167 *(pt_temp_o++) = fxp_mul32_Q31((temp1 - temp2), temp3) << 1;
168 temp2 = *(pt_temp_x--);
175 *(pt_Sr_1++) = temp1 + temp2;
176 *(pt_temp_o++) = fxp_mul32_Q26((temp1 - temp2), temp3);
177 temp2 = *(pt_temp_x--);
197 temp2 = *(pt_temp_o--);
199 *(pt_Sr_1--) = temp1 + temp2;
[all...]
H A Dps_init_stereo_mixing.cpp237 Int32 temp2; local
327 temp2 = fxp_mul32_Q30(sin_beta, sin_alpha);
335 h11 = fxp_mul32_Q30(scaleL, (temp1 - temp2));
336 h12 = fxp_mul32_Q30(scaleR, (temp1 + temp2));
339 temp2 = fxp_mul32_Q30(cos_beta, sin_alpha);
346 h21 = fxp_mul32_Q30(scaleL, (temp1 + temp2));
347 h22 = fxp_mul32_Q30(scaleR, (temp1 - temp2));
432 temp2 = fxp_mul32_Q30(sin_beta, sin_alpha);
440 h11 = fxp_mul32_Q30(scaleL, (temp1 - temp2));
441 h12 = fxp_mul32_Q30(scaleR, (temp1 + temp2));
[all...]
H A Dcalc_auto_corr.cpp260 Int32 temp2; local
280 temp2 = imagBuf[0 ][bd] >> N;
298 accu2 = fxp_mac64_Q31(accu2, temp2, temp4);
299 accu3 = fxp_mac64_Q31(accu3, temp2, temp3);
302 accu4 = fxp_mac64_Q31(accu4, temp2, temp6);
303 accu5 = fxp_mac64_Q31(accu5, temp2, temp5);
309 temp4 = temp2;
311 temp2 = imagBuf[j][bd] >> N;
323 accu2 = fxp_mac64_Q31(accu2, temp2, temp4);
324 accu3 = fxp_mac64_Q31(accu3, temp2, temp
[all...]
H A Ddst8.cpp115 Int32 temp2; local
131 temp2 = fxp_mul32_by_16(vec[2], Qfmt15(0.54119610014620F)); /* (1/(2*cos(2*phi)));*/
138 tmp_a = fxp_mul32_Q31((temp2 + temp6) << 1, Qfmt31(0.70710678118655F));
139 tmp_b = (temp2 - temp6) + tmp_a;
H A Danalysis_sub_band.cpp211 Int32 temp2; local
254 temp2 = cmplx_mul32_by_16(temp4, -temp3, exp_1_5);
257 *(pt_vec_32++) = shft_lft_1(temp2);
264 temp2 = cmplx_mul32_by_16(temp4, -temp3, exp_1_5);
267 *(pt_vec_32++) = shft_lft_1(temp2);
H A Dtrans4m_freq_2_time_fxp.cpp665 Int32 temp2, test2; local
669 temp2 = *(pFreq2T++);
674 temp = fxp_mul_16_by_16bb(temp2, winx) >> shift;
675 temp2 = fxp_mul_16_by_16tt(temp2, winx) >> shift;
677 limiter(*(pOutput_buffer++), (temp2 + test2));
679 temp2 = *(pFreq2T_2++);
683 temp = fxp_mul_16_by_16bb(temp2, win1) >> shift;
684 test2 = fxp_mul_16_by_16tb(temp2, win2) >> shift;
761 Int32 temp2 local
800 Int32 temp2; local
1668 Int32 temp2, test2; local
1777 Int32 temp2 = ((Int32) * (pFreq_2_Time_data_1++)) << shift; local
1814 Int32 temp2; local
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Dint_lsf.cpp223 register Word16 temp2; local
239 temp2 = ~(~(*(lsf_new + i)) >> 2);
243 temp2 = *(lsf_new + i) >> 2;
246 (Word16)temp2,
265 temp2 = ~(~(*(lsf_new + i)) >> 1);
269 temp2 = *(lsf_new + i) >> 1;
273 temp2,
292 temp2 = ~(~(*(lsf_new + i)) >> 2);
296 temp2 = *(lsf_new + i) >> 2;
299 (Word16)(*(lsf_new + i) - temp2),
[all...]
H A Dpreemph.cpp247 Word16 temp2; local
256 temp2 = mult(g, *(p2--), pOverflow);
257 *p1 = sub(*p1, temp2, pOverflow);
262 temp2 = mult(g, st->mem_pre, pOverflow);
264 *p1 = sub(*p1, temp2, pOverflow);
H A Dpstfilt.cpp329 Word16 temp1, temp2;
383 temp2 = extract_h (L_tmp);
385 if (temp2 <= 0)
387 temp2 = 0;
391 temp2 = mult (temp2, MU);
392 temp2 = div_s (temp2, temp1);
395 preemphasis (st->preemph_state, st->res2, temp2, L_SUBFR);
456 Word16 temp2; local
[all...]
H A Ddec_gain.cpp46 function calls and declared temp2 as a variable.
201 Word16 temp2; local
246 temp2 = shl(exp, 10, pOverflow);
247 qua_ener_MR122 = add(temp1, temp2, pOverflow);
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
H A Denc_lag3.cpp265 Word16 temp2; local
277 temp2 = add(T0, T0, pOverflow);
278 i = add(temp2, T0, pOverflow);
279 temp2 = sub(i, 58, pOverflow);
280 index = add(temp2, T0_frac, pOverflow);
296 temp2 = add(i, i, pOverflow);
297 i = add(temp2, i, pOverflow);
298 temp2 = add(i, 2, pOverflow);
299 index = add(temp2, T0_frac, pOverflow);
308 temp2
[all...]
H A Dg_code.cpp242 Word32 temp2; local
251 temp2 = (Word32)(*(p_y2++) >> 1);
252 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s);
253 temp2 = (Word32)(*(p_y2++) >> 1);
254 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s);
255 temp2 = (Word32)(*(p_y2++) >> 1);
256 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s);
257 temp2 = (Word32)(*(p_y2++) >> 1);
258 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s);
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/
H A Dq_plsf_5.cpp385 Word16 temp2; local
422 temp2 = lsf_r1_0 + temp;
424 temp2 = ((Word32)wf1_0 * temp2) >> 15;
426 dist2 = ((Word32)temp2 * temp2);
430 temp2 = lsf_r1_1 + temp;
432 temp2 = ((Word32)wf1_1 * temp2) >> 15;
434 dist2 += ((Word32)temp2 * temp
[all...]
H A Dint_lpc.cpp444 Word16 temp2; local
452 temp2 = shr(lsp_new[i], 2, pOverflow);
454 lsp[i] = add(temp2, temp, pOverflow);
468 temp2 = shr(lsp_old[i], 1, pOverflow);
469 lsp[i] = add(temp, temp2, pOverflow);
483 temp2 = shr(lsp_old[i], 2, pOverflow);
485 lsp[i] = add(temp2, temp, pOverflow);
581 Word16 temp2; local
590 temp2 = shr(lsp_new[i], 2, pOverflow);
592 lsp[i] = add(temp2, tem
[all...]
H A Dvad1.cpp177 Word16 temp2; local
196 temp2 = shr(in[4*i+1], 2, pOverflow);
198 temp3 = sub(temp2, temp3, pOverflow);
200 temp2 = mult(COEFF5_2, temp3, pOverflow);
201 temp2 = add(data1, temp2, pOverflow);
203 out[4*i+0] = add(temp1, temp2, pOverflow);
204 out[4*i+1] = sub(temp1, temp2, pOverflow);
207 temp2 = shr(in[4*i+2], 2, pOverflow);
208 data0 = sub(temp2, temp
305 Word16 temp2; local
409 Word16 temp2; local
[all...]
/frameworks/base/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_polyphase_filter_window.cpp139 int32 temp2 = pt_2[ SUBBANDS_NUMBER* 1 ]; local
146 sum1 = fxp_mac32_Q32(sum1, temp2, winPtr[ 2]);
148 sum2 = fxp_mac32_Q32(sum2, temp2, winPtr[ 3]);
153 temp2 = pt_2[ SUBBANDS_NUMBER* 3];
160 sum1 = fxp_mac32_Q32(sum1, temp2, winPtr[ 6]);
162 sum2 = fxp_mac32_Q32(sum2, temp2, winPtr[ 7]);
167 temp2 = pt_2[ SUBBANDS_NUMBER* 5 ];
174 sum1 = fxp_mac32_Q32(sum1, temp2, winPtr[10]);
176 sum2 = fxp_mac32_Q32(sum2, temp2, winPtr[11]);
181 temp2
213 int32 temp2 = pt_synth[ SUBBANDS_NUMBER ]; local
[all...]
H A Dpvmp3_imdct_synth.cpp322 int32 temp2 = out[slot+2]; local
325 out[slot+2] = -temp2;
343 int32 temp2 = history[slot+1]; local
346 out[slot+1] = -temp2;
350 temp2 = history[slot+4];
353 out[slot+4] = temp2;
362 int32 temp2 = history[slot+1]; local
365 out[slot+1] = temp2;
/frameworks/base/opengl/tests/gralloc/
H A Dgralloc.cpp44 void* temp2 = malloc(size); local
46 memset(temp2, 0, size);
73 memcpy(temp, temp2, size);
92 lamecpy(temp, temp2, size);
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_outside.cpp134 temp2 = *((uint32*)(prev+4)); \
136 *((uint32*)(ptr+4)) = temp2; \
138 *((uint32*)(ptr+4)) = temp2;\
140 *((uint32*)(ptr+4)) = temp2;\
142 *((uint32*)(ptr+4)) = temp2;\
144 *((uint32*)(ptr+4)) = temp2;\
146 *((uint32*)(ptr+4)) = temp2;\
148 *((uint32*)(ptr+4)) = temp2;\
150 *((uint32*)(ptr+4)) = temp2;}
259 uint32 temp, temp2; local
[all...]

Completed in 352 milliseconds

12