Home
last modified time | relevance | path

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

/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 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()
Dpvmp3_equalizer.cpp342 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()
Dpvmp3_dequantize_sample.cpp275 … 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()
Dpvmp3_dct_16.cpp319 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/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 …]
Dmotion_comp.cpp1476 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/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_QPD_Process.c79 LVM_INT32 temp,temp2; in LVPSA_QPD_Process() local
121 temp2 = (LVM_INT32)D0; in LVPSA_QPD_Process()
122 MUL32x32INTO32(temp2,Kp,accu,31); in LVPSA_QPD_Process()
129 temp2 = (LVM_INT32)D0; in LVPSA_QPD_Process()
199 LVM_FLOAT temp,temp2; in LVPSA_QPD_Process_Float() local
242 temp2 = D0; in LVPSA_QPD_Process_Float()
244 accu = temp2 * Kp; in LVPSA_QPD_Process_Float()
250 temp2 = D0; in LVPSA_QPD_Process_Float()
/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/amrwbenc/src/
Dutil.c57 Word32 temp1,temp2,num; in Copy() local
69 temp2 = *x++; in Copy()
71 *y++ = temp2; 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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Datomicops_internals_mips_gcc.h98 Atomic32 temp, temp2; in NoBarrier_AtomicIncrement() local
109 : "=&r" (temp), "=&r" (temp2), "=m" (*ptr) in NoBarrier_AtomicIncrement()
113 return temp2; in NoBarrier_AtomicIncrement()
230 Atomic64 temp, temp2; in NoBarrier_AtomicIncrement() local
241 : "=&r" (temp), "=&r" (temp2), "=m" (*ptr) in NoBarrier_AtomicIncrement()
245 return temp2; in NoBarrier_AtomicIncrement()
/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/testlibs/
DEffectReverb.c763 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 …]
/frameworks/base/startop/scripts/app_startup/
Danalyze_metrics.py295 temp2 = b_std*b_std/b_len
297 return np.sqrt(temp1 + temp2)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/third_party/jsoncpp/
Djsoncpp.cpp2889 int temp2 = allocated_; in swapPayload() local
2891 other.allocated_ = temp2 & 0x1; in swapPayload()