Home
last modified time | relevance | path

Searched refs:temp2 (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Denc_lag3.cpp265 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 …]
Dg_code.cpp242 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/libstagefright/codecs/amrnb/dec/src/
Dint_lsf.cpp223 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()
Dpstfilt.cpp456 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()
Dpreemph.cpp247 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()
Ddec_gain.cpp201 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/libstagefright/codecs/mp3dec/src/
Dpvmp3_polyphase_filter_window.cpp139 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 …]
Dpvmp3_imdct_synth.cpp322 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()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dq_plsf_5.cpp385 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 …]
Dint_lpc.cpp444 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 …]
Dvad1.cpp177 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/libstagefright/codecs/m4v_h263/enc/src/
Dme_utils.cpp223 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/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DarmVCM4P2_DecodeVLCZigzag_AC_unsafe_s.s86 temp2 RN 4 label
127 MOV temp2,#0
132 STM pDst!,{temp2,temp1,Last,LR}
134 STM pDst!,{temp2,temp1,Last,LR}
136 STM pDst!,{temp2,temp1,Last,LR}
138 STM pDst!,{temp2,temp1,Last,LR}
140 STM pDst!,{temp2,temp1,Last,LR}
142 STM pDst!,{temp2,temp1,Last,LR}
144 STM pDst!,{temp2,temp1,Last,LR}
145 STM pDst!,{temp2,temp1,Last,LR}
[all …]
DarmVCM4P2_SetPredDir_s.s79 temp2 RN 14 label
95 SUBS temp2,blockDCTopLeft,blockDCTop
96 RSBLT temp2,temp2,#0
100 CMP temp1,temp2
101 MOV temp2,#OMX_VC_VERTICAL
103 STRLT temp2,[predDir]
105 MOV temp2,#OMX_VC_HORIZONTAL
107 STRGE temp2,[predDir]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
DarmVCM4P2_DecodeVLCZigzag_AC_unsafe_s.s86 temp2 RN 4 label
127 MOV temp2,#0
132 STM pDst!,{temp2,temp1,Last,LR}
134 STM pDst!,{temp2,temp1,Last,LR}
136 STM pDst!,{temp2,temp1,Last,LR}
138 STM pDst!,{temp2,temp1,Last,LR}
140 STM pDst!,{temp2,temp1,Last,LR}
142 STM pDst!,{temp2,temp1,Last,LR}
144 STM pDst!,{temp2,temp1,Last,LR}
145 STM pDst!,{temp2,temp1,Last,LR}
[all …]
DarmVCM4P2_SetPredDir_s.s79 temp2 RN 14 label
95 SUBS temp2,blockDCTopLeft,blockDCTop
96 RSBLT temp2,temp2,#0
100 CMP temp1,temp2
101 MOV temp2,#OMX_VC_VERTICAL
103 STRLT temp2,[predDir]
105 MOV temp2,#OMX_VC_HORIZONTAL
107 STRGE temp2,[predDir]
DomxVCM4P2_PredictReconCoefIntra_s.s109 temp2 RN 9 label
232 LDR temp2,[predCoeffTable,curQP] ;// temp=0x1ffff/curQP
233 VDUP qCoeffTab,temp2
295 ADD temp2,pSrcDst,#32
296 …VLD4 {dtemp4,dtemp5,dtemp6,dtemp7},[temp2] ;// Loading next 16 coefficients In…
304 VST4 {dtemp4,dtemp5,dtemp6,dtemp7},[temp2]!
306 MOV temp1,temp2
307 …VLD4 {dtemp0,dtemp1,dtemp2,dtemp3},[temp2]! ;// Loading coefficients Interleav…
309 VLD4 {dtemp4,dtemp5,dtemp6,dtemp7},[temp2]
318 VST4 {dtemp4,dtemp5,dtemp6,dtemp7},[temp2]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dutil.c56 Word32 temp1,temp2,num; in Copy() local
64 temp2 = *x++; in Copy()
67 *y++ = temp2; in Copy()
69 temp2 = *x++; in Copy()
Dwb_vad.c87 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/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
DomxVCM4P10_DequantTransformResidualFromPairAndAdd_s.s78 temp2 RN 3 label
136 SMULTB temp2,SrcDst02,rowLuma23 ;// pSrcDst[3] * (pVRow[2]<<Shift)
146 PKHBT SrcDst02,SrcDst02,temp2,LSL #16 ;// Pack the next two product values
147 SMULTT temp2,SrcDst12,rowLuma01 ;// pSrcDst[7] * (pVRow[1]<<Shift)
158 PKHBT SrcDst12,SrcDst12,temp2,LSL #16 ;// Pack the next two product values
159 SMULTB temp2,SrcDst22,rowLuma23 ;// pSrcDst[11] * (pVRow[2]<<Shift)
174 PKHBT SrcDst22,SrcDst22,temp2,LSL #16 ;// Pack the remaining product values
223 temp2 RN 3 label
279 SMULTB temp2,SrcDst02,rowLuma23 ;// pSrcDst[3] * (pVRow[2]<<Shift)
289 PKHBT SrcDst02,SrcDst02,temp2,LSL #16 ;// Pack the next two product values
[all …]
DomxVCM4P10_TransformDequantLumaDCFromPair_s.s138 temp2 RN 11 label
367 SMLATB temp2, colOp00, Scale, Round ;// Temp2 = T(c0w0) * Scale + Round
372 PKHBT out00, temp1, temp2, LSL #14 ;// c0w0 = | Temp2 | Temp1 |
379 SMLATB temp2, colOp10, Scale, Round ;// Temp2 = T(c0w0) * Scale + Round
384 PKHBT out10, temp1, temp2, LSL #14 ;// c0w0 = | Temp2 | Temp1 |
390 SMLATB temp2, colOp20, Scale, Round ;// Temp2 = T(c0w0) * Scale + Round
395 PKHBT out20, temp1, temp2, LSL #14 ;// c0w0 = | Temp2 | Temp1 |
401 SMLATB temp2, colOp30, Scale, Round ;// Temp2 = T(c0w0) * Scale + Round
407 PKHBT out30, temp1, temp2, LSL #14 ;// c0w0 = | Temp2 | Temp1 |
DomxVCM4P10_PredictIntra_16x16_s.s67 temp2 RN 12 label
465 USAT16 temp2, #13, p3p1
469 AND temp2, r0x00FF00FF, temp2, ASR #5
471 ORR temp1, temp1, temp2, LSL #8
474 USAT16 temp2, #13, p7p5
478 AND temp2, r0x00FF00FF, temp2, ASR #5
480 ORR temp1, temp1, temp2, LSL #8
483 USAT16 temp2, #13, p11p9
487 AND temp2, r0x00FF00FF, temp2, ASR #5
489 ORR temp1, temp1, temp2, LSL #8
[all …]
/frameworks/native/opengl/tests/gralloc/
Dgralloc.cpp44 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/libstagefright/codecs/m4v_h263/dec/src/
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; in GetPredOutside() local
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_QPD_Process.c74 LVM_INT32 temp,temp2; in LVPSA_QPD_Process() local
116 temp2 = (LVM_INT32)D0; in LVPSA_QPD_Process()
117 MUL32x32INTO32(temp2,Kp,accu,31); in LVPSA_QPD_Process()
124 temp2 = (LVM_INT32)D0; in LVPSA_QPD_Process()

12