/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
H A D | util.c | 56 Word32 temp1,temp2,num;
local 64 temp2 = *x++;
67 *y++ = temp2;
69 temp2 = *x++;
|
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | int_lsf.cpp | 223 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 D | preemph.cpp | 247 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 D | dec_gain.cpp | 46 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);
|
H A D | pstfilt.cpp | 329 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...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
H A D | int_lpc.cpp | 444 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...] |
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | enc_lag3.cpp | 265 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 D | g_code.cpp | 242 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/mp3dec/src/ |
H A D | pvmp3_polyphase_filter_window.cpp | 139 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 D | pvmp3_dequantize_sample.cpp | 275 int32 temp2 = fxp_mul32_Q32((ss - cb_begin) << 16, mp3_shortwindBandWidths[sfreq][cb_width]); local 276 temp2 = (temp2 + 1) >> 15; 279 global_gain -= gr_info->subblock_gain[temp2] << 3; 280 global_gain -= (1 + gr_info->scalefac_scale) * (scalefac->s[temp2][cb] << 1);
|
H A D | pvmp3_equalizer.cpp | 342 int32 temp2 = (pt_work_buff[ i + FILTERBANK_BANDS ]); local 346 *(inData++) = temp2; 357 int32 temp2 = (pt_work_buff[ i + FILTERBANK_BANDS ]); local 361 *(inData++) = temp2; 382 int32 temp2 = (pt_work_buff[ i + FILTERBANK_BANDS ]); local 386 *(inData++) = fxp_mul32_Q32(temp2 << 1, *(pt_equalizer++)); 399 int32 temp2 = (pt_work_buff[ i + FILTERBANK_BANDS ]); local 403 *(inData++) = fxp_mul32_Q32(temp2 << 1, *(pt_equalizer++));
|
H A D | pvmp3_imdct_synth.cpp | 322 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 D | gralloc.cpp | 44 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/aacdec/ |
H A D | mix_radix_fft.cpp | 197 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 D | calc_auto_corr.cpp | 260 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 D | dst8.cpp | 115 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 D | imdct_fxp.cpp | 290 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 D | ps_fft_rx8.cpp | 173 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 D | ps_stereo_processing.cpp | 183 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 D | analysis_sub_band.cpp | 211 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 D | fft_rx4_long.cpp | 218 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 D | fft_rx4_short.cpp | 222 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 D | ps_init_stereo_mixing.cpp | 237 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...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | get_pred_outside.cpp | 134 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...] |
/frameworks/base/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
H A D | LVPSA_QPD_Process.c | 74 LVM_INT32 temp,temp2; local 116 temp2 = (LVM_INT32)D0; 117 MUL32x32INTO32(temp2,Kp,accu,31); 124 temp2 = (LVM_INT32)D0;
|