Searched defs:tmp2 (Results 1 - 25 of 54) sorted by path

123

/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c350 Word32 tmp, tmp2; local
353 tmp2 = -x;
354 iPart = tmp2 / y;
355 fPart = tmp2 - iPart*y;
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c547 Word32 tmp, tmp2; local
556 tmp2 = sfbEnergy[sfb] - 2;
557 if( tmp2 > 0) {
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgmed_n.cpp134 Word16 tmp2[NMAX];
138 tmp2[i] = ind[i];
146 if (sub (tmp2[j], max) >= 0)
148 max = tmp2[j];
152 tmp2[ix] = -32768;
192 Word16 tmp2[NMAX]; local
196 *(tmp2 + i) = *(ind + i);
204 if (*(tmp2 + j) >= max)
206 max = *(tmp2 + j);
210 *(tmp2
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dc_g_aver.cpp286 Word16 tmp[M], tmp1, tmp2, shift1, shift2, shift;
307 tmp2 = shl(lspAver[i], shift2); // Q15+Qm
308 tmp[i] = div_s(tmp1, tmp2); // Q15+(Q15+Qn)-(Q15+Qm)
487 Word16 tmp2; local
521 tmp2 = shl(*(lspAver + i), shift2, pOverflow); /* Q15+Qm */
522 tmp[i] = div_s(tmp1, tmp2); /* Q15+(Q15+Qn)-(Q15+Qm) */
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcalc_en.cpp286 Word16 tmp2; /* temporal storage */ local
307 tmp2 = exc[i];
310 s2 = amrnb_fxp_mac_16_by_16bb((Word32) tmp2, (Word32) tmp2, s2); /* Compute ltp excitation energy */
311 s3 = amrnb_fxp_mac_16_by_16bb((Word32) tmp2, (Word32) code[i], s3);/* Compute scalar product */
314 L_temp = L_mult(tmp2, gain_pit, pOverflow);
316 tmp2 = sub(tmp1, pv_round(L_temp, pOverflow), pOverflow);
318 s4 = L_mac(s4, tmp2, tmp2, pOverflow);
H A Dcor_h.cpp282 Word16 tmp2; local
398 tmp2 = ((Word32) * (p_sign1) * *(p_sign2--)) >> 15;
401 *rr2 = ((Word32) tmp1 * tmp2) >> 15;
416 tmp2 = ((Word32) * (p_sign1) * *(p_sign2)) >> 15;
417 *rr1 = ((Word32) tmp1 * tmp2) >> 15;
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dband_pass_6k_7k.cpp194 int16 tmp2 = x[(i<<2)+j+1]; local
198 L_tmp2 = fxp_mac_16by16(tmp2, fir_6k_7k[j ], L_tmp2);
199 L_tmp1 = fxp_mac_16by16(tmp2, fir_6k_7k[j+1], L_tmp1);
205 tmp2 = x[(i<<2)+j+4];
211 L_tmp2 = fxp_mac_16by16(tmp2, fir_6k_7k[j+3], L_tmp2);
212 L_tmp4 = fxp_mac_16by16(tmp2, fir_6k_7k[j+1], L_tmp4);
213 L_tmp3 = fxp_mac_16by16(tmp2, fir_6k_7k[j+2], L_tmp3);
216 tmp2 = x[(i<<2)+j+6];
220 L_tmp4 = fxp_mac_16by16(tmp2, fir_6k_7k[j+3], L_tmp4);
H A Ddec_gain2_amr_wb.cpp189 int16 tmp2; local
361 tmp2 = pbuf2[1];
366 pbuf2[i - 1] = tmp2;
369 tmp2 = pbuf2[i];
H A Disf_extrapolation.cpp122 int16 coeff, mean, tmp, tmp2, tmp3; local
161 tmp2 = sub_int16(IsfDiff[i], mean);
163 L_tmp = mul_16by16_to_int32(tmp2, tmp3);
171 tmp2 = sub_int16(IsfDiff[i], mean);
173 L_tmp = mul_16by16_to_int32(tmp2, tmp3);
181 tmp2 = sub_int16(IsfDiff[i], mean);
183 L_tmp = mul_16by16_to_int32(tmp2, tmp3);
224 tmp2 = sub_int16(HfIsf[M16k - 2], HfIsf[M - 2]);
226 exp2 = norm_s(tmp2);
230 tmp2 <<
[all...]
H A Dlagconceal.cpp149 int16 i, tmp, tmp2; local
254 tmp2 = *T0 - lastLag;
260 else if ((lastGain > 8192) && (secLastGain > 8192) && ((tmp2 + 10) > 0 && tmp2 < 10))
H A Dlow_pass_filt_7k.cpp174 int16 tmp2 = x[(i<<2)+j+1]; local
178 L_tmp2 = fxp_mac_16by16(tmp2, fir_7k[j ], L_tmp2);
179 L_tmp1 = fxp_mac_16by16(tmp2, fir_7k[j+1], L_tmp1);
185 tmp2 = x[(i<<2)+j+4];
191 L_tmp2 = fxp_mac_16by16(tmp2, fir_7k[j+3], L_tmp2);
192 L_tmp4 = fxp_mac_16by16(tmp2, fir_7k[j+1], L_tmp4);
193 L_tmp3 = fxp_mac_16by16(tmp2, fir_7k[j+2], L_tmp3);
196 tmp2 = x[(i<<2)+j+6];
200 L_tmp4 = fxp_mac_16by16(tmp2, fir_7k[j+3], L_tmp4);
H A Doversamp_12k8_to_16k.cpp284 int16 tmp1, tmp2, tmp3, tmp4; local
289 tmp2 = *(pt_x++);
293 L_sum = fxp_mac_16by16(tmp2, *(pt_fir++), L_sum);
297 tmp2 = *(pt_x++);
301 L_sum = fxp_mac_16by16(tmp2, *(pt_fir++), L_sum);
305 tmp2 = *(pt_x++);
309 L_sum = fxp_mac_16by16(tmp2, *(pt_fir++), L_sum);
313 tmp2 = *(pt_x++);
317 L_sum = fxp_mac_16by16(tmp2, *(pt_fir++), L_sum);
321 tmp2
[all...]
H A Dpred_lt4.cpp201 int16 tmp2 = pt_exc[i+1]; local
206 L_sum2 = fxp_mac_16by16(tmp2, pt_inter4_2[i ], L_sum2);
207 L_sum1 = fxp_mac_16by16(tmp2, pt_inter4_2[i+1], L_sum1);
213 tmp2 = pt_exc[i+4];
219 L_sum4 = fxp_mac_16by16(tmp2, pt_inter4_2[i+1], L_sum4);
220 L_sum2 = fxp_mac_16by16(tmp2, pt_inter4_2[i+3], L_sum2);
221 L_sum3 = fxp_mac_16by16(tmp2, pt_inter4_2[i+2], L_sum3);
224 tmp2 = pt_exc[i+6];
228 L_sum4 = fxp_mac_16by16(tmp2, pt_inter4_2[i+3], L_sum4);
250 int16 tmp2 local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dq_pulse.c259 Word32 i, j, k, index, tmp2; local
283 tmp2 = L_shl(quant_3p_3N1(posB[0], posB[1], posB[2], n_1), tmp);
284 index = vo_L_add(index, tmp2);
291 tmp2 = L_shl(quant_3p_3N1(posB[0], posB[1], posB[2], n_1), tmp);
292 index = vo_L_add(index, tmp2);
299 tmp2 = L_shl(quant_3p_3N1(posB[0], posB[1], posB[2], n_1), tmp);
300 index = vo_L_add(index, tmp2);
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dsad.cpp97 int saddata[16], tmp, tmp2; /* used when collecting flag (global) is on */ local
115 tmp2 = (cur_word >> 24) & 0xFF;
116 sad = SUB_SAD(sad, tmp, tmp2);
118 tmp2 = (cur_word >> 16) & 0xFF;
119 sad = SUB_SAD(sad, tmp, tmp2);
121 tmp2 = (cur_word >> 8) & 0xFF;
122 sad = SUB_SAD(sad, tmp, tmp2);
125 tmp2 = (cur_word & 0xFF);
126 sad = SUB_SAD(sad, tmp, tmp2);
130 tmp2
201 int tmp, tmp2; local
[all...]
H A Dsad_halfpel.cpp189 int difmad, tmp, tmp2; local
213 tmp2 = p1[13] + p2[13];
214 tmp += tmp2;
215 tmp2 = (cur_word >> 24) & 0xFF;
217 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);;
219 tmp2 = p1[9] + p2[9];
220 tmp += tmp2;
221 tmp2 = (cur_word >> 16) & 0xFF;
223 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);;
225 tmp2
271 int difmad, tmp, tmp2; local
352 int difmad, tmp, tmp2; local
427 int sad = 0, tmp, tmp2; local
495 int sad = 0, tmp, tmp2; local
561 int sad = 0, tmp, tmp2; local
[all...]
H A Dsad_halfpel_inline.h31 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
33 tmp = (tmp2 >> 1) - tmp;
40 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
42 tmp = (tmp >> 2) - tmp2;
51 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
55 rsbs tmp, tmp, tmp2, asr #1 ; local
63 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
67 rsbs tmp, tmp2, tmp, asr #2 ; local
77 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
84 : "r"(tmp2)
90 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
[all...]
H A Dsad_inline.h30 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
32 tmp = tmp - tmp2;
174 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
178 rsbs tmp, tmp, tmp2 ; local
343 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
350 : "r"(tmp2)
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddct.cpp47 Int tmp, tmp2; local
60 tmp2 = *((Int*) pred); /* prediction 4 pixels */
61 k0 = tmp2 & 0xFF;
64 k1 = (tmp2 >> 8) & 0xFF;
67 k2 = (tmp2 >> 16) & 0xFF;
70 k3 = (tmp2 >> 24) & 0xFF;
74 tmp2 = *((Int*)(pred + 4));
75 k4 = tmp2 & 0xFF;
78 k5 = (tmp2 >> 8) & 0xFF;
81 k6 = (tmp2 >> 1
275 Int tmp, tmp2; local
481 Int tmp, tmp2; local
[all...]
H A Dfastidct.cpp1861 Int tmp, tmp2; local
1950 tmp2 = tmp4 & 0xFF;
1951 tmp2 += i;
1952 if ((UInt)tmp2 > mask) tmp2 = mask & (~(tmp2 >> 31));
1956 tmp2 |= (tmp << 8);
1960 tmp2 |= (tmp << 16);
1964 tmp2 |= (tmp << 24);
1965 *((ULong*)rec) = tmp2;
[all...]
H A Dme_utils.cpp318 Int tmp, tmp2, mask = 0x00FF00FF; local
326 tmp2 = tmp & mask;
328 tmp += tmp2;
331 tmp2 = tmp & mask;
333 tmp += tmp2;
336 tmp2 = tmp & mask;
338 tmp += tmp2;
342 tmp2 = tmp & mask;
344 tmp += tmp2;
348 tmp2
[all...]
H A Dsad.cpp113 Int saddata[16], tmp, tmp2; /* used when collecting flag (global) is on */ local
128 tmp2 = (cur_word >> 24) & 0xFF;
129 sad = SUB_SAD(sad, tmp, tmp2);
131 tmp2 = (cur_word >> 16) & 0xFF;
132 sad = SUB_SAD(sad, tmp, tmp2);
134 tmp2 = (cur_word >> 8) & 0xFF;
135 sad = SUB_SAD(sad, tmp, tmp2);
138 tmp2 = (cur_word & 0xFF);
139 sad = SUB_SAD(sad, tmp, tmp2);
143 tmp2
214 Int tmp, tmp2; local
321 Int tmp, tmp2, tmp3, mask = 0xFF; local
[all...]
H A Dsad_halfpel.cpp343 Int difmad, tmp, tmp2; local
364 tmp2 = p1[13] + p2[13];
365 tmp += tmp2;
366 tmp2 = (cur_word >> 24) & 0xFF;
368 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);;
370 tmp2 = p1[9] + p2[9];
371 tmp += tmp2;
372 tmp2 = (cur_word >> 16) & 0xFF;
374 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);;
376 tmp2
422 Int difmad, tmp, tmp2; local
500 Int difmad, tmp, tmp2; local
572 Int sad = 0, tmp, tmp2; local
640 Int sad = 0, tmp, tmp2; local
706 Int sad = 0, tmp, tmp2; local
[all...]
H A Dsad_halfpel_inline.h34 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
36 tmp = (tmp2 >> 1) - tmp;
43 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
45 tmp = (tmp >> 2) - tmp2;
54 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
58 rsbs tmp, tmp, tmp2, asr #1 ; local
66 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
70 rsbs tmp, tmp2, tmp, asr #2 ; local
81 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
87 register int32 uu = tmp2;
101 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
[all...]
H A Dsad_inline.h33 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
35 tmp = tmp - tmp2;
177 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
181 rsbs tmp, tmp, tmp2 ; local
346 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
352 register int32 uu = tmp2;

Completed in 315 milliseconds

123