/frameworks/av/media/module/codecs/amrnb/enc/src/ |
D | enc_lag3.cpp | 265 Word16 temp2; in Enc_lag3() local 277 temp2 = add(T0, T0, pOverflow); in Enc_lag3() 278 i = add(temp2, T0, pOverflow); in Enc_lag3() 279 temp2 = sub(i, 58, pOverflow); in Enc_lag3() 280 index = add(temp2, T0_frac, pOverflow); in Enc_lag3() 296 temp2 = add(i, i, pOverflow); in Enc_lag3() 297 i = add(temp2, i, pOverflow); in Enc_lag3() 298 temp2 = add(i, 2, pOverflow); in Enc_lag3() 299 index = add(temp2, T0_frac, pOverflow); in Enc_lag3() 308 temp2 = sub(temp1, 5, pOverflow); in Enc_lag3() [all …]
|
D | g_code.cpp | 242 Word32 temp2; in G_code() local 251 temp2 = (Word32)(*(p_y2++) >> 1); in G_code() 252 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s); in G_code() 253 temp2 = (Word32)(*(p_y2++) >> 1); in G_code() 254 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s); in G_code() 255 temp2 = (Word32)(*(p_y2++) >> 1); in G_code() 256 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s); in G_code() 257 temp2 = (Word32)(*(p_y2++) >> 1); in G_code() 258 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s); in G_code()
|
/frameworks/av/media/module/codecs/amrnb/dec/src/ |
D | int_lsf.cpp | 223 Word16 temp2; in Int_lsf() local 239 temp2 = ~(~(*(lsf_new + i)) >> 2); in Int_lsf() 243 temp2 = *(lsf_new + i) >> 2; in Int_lsf() 246 (Word16)temp2, in Int_lsf() 265 temp2 = ~(~(*(lsf_new + i)) >> 1); in Int_lsf() 269 temp2 = *(lsf_new + i) >> 1; in Int_lsf() 273 temp2, in Int_lsf() 292 temp2 = ~(~(*(lsf_new + i)) >> 2); in Int_lsf() 296 temp2 = *(lsf_new + i) >> 2; in Int_lsf() 299 (Word16)(*(lsf_new + i) - temp2), in Int_lsf()
|
D | pstfilt.cpp | 456 Word16 temp2; in Post_Filter() local 539 temp2 = (Word16)(L_tmp >> 16); in Post_Filter() 541 if (temp2 <= 0) in Post_Filter() 543 temp2 = 0; in Post_Filter() 547 L_tmp = (((Word32) temp2) * MU) >> 15; in Post_Filter() 554 temp2 = (Word16) L_tmp; in Post_Filter() 556 temp2 = div_s(temp2, temp1); in Post_Filter() 559 preemphasis(&(st->preemph_state), st->res2, temp2, L_SUBFR, pOverflow); in Post_Filter()
|
D | preemph.cpp | 247 Word16 temp2; in preemphasis() local 256 temp2 = mult(g, *(p2--), pOverflow); in preemphasis() 257 *p1 = sub(*p1, temp2, pOverflow); in preemphasis() 262 temp2 = mult(g, st->mem_pre, pOverflow); in preemphasis() 264 *p1 = sub(*p1, temp2, pOverflow); in preemphasis()
|
D | dec_gain.cpp | 201 Word16 temp2; in Dec_gain() local 246 temp2 = shl(exp, 10, pOverflow); in Dec_gain() 247 qua_ener_MR122 = add(temp1, temp2, pOverflow); in Dec_gain()
|
/frameworks/av/media/module/codecs/mp3dec/src/ |
D | pvmp3_polyphase_filter_window.cpp | 139 int32 temp2 = pt_2[ SUBBANDS_NUMBER* 1 ]; in pvmp3_polyphase_filter_window() local 146 sum1 = fxp_mac32_Q32(sum1, temp2, winPtr[ 2]); in pvmp3_polyphase_filter_window() 148 sum2 = fxp_mac32_Q32(sum2, temp2, winPtr[ 3]); in pvmp3_polyphase_filter_window() 153 temp2 = pt_2[ SUBBANDS_NUMBER* 3]; in pvmp3_polyphase_filter_window() 160 sum1 = fxp_mac32_Q32(sum1, temp2, winPtr[ 6]); in pvmp3_polyphase_filter_window() 162 sum2 = fxp_mac32_Q32(sum2, temp2, winPtr[ 7]); in pvmp3_polyphase_filter_window() 167 temp2 = pt_2[ SUBBANDS_NUMBER* 5 ]; in pvmp3_polyphase_filter_window() 174 sum1 = fxp_mac32_Q32(sum1, temp2, winPtr[10]); in pvmp3_polyphase_filter_window() 176 sum2 = fxp_mac32_Q32(sum2, temp2, winPtr[11]); in pvmp3_polyphase_filter_window() 181 temp2 = pt_2[ SUBBANDS_NUMBER*7 ]; in pvmp3_polyphase_filter_window() [all …]
|
D | pvmp3_imdct_synth.cpp | 322 int32 temp2 = out[slot+2]; in pvmp3_imdct_synth() local 325 out[slot+2] = -temp2; in pvmp3_imdct_synth() 343 int32 temp2 = history[slot+1]; in pvmp3_imdct_synth() local 346 out[slot+1] = -temp2; in pvmp3_imdct_synth() 350 temp2 = history[slot+4]; in pvmp3_imdct_synth() 353 out[slot+4] = temp2; in pvmp3_imdct_synth() 362 int32 temp2 = history[slot+1]; in pvmp3_imdct_synth() local 365 out[slot+1] = temp2; in pvmp3_imdct_synth()
|
D | pvmp3_equalizer.cpp | 342 int32 temp2 = (pt_work_buff[ i + FILTERBANK_BANDS ]); in pvmp3_equalizer() local 346 *(inData++) = temp2; in pvmp3_equalizer() 357 int32 temp2 = (pt_work_buff[ i + FILTERBANK_BANDS ]); in pvmp3_equalizer() local 361 *(inData++) = temp2; in pvmp3_equalizer() 382 int32 temp2 = (pt_work_buff[ i + FILTERBANK_BANDS ]); in pvmp3_equalizer() local 386 *(inData++) = fxp_mul32_Q32(temp2 << 1, *(pt_equalizer++)); in pvmp3_equalizer() 399 int32 temp2 = (pt_work_buff[ i + FILTERBANK_BANDS ]); in pvmp3_equalizer() local 403 *(inData++) = fxp_mul32_Q32(temp2 << 1, *(pt_equalizer++)); in pvmp3_equalizer()
|
D | pvmp3_dequantize_sample.cpp | 275 … int32 temp2 = fxp_mul32_Q32((ss - cb_begin) << 16, mp3_shortwindBandWidths[sfreq][cb_width]); in pvmp3_dequantize_sample() local 276 temp2 = (temp2 + 1) >> 15; in pvmp3_dequantize_sample() 279 global_gain -= gr_info->subblock_gain[temp2] << 3; in pvmp3_dequantize_sample() 280 global_gain -= (1 + gr_info->scalefac_scale) * (scalefac->s[temp2][cb] << 1); in pvmp3_dequantize_sample()
|
D | pvmp3_dct_16.cpp | 319 int32 temp2; in pvmp3_merge_in_place_N32() local 326 temp2 = vec[10]; in pvmp3_merge_in_place_N32() 342 vec[20] = temp2; in pvmp3_merge_in_place_N32() 343 temp2 = vec[13]; in pvmp3_merge_in_place_N32() 357 vec[26] = temp2; in pvmp3_merge_in_place_N32()
|
/frameworks/av/media/module/codecs/amrnb/common/src/ |
D | q_plsf_5.cpp | 385 Word16 temp2; in Vq_subvec_s() local 422 temp2 = lsf_r1_0 + temp; in Vq_subvec_s() 424 temp2 = ((Word32)wf1_0 * temp2) >> 15; in Vq_subvec_s() 426 dist2 = ((Word32)temp2 * temp2); in Vq_subvec_s() 430 temp2 = lsf_r1_1 + temp; in Vq_subvec_s() 432 temp2 = ((Word32)wf1_1 * temp2) >> 15; in Vq_subvec_s() 434 dist2 += ((Word32)temp2 * temp2); in Vq_subvec_s() 444 temp2 = lsf_r2_0 + temp; in Vq_subvec_s() 446 temp2 = ((Word32)wf2_0 * temp2) >> 15; in Vq_subvec_s() 448 dist2 += ((Word32)temp2 * temp2); in Vq_subvec_s() [all …]
|
D | int_lpc.cpp | 444 Word16 temp2; in Int_lpc_1to3() local 452 temp2 = shr(lsp_new[i], 2, pOverflow); in Int_lpc_1to3() 454 lsp[i] = add(temp2, temp, pOverflow); in Int_lpc_1to3() 468 temp2 = shr(lsp_old[i], 1, pOverflow); in Int_lpc_1to3() 469 lsp[i] = add(temp, temp2, pOverflow); in Int_lpc_1to3() 483 temp2 = shr(lsp_old[i], 2, pOverflow); in Int_lpc_1to3() 485 lsp[i] = add(temp2, temp, pOverflow); in Int_lpc_1to3() 581 Word16 temp2; in Int_lpc_1to3_2() local 590 temp2 = shr(lsp_new[i], 2, pOverflow); in Int_lpc_1to3_2() 592 lsp[i] = add(temp2, temp, pOverflow); in Int_lpc_1to3_2() [all …]
|
D | vad1.cpp | 177 Word16 temp2; in first_filter_stage() local 196 temp2 = shr(in[4*i+1], 2, pOverflow); in first_filter_stage() 198 temp3 = sub(temp2, temp3, pOverflow); in first_filter_stage() 200 temp2 = mult(COEFF5_2, temp3, pOverflow); in first_filter_stage() 201 temp2 = add(data1, temp2, pOverflow); in first_filter_stage() 203 out[4*i+0] = add(temp1, temp2, pOverflow); in first_filter_stage() 204 out[4*i+1] = sub(temp1, temp2, pOverflow); in first_filter_stage() 207 temp2 = shr(in[4*i+2], 2, pOverflow); in first_filter_stage() 208 data0 = sub(temp2, temp1, pOverflow); in first_filter_stage() 214 temp2 = shr(in[4*i+3], 2, pOverflow); in first_filter_stage() [all …]
|
/frameworks/av/media/module/codecs/m4v_h263/enc/src/ |
D | me_utils.cpp | 223 ULong temp1, temp2; in PaddingEdge() local 233 temp2 = src[width-1]; /* top-right corner */ in PaddingEdge() 236 temp2 |= (temp2 << 8); in PaddingEdge() 237 temp2 |= (temp2 << 16); in PaddingEdge() 248 *((ULong*)(dst += width)) = temp2; in PaddingEdge() 249 *((ULong*)(dst + 4)) = temp2; in PaddingEdge() 250 *((ULong*)(dst + 8)) = temp2; in PaddingEdge() 251 *((ULong*)(dst + 12)) = temp2; in PaddingEdge() 269 temp2 = src[width-1]; in PaddingEdge() 272 temp2 |= (temp2 << 8); in PaddingEdge() [all …]
|
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; in EncGetPredOutside() local
|
/frameworks/native/opengl/tests/gralloc/ |
D | gralloc.cpp | 44 void* temp2 = malloc(size); in main() local 46 memset(temp2, 0, size); in main() 73 memcpy(temp, temp2, size); in main() 92 lamecpy(temp, temp2, size); in main()
|
/frameworks/av/media/module/codecs/amrwb/enc/src/ |
D | util.c | 57 Word32 temp1,temp2,num; in Copy() local 69 temp2 = *x++; in Copy() 71 *y++ = temp2; in Copy()
|
D | wb_vad.c | 87 Word16 temp0, temp1, temp2; in filter5() local 94 temp2 = add1(data[1], vo_mult(COEFF5_2, temp0)); in filter5() 97 *in0 = extract_h((vo_L_add(temp1, temp2) << 15)); in filter5() 98 *in1 = extract_h((vo_L_sub(temp1, temp2) << 15)); in filter5() 115 Word16 temp1, temp2; in filter3() local 118 temp2 = add1(*data, vo_mult(COEFF3, temp1)); in filter3() 121 *in1 = extract_h((vo_L_sub(*in0, temp2) << 15)); in filter3() 122 *in0 = extract_h((vo_L_add(*in0, temp2) << 15)); in filter3() 472 Word16 temp2; in vad_decision() local 511 temp2 = add1(SP_CH_MIN, vo_mult(SP_SLOPE, (ilog2_speech_level - SP_P1))); in vad_decision() [all …]
|
/frameworks/av/media/module/codecs/m4v_h263/dec/src/ |
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; in GetPredOutside() local
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_QPD_Process.cpp | 68 LVM_FLOAT temp, temp2; in LVPSA_QPD_Process_Float() local 108 temp2 = D0; in LVPSA_QPD_Process_Float() 110 accu = temp2 * Kp; in LVPSA_QPD_Process_Float() 116 temp2 = D0; in LVPSA_QPD_Process_Float()
|
/frameworks/av/media/libeffects/testlibs/ |
D | EffectReverb.c | 763 int32_t temp2; in Reverb_getParameter() local 845 temp2 = MULT_EG1_EG1(pReverb->m_nRoomLpfFbk, pReverb->m_nCosWT_5KHz) in Reverb_getParameter() 847 ALOGV("get REVERB_PARAM_ROOM_HF_LEVEL, 2 Cos a1 %d", temp2); in Reverb_getParameter() 848 temp = 32767 + temp - temp2; in Reverb_getParameter() 897 temp2 = MULT_EG1_EG1(pReverb->m_nRvbLpfFbk, pReverb->m_nCosWT_5KHz) in Reverb_getParameter() 899 temp = 32767 + temp - temp2; in Reverb_getParameter() 903 temp2 = (pReverb->m_nRvbLpfFwd << 15) / (32767 in Reverb_getParameter() 907 temp2 = Effects_Linear16ToMillibels(temp2); in Reverb_getParameter() 908 … ALOGV("get REVERB_PARAM_DECAY_HF_RATIO, gain 5KHz %d mB, gain DC %d mB", temp, temp2); in Reverb_getParameter() 912 temp = (int16_t) ((1000 * temp2) / temp); in Reverb_getParameter() [all …]
|