Home
last modified time | relevance | path

Searched refs:temp1 (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dmb_utils.cpp27 int32 *temp0, *temp1; in PutSKIPPED_MB() local
35 temp1 = (int32 *)comp; in PutSKIPPED_MB()
37 temp1[0] = temp0[0]; in PutSKIPPED_MB()
38 temp1[1] = temp0[1]; in PutSKIPPED_MB()
39 temp1[2] = temp0[2]; in PutSKIPPED_MB()
40 temp1[3] = temp0[3]; in PutSKIPPED_MB()
46 temp1 = (int32 *)comp; in PutSKIPPED_MB()
48 temp1[0] = temp0[0]; in PutSKIPPED_MB()
49 temp1[1] = temp0[1]; in PutSKIPPED_MB()
50 temp1[2] = temp0[2]; in PutSKIPPED_MB()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Denc_lag3.cpp264 Word16 temp1; in Enc_lag3() local
273 temp1 = sub(T0, 85, pOverflow); in Enc_lag3()
274 if (temp1 <= 0) in Enc_lag3()
307 temp1 = sub(tmp_lag, T0_min, pOverflow); in Enc_lag3()
308 temp2 = sub(temp1, 5, pOverflow); in Enc_lag3()
311 temp1 = sub(T0_max, tmp_lag, pOverflow); in Enc_lag3()
312 temp2 = sub(temp1, 4, pOverflow); in Enc_lag3()
316 temp1 = add(T0, T0, pOverflow); in Enc_lag3()
317 temp2 = add(temp1, T0, pOverflow); in Enc_lag3()
321 temp1 = add(i, i, pOverflow); in Enc_lag3()
[all …]
Dinter_36.cpp208 Word16 temp1; in Interpol_3or6() local
227 temp1 = UP_SAMP_MAX - frac; in Interpol_3or6()
228 pC2 = &inter_6[temp1]; in Interpol_3or6()
Ds10_8pf.cpp580 Word16 temp1[2*L_CODE]; in search_10and8i40() local
637 p_temp1 = temp1; in search_10and8i40()
668 p_temp1 = temp1; in search_10and8i40()
702 p_temp1 = temp1; in search_10and8i40()
744 p_temp1 = temp1; in search_10and8i40()
778 p_temp1 = temp1; in search_10and8i40()
829 p_temp1 = temp1; in search_10and8i40()
869 p_temp1 = temp1; in search_10and8i40()
926 p_temp1 = temp1; in search_10and8i40()
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DFrom2iToMS_16x16.c33 LVM_INT32 temp1,left,right; in From2iToMS_16x16() local
44 temp1 = (left+right)>>1; in From2iToMS_16x16()
45 *dstM = (LVM_INT16)temp1; in From2iToMS_16x16()
49 temp1 = (left-right)>>1; in From2iToMS_16x16()
50 *dstS = (LVM_INT16)temp1; in From2iToMS_16x16()
62 LVM_FLOAT temp1,left,right; in From2iToMS_Float() local
73 temp1 = (left + right) / 2.0f; in From2iToMS_Float()
74 *dstM = (LVM_FLOAT)temp1; in From2iToMS_Float()
78 temp1 = (left - right) / 2.0f; in From2iToMS_Float()
79 *dstS = (LVM_FLOAT)temp1; in From2iToMS_Float()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dint_lsf.cpp222 Word16 temp1; in Int_lsf() local
231 temp1 = ~(~(*(lsf_old + i)) >> 2); in Int_lsf()
235 temp1 = *(lsf_old + i) >> 2; in Int_lsf()
245 *(lsf_out + i) = add((Word16)(*(lsf_old + i) - temp1), in Int_lsf()
257 temp1 = ~(~(*(lsf_old + i)) >> 1); in Int_lsf()
261 temp1 = *(lsf_old + i) >> 1; in Int_lsf()
272 temp1, in Int_lsf()
284 temp1 = ~(~(*(lsf_old + i)) >> 2); in Int_lsf()
288 temp1 = *(lsf_old + i) >> 2; in Int_lsf()
298 *(lsf_out + i) = add((Word16)temp1, in Int_lsf()
Ddec_gain.cpp200 Word16 temp1; in Dec_gain() local
241 temp1 = (Word16) L_deposit_l(g_code); in Dec_gain()
242 Log2(temp1, &exp, &frac, pOverflow); in Dec_gain()
245 temp1 = shr_r(frac, 5, pOverflow); in Dec_gain()
247 qua_ener_MR122 = add(temp1, temp2, pOverflow); in Dec_gain()
289 temp1 = sub(10, exp, pOverflow); in Dec_gain()
290 L_tmp = L_shr(L_tmp, temp1, pOverflow); in Dec_gain()
Dpstfilt.cpp455 Word16 temp1; in Post_Filter() local
518 temp1 = (Word16)(L_tmp >> 16); in Post_Filter()
556 temp2 = div_s(temp2, temp1); in Post_Filter()
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_polyphase_filter_window.cpp137 int32 temp1 = pt_1[ 0]; in pvmp3_polyphase_filter_window() local
142 sum1 = fxp_mac32_Q32(sum1, temp1, winPtr[ 0]); in pvmp3_polyphase_filter_window()
144 sum2 = fxp_mac32_Q32(sum2, temp1, winPtr[ 1]); in pvmp3_polyphase_filter_window()
151 temp1 = pt_1[ SUBBANDS_NUMBER* 2]; in pvmp3_polyphase_filter_window()
156 sum1 = fxp_mac32_Q32(sum1, temp1, winPtr[ 4]); in pvmp3_polyphase_filter_window()
158 sum2 = fxp_mac32_Q32(sum2, temp1, winPtr[ 5]); in pvmp3_polyphase_filter_window()
165 temp1 = pt_1[ SUBBANDS_NUMBER* 4 ]; in pvmp3_polyphase_filter_window()
170 sum1 = fxp_mac32_Q32(sum1, temp1, winPtr[ 8]); in pvmp3_polyphase_filter_window()
172 sum2 = fxp_mac32_Q32(sum2, temp1, winPtr[ 9]); in pvmp3_polyphase_filter_window()
179 temp1 = pt_1[ SUBBANDS_NUMBER*6 ]; in pvmp3_polyphase_filter_window()
[all …]
Dpvmp3_imdct_synth.cpp321 int32 temp1 = out[slot ]; in pvmp3_imdct_synth() local
324 out[slot ] = -temp1; in pvmp3_imdct_synth()
342 int32 temp1 = history[slot ]; in pvmp3_imdct_synth() local
345 out[slot ] = temp1; in pvmp3_imdct_synth()
349 temp1 = history[slot+3]; in pvmp3_imdct_synth()
352 out[slot+3] = -temp1; in pvmp3_imdct_synth()
361 int32 temp1 = history[slot ]; in pvmp3_imdct_synth() local
364 out[slot ] = temp1; in pvmp3_imdct_synth()
Dpvmp3_equalizer.cpp341 int32 temp1 = (pt_work_buff[ i ]); in pvmp3_equalizer() local
345 *(inData++) = temp1; in pvmp3_equalizer()
356 int32 temp1 = (pt_work_buff[ i ]); in pvmp3_equalizer() local
360 *(inData++) = temp1; in pvmp3_equalizer()
381 int32 temp1 = (pt_work_buff[ i ]); in pvmp3_equalizer() local
385 *(inData++) = fxp_mul32_Q32(temp1 << 1, *(pt_equalizer++)); in pvmp3_equalizer()
398 int32 temp1 = (pt_work_buff[ i ]); in pvmp3_equalizer() local
402 *(inData++) = fxp_mul32_Q32(temp1 << 1, *(pt_equalizer++)); in pvmp3_equalizer()
Dpvmp3_dct_16.cpp318 int32 temp1; in pvmp3_merge_in_place_N32() local
324 temp1 = vec[12]; in pvmp3_merge_in_place_N32()
355 vec[24] = temp1; in pvmp3_merge_in_place_N32()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dq_plsf_5.cpp384 Word16 temp1; in Vq_subvec_s() local
421 temp1 = lsf_r1_0 - temp; in Vq_subvec_s()
423 temp1 = ((Word32)wf1_0 * temp1) >> 15; in Vq_subvec_s()
425 dist1 = ((Word32)temp1 * temp1); in Vq_subvec_s()
429 temp1 = lsf_r1_1 - temp; in Vq_subvec_s()
431 temp1 = ((Word32)wf1_1 * temp1) >> 15; in Vq_subvec_s()
433 dist1 += ((Word32)temp1 * temp1); in Vq_subvec_s()
443 temp1 = lsf_r2_0 - temp; in Vq_subvec_s()
445 temp1 = ((Word32)wf2_0 * temp1) >> 15; in Vq_subvec_s()
447 dist1 += ((Word32)temp1 * temp1); in Vq_subvec_s()
[all …]
Dvad1.cpp176 Word16 temp1; in first_filter_stage() local
189 temp1 = shr(in[4*i+0], 2, pOverflow); in first_filter_stage()
190 temp0 = sub(temp1, temp0, pOverflow); in first_filter_stage()
192 temp1 = mult(COEFF5_1, temp0, pOverflow); in first_filter_stage()
193 temp1 = add(data0, temp1, 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()
206 temp1 = mult(COEFF5_1, temp0, pOverflow); in first_filter_stage()
208 data0 = sub(temp2, temp1, pOverflow); in first_filter_stage()
210 temp1 = mult(COEFF5_1, data0, pOverflow); in first_filter_stage()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dme_utils.cpp223 ULong temp1, temp2; in PaddingEdge() local
232 temp1 = *src; /* top-left corner */ in PaddingEdge()
234 temp1 |= (temp1 << 8); in PaddingEdge()
235 temp1 |= (temp1 << 16); in PaddingEdge()
241 *((ULong*)(dst - 16)) = temp1; in PaddingEdge()
242 *((ULong*)(dst - 12)) = temp1; in PaddingEdge()
243 *((ULong*)(dst - 8)) = temp1; in PaddingEdge()
244 *((ULong*)(dst - 4)) = temp1; in PaddingEdge()
268 temp1 = *src; in PaddingEdge()
270 temp1 |= (temp1 << 8); in PaddingEdge()
[all …]
Dsad_halfpel_inline.h84 register int32 temp1;
93 "=&r"(temp1)
104 register int32 temp1;
113 "=&r"(temp1)
Dfastquant_inline.h452 register int32 temp1; in coeff_quant() local
461 "=&r"(temp1) in coeff_quant()
486 register int32 temp1; in coeff_dequant() local
501 "=&r"(temp1) in coeff_dequant()
570 register int32 temp1; in coeff_dequant_mpeg() local
588 "=&r"(temp1) in coeff_dequant_mpeg()
601 register int32 temp1; in coeff_dequant_mpeg_intra() local
613 "=&r"(temp1) in coeff_dequant_mpeg_intra()
Dsad_inline.h349 register int32 temp1;
358 "=&r"(temp1)
368 register int32 temp1;
382 "=&r"(temp1)
387 return temp1;
393 register int32 temp1;
406 "=&r"(temp1)
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dutil.c57 Word32 temp1,temp2,num; in Copy() local
63 temp1 = *x++; in Copy()
64 *y++ = temp1; in Copy()
68 temp1 = *x++; in Copy()
70 *y++ = temp1; in Copy()
Dwb_vad.c87 Word16 temp0, temp1, temp2; in filter5() local
90 temp1 = add1(data[0], vo_mult(COEFF5_1, 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
117 temp1 = vo_sub(*in1, vo_mult(COEFF3, *data)); in filter3()
118 temp2 = add1(*data, vo_mult(COEFF3, temp1)); in filter3()
119 *data = temp1; in filter3()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Ddtx_decoder_amr_wb.cpp926 int16 temp, temp1, i, dither_fac, rand_dith; in CN_dithering() local
965 temp1 = sub_int16(temp, isf[i - 1]); in CN_dithering()
968 if (temp1 < ISF_DITH_GAP) in CN_dithering()
/frameworks/base/startop/scripts/app_startup/
Danalyze_metrics.py294 temp1 = a_std*a_std/a_len
297 return np.sqrt(temp1 + temp2)