/frameworks/base/media/libstagefright/codecs/aacdec/ |
D | ps_fft_rx8.cpp | 173 Int32 temp2; in ps_fft_rx8() local 188 temp2 = *(pt_r2++); /* Real */ in ps_fft_rx8() 195 *(pt_Q++) = temp1 + temp2; /* Q(0) = v(0) + v(4) */ in ps_fft_rx8() 197 *(pt_Q++) = temp1 - temp2; /* Q(1) = v(0) - v(4) */ in ps_fft_rx8() 201 temp2 = *(pt_r2++); in ps_fft_rx8() 205 *(pt_Q++) = temp1 + temp2; /* Q(2) = v(1) + v(5) */ in ps_fft_rx8() 207 aux_r[0] = temp1 - temp2; /* aux[0] = v(1) - v(5) */ in ps_fft_rx8() 211 temp2 = *(pt_r2++); in ps_fft_rx8() 215 *(pt_Q++) = temp1 + temp2; /* Q(3) = v(2) + v(6) */ in ps_fft_rx8() 218 *(pt_Q++) = temp1 - temp2; in ps_fft_rx8() [all …]
|
D | fft_rx4_short.cpp | 222 Int32 temp2; in fft_rx4_short() local 267 temp2 = *(pData2); in fft_rx4_short() 269 temp2 >>= shift; in fft_rx4_short() 271 r1 = temp1 + temp2; in fft_rx4_short() 272 r2 = temp1 - temp2; in fft_rx4_short() 286 temp2 = *pData2; in fft_rx4_short() 288 temp2 >>= shift; in fft_rx4_short() 290 s1 = temp1 + temp2; in fft_rx4_short() 291 s2 = temp1 - temp2; in fft_rx4_short() 328 temp2 = *(pData2++); in fft_rx4_short() [all …]
|
D | fft_rx4_long.cpp | 218 Int32 temp2; in fft_rx4_long() local 245 temp2 = *pData2; in fft_rx4_long() 247 r1 = temp1 + temp2; in fft_rx4_long() 248 r2 = temp1 - temp2; in fft_rx4_long() 262 temp2 = *pData2; in fft_rx4_long() 264 s1 = temp1 + temp2; in fft_rx4_long() 266 s2 = temp1 - temp2; in fft_rx4_long() 299 temp2 = *pData2++; in fft_rx4_long() 301 r1 = temp1 + temp2; in fft_rx4_long() 302 r2 = temp1 - temp2; in fft_rx4_long() [all …]
|
D | ps_stereo_processing.cpp | 183 Int32 temp2; in ps_stereo_processing() local 201 temp2 = pms->deltaH12[group]; in ps_stereo_processing() 205 pms->H12[group] += temp2; in ps_stereo_processing() 209 temp2 = pms->deltaH22[group]; in ps_stereo_processing() 213 pms->H22[group] += temp2; in ps_stereo_processing() 229 temp2 = *(ptr_hybrRightReal) << 1; in ps_stereo_processing() 232 *(ptr_hybrLeftReal) = fxp_mac32_by_16(temp2, h21, temp3) << 1; in ps_stereo_processing() 235 *(ptr_hybrRightReal) = fxp_mac32_by_16(temp2, h22, temp3) << 1; in ps_stereo_processing() 242 temp2 = *(ptr_hybrRightImag) << 1; in ps_stereo_processing() 245 *(ptr_hybrLeftImag) = fxp_mac32_by_16(temp2, h21, temp3) << 1; in ps_stereo_processing() [all …]
|
D | imdct_fxp.cpp | 290 Int32 temp2; in imdct_fxp() local 357 temp2 = -cmplx_mul32_by_16(temp_re32, temp_im32, exp_jw); in imdct_fxp() 362 *(p_data_1++) = temp2; in imdct_fxp() 364 max |= (temp2 >> 31) ^ temp2; in imdct_fxp() 378 temp2 = -cmplx_mul32_by_16(temp_re32, temp_im32, exp_jw); in imdct_fxp() 385 *(p_data_2 + 3) = temp2; in imdct_fxp() 387 max |= (temp2 >> 31) ^ temp2; in imdct_fxp() 407 temp2 = -cmplx_mul32_by_16(temp_re32, temp_im32, exp_jw); in imdct_fxp() 412 *(p_data_1++) = temp2; in imdct_fxp() 415 max |= (temp2 >> 31) ^ temp2; in imdct_fxp() [all …]
|
D | mix_radix_fft.cpp | 197 Int32 temp2; in mix_radix_fft() local 226 temp2 = (*pData_4++); in mix_radix_fft() 230 diff1 = (temp1 - temp2) >> exp; in mix_radix_fft() 231 *pData_3++ = (temp1 + temp2) >> exp; in mix_radix_fft() 242 temp2 = (*pData_2++); in mix_radix_fft() 245 *pData_1++ = (temp1 + temp2) >> exp; in mix_radix_fft() 248 diff1 = (temp1 - temp2) >> exp ; in mix_radix_fft() 256 temp2 = (*pData_4++); in mix_radix_fft() 265 diff1 = (temp1 - temp2) >> (exp - 4); in mix_radix_fft() 266 *pData_3++ = (temp1 + temp2) >> exp; in mix_radix_fft() [all …]
|
D | synthesis_sub_band.cpp | 146 Int32 temp2; in synthesis_sub_band_LC() local 161 temp2 = *(pt_temp_x--); in synthesis_sub_band_LC() 166 *(pt_Sr_1++) = temp1 + temp2; in synthesis_sub_band_LC() 167 *(pt_temp_o++) = fxp_mul32_Q31((temp1 - temp2), temp3) << 1; in synthesis_sub_band_LC() 168 temp2 = *(pt_temp_x--); in synthesis_sub_band_LC() 175 *(pt_Sr_1++) = temp1 + temp2; in synthesis_sub_band_LC() 176 *(pt_temp_o++) = fxp_mul32_Q26((temp1 - temp2), temp3); in synthesis_sub_band_LC() 177 temp2 = *(pt_temp_x--); in synthesis_sub_band_LC() 197 temp2 = *(pt_temp_o--); in synthesis_sub_band_LC() 199 *(pt_Sr_1--) = temp1 + temp2; in synthesis_sub_band_LC() [all …]
|
D | ps_init_stereo_mixing.cpp | 237 Int32 temp2; in ps_init_stereo_mixing() local 327 temp2 = fxp_mul32_Q30(sin_beta, sin_alpha); in ps_init_stereo_mixing() 335 h11 = fxp_mul32_Q30(scaleL, (temp1 - temp2)); in ps_init_stereo_mixing() 336 h12 = fxp_mul32_Q30(scaleR, (temp1 + temp2)); in ps_init_stereo_mixing() 339 temp2 = fxp_mul32_Q30(cos_beta, sin_alpha); in ps_init_stereo_mixing() 346 h21 = fxp_mul32_Q30(scaleL, (temp1 + temp2)); in ps_init_stereo_mixing() 347 h22 = fxp_mul32_Q30(scaleR, (temp1 - temp2)); in ps_init_stereo_mixing() 432 temp2 = fxp_mul32_Q30(sin_beta, sin_alpha); in ps_init_stereo_mixing() 440 h11 = fxp_mul32_Q30(scaleL, (temp1 - temp2)); in ps_init_stereo_mixing() 441 h12 = fxp_mul32_Q30(scaleR, (temp1 + temp2)); in ps_init_stereo_mixing() [all …]
|
D | calc_auto_corr.cpp | 260 Int32 temp2; in calc_auto_corr() local 280 temp2 = imagBuf[0 ][bd] >> N; in calc_auto_corr() 298 accu2 = fxp_mac64_Q31(accu2, temp2, temp4); in calc_auto_corr() 299 accu3 = fxp_mac64_Q31(accu3, temp2, temp3); in calc_auto_corr() 302 accu4 = fxp_mac64_Q31(accu4, temp2, temp6); in calc_auto_corr() 303 accu5 = fxp_mac64_Q31(accu5, temp2, temp5); in calc_auto_corr() 309 temp4 = temp2; in calc_auto_corr() 311 temp2 = imagBuf[j][bd] >> N; in calc_auto_corr() 323 accu2 = fxp_mac64_Q31(accu2, temp2, temp4); in calc_auto_corr() 324 accu3 = fxp_mac64_Q31(accu3, temp2, temp3); in calc_auto_corr() [all …]
|
/frameworks/base/media/libstagefright/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/base/media/libstagefright/codecs/amrnb/dec/src/ |
D | int_lsf.cpp | 223 register 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()
|
/frameworks/base/media/libstagefright/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 …]
|
/frameworks/base/media/libstagefright/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/base/media/libstagefright/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 …]
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/ |
D | armVCM4P2_DecodeVLCZigzag_AC_unsafe_s.s | 72 temp2 RN 4 label 113 MOV temp2,#0 118 STM pDst!,{temp2,temp1,Last,LR} 120 STM pDst!,{temp2,temp1,Last,LR} 122 STM pDst!,{temp2,temp1,Last,LR} 124 STM pDst!,{temp2,temp1,Last,LR} 126 STM pDst!,{temp2,temp1,Last,LR} 128 STM pDst!,{temp2,temp1,Last,LR} 130 STM pDst!,{temp2,temp1,Last,LR} 131 STM pDst!,{temp2,temp1,Last,LR} [all …]
|
D | armVCM4P2_SetPredDir_s.s | 65 temp2 RN 14 label 81 SUBS temp2,blockDCTopLeft,blockDCTop 82 RSBLT temp2,temp2,#0 86 CMP temp1,temp2 87 MOV temp2,#OMX_VC_VERTICAL 89 STRLT temp2,[predDir] 91 MOV temp2,#OMX_VC_HORIZONTAL 93 STRGE temp2,[predDir]
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
D | armVCM4P2_DecodeVLCZigzag_AC_unsafe_s.s | 72 temp2 RN 4 label 113 MOV temp2,#0 118 STM pDst!,{temp2,temp1,Last,LR} 120 STM pDst!,{temp2,temp1,Last,LR} 122 STM pDst!,{temp2,temp1,Last,LR} 124 STM pDst!,{temp2,temp1,Last,LR} 126 STM pDst!,{temp2,temp1,Last,LR} 128 STM pDst!,{temp2,temp1,Last,LR} 130 STM pDst!,{temp2,temp1,Last,LR} 131 STM pDst!,{temp2,temp1,Last,LR} [all …]
|
D | armVCM4P2_SetPredDir_s.s | 65 temp2 RN 14 label 81 SUBS temp2,blockDCTopLeft,blockDCTop 82 RSBLT temp2,temp2,#0 86 CMP temp1,temp2 87 MOV temp2,#OMX_VC_VERTICAL 89 STRLT temp2,[predDir] 91 MOV temp2,#OMX_VC_HORIZONTAL 93 STRGE temp2,[predDir]
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
D | util.c | 56 Word32 temp1,temp2,num; in Copy() local 64 temp2 = *x++; in Copy() 67 *y++ = temp2; in Copy() 69 temp2 = *x++; in Copy()
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
D | omxVCM4P10_DequantTransformResidualFromPairAndAdd_s.s | 64 temp2 RN 3 label 122 SMULTB temp2,SrcDst02,rowLuma23 ;// pSrcDst[3] * (pVRow[2]<<Shift) 132 PKHBT SrcDst02,SrcDst02,temp2,LSL #16 ;// Pack the next two product values 133 SMULTT temp2,SrcDst12,rowLuma01 ;// pSrcDst[7] * (pVRow[1]<<Shift) 144 PKHBT SrcDst12,SrcDst12,temp2,LSL #16 ;// Pack the next two product values 145 SMULTB temp2,SrcDst22,rowLuma23 ;// pSrcDst[11] * (pVRow[2]<<Shift) 160 PKHBT SrcDst22,SrcDst22,temp2,LSL #16 ;// Pack the remaining product values 209 temp2 RN 3 label 265 SMULTB temp2,SrcDst02,rowLuma23 ;// pSrcDst[3] * (pVRow[2]<<Shift) 275 PKHBT SrcDst02,SrcDst02,temp2,LSL #16 ;// Pack the next two product values [all …]
|