/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | util.c | 57 Word32 temp1,temp2,num; local 69 temp2 = *x++; 71 *y++ = temp2;
|
H A D | wb_vad.c | 87 Word16 temp0, temp1, temp2; local 94 temp2 = add1(data[1], vo_mult(COEFF5_2, temp0)); 97 *in0 = extract_h((vo_L_add(temp1, temp2) << 15)); 98 *in1 = extract_h((vo_L_sub(temp1, temp2) << 15)); 115 Word16 temp1, temp2; local 118 temp2 = add1(*data, vo_mult(COEFF3, temp1)); 121 *in1 = extract_h((vo_L_sub(*in0, temp2) << 15)); 122 *in0 = extract_h((vo_L_add(*in0, temp2) << 15)); 472 Word16 temp2; local 511 temp2 [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | int_lsf.cpp | 223 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/av/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...] |
H A D | q_plsf_5.cpp | 385 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 D | vad1.cpp | 177 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/av/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/av/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;
|
H A D | pvmp3_dct_16.cpp | 319 int32 temp2; local 326 temp2 = vec[10]; 342 vec[20] = temp2; 343 temp2 = vec[13]; 357 vec[26] = temp2;
|
/frameworks/native/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/av/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/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
H A D | LVPSA_QPD_Process.c | 79 LVM_INT32 temp,temp2; local 121 temp2 = (LVM_INT32)D0; 122 MUL32x32INTO32(temp2,Kp,accu,31); 129 temp2 = (LVM_INT32)D0; 199 LVM_FLOAT temp,temp2; local 242 temp2 = D0; 244 accu = temp2 * Kp; 250 temp2 = D0;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | me_utils.cpp | 223 ULong temp1, temp2; local 233 temp2 = src[width-1]; /* top-right corner */ 236 temp2 |= (temp2 << 8); 237 temp2 |= (temp2 << 16); 248 *((ULong*)(dst += width)) = temp2; 249 *((ULong*)(dst + 4)) = temp2; 250 *((ULong*)(dst + 8)) = temp2; 251 *((ULong*)(dst + 12)) = temp2; [all...] |
H A D | motion_comp.cpp | 1476 temp2 = *((ULong*)(src+4)); \ 1478 *((ULong*)(dst+4)) = temp2; \ 1480 *((ULong*)(dst+4)) = temp2; \ 1482 *((ULong*)(dst+4)) = temp2; \ 1484 *((ULong*)(dst+4)) = temp2; \ 1486 *((ULong*)(dst+4)) = temp2; \ 1488 *((ULong*)(dst+4)) = temp2; \ 1490 *((ULong*)(dst+4)) = temp2; \ 1492 *((ULong*)(dst+4)) = temp2; } 1525 ULong temp, temp2; local [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectReverb.c | 763 int32_t temp2; local 845 temp2 = MULT_EG1_EG1(pReverb->m_nRoomLpfFbk, pReverb->m_nCosWT_5KHz) 847 ALOGV("get REVERB_PARAM_ROOM_HF_LEVEL, 2 Cos a1 %d", temp2); 848 temp = 32767 + temp - temp2; 897 temp2 = MULT_EG1_EG1(pReverb->m_nRvbLpfFbk, pReverb->m_nCosWT_5KHz) 899 temp = 32767 + temp - temp2; 903 temp2 = (pReverb->m_nRvbLpfFwd << 15) / (32767 907 temp2 = Effects_Linear16ToMillibels(temp2); 908 ALOGV("get REVERB_PARAM_DECAY_HF_RATIO, gain 5KHz %d mB, gain DC %d mB", temp, temp2); 1046 int32_t temp2; local [all...] |