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

123

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
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...]
/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/amrwb/src/
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 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 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 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/m4v_h263/enc/src/
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...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_dct_6.cpp119 Int32 tmp2; local
131 tmp2 = vec[3] + vec[2];
134 vec[0] = tmp0 + tmp2 ;
135 vec[2] = fxp_mul32_Q30(tmp0 - tmp2, cos_pi_6);
H A Dpvmp3_mdct_6.cpp127 int32 tmp2; local
137 tmp2 = *(pt_vec++);
140 *(pt_vec_o++) = fxp_mul32_Q29(tmp2, *(pt_cos++));
H A Dpvmp3_reorder.cpp156 int32 tmp2 = xr[src_line+(sfb_lines)]; local
160 Scratch_mem[freq+1] = tmp2;
177 int32 tmp2 = xr[src_line+(sfb_lines)]; local
181 Scratch_mem[freq+1] = tmp2;
H A Dpvmp3_mdct_18.cpp137 int32 tmp2; local
171 tmp2 = vec[10]; // vec[10]
177 vec[ 1] = vec[ 9] - tmp2; // vec[9] + vec[10]
178 vec[ 3] = vec[11] - tmp2;
189 tmp2 = vec[0];
200 history[i ] = -(tmp2 + tmp1);
201 tmp2 = tmp1;
210 history[6] = -(tmp2 + tmp1);
221 tmp2 = history[16];
226 vec[16] = fxp_mac32_Q32(tmp2, ve
[all...]
H A Dpvmp3_seek_synch.cpp213 uint16 tmp2 = *(pElem); local
216 val |= (tmp2 >> 5);
H A Dpvmp3_dct_9.cpp129 int32 tmp2 = vec[6] + vec[2]; local
134 vec[0] = (tmp0 + tmp2 + tmp3) + (tmp1 + vec[4]);
135 vec[6] = ((tmp0 + tmp2 + tmp3) >> 1) - (tmp1 + vec[4]);
142 vec[2] = fxp_mac32_Q32(vec[2], tmp2 << 1, cos_5pi_9);
143 vec[4] = fxp_mac32_Q32(vec[4], tmp2 << 1, cos_8pi_9);
144 vec[8] = fxp_mac32_Q32(vec[8], tmp2 << 1, cos_2pi_9);
H A Dpvmp3_get_scale_factors.cpp200 int32 tmp2 = tmp1 * tmp4; local
201 uint32 tmp3 = getNbits(pMainData, tmp2);
203 for (; tmp2 > 0; tmp2 -= tmp1)
205 *(ptr++) = (tmp3 << (32 - tmp2)) >> tmp4;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_mid_hor.s45 tmp2 RN 9 label
94 SMULTB tmp2, x_2_0, mult_20_m5
99 SMLAD tmp2, x_3_1, mult_20_01, tmp2
105 SMLADX tmp2, x_6_4, mult_20_01, tmp2
110 SMLABB tmp2, x_7_5, mult_20_m5, tmp2
117 STR tmp2, [mb], #4
125 SMULTB tmp2, x_6_
[all...]
H A Dh264bsd_interpolate_hor_half.s56 tmp2 RN 8 label
103 ADD tmp2, y0, partH ;// (y0+partHeight)
105 CMP tmp2, height
133 MLA tmp2, width, y0, x0 ;// y0*width+x0
134 ADD ref, ref, tmp2 ;// ref += y0*width+x0
147 ADD tmp2, partH, partW, LSL #4
148 ADD count, count, tmp2, LSL #16
170 SMLATB tmp2, x_2_0, mult_20_m5, plus16
175 SMLAD tmp2, x_3_1, mult_20_01, tmp2
[all...]
H A Dh264bsd_interpolate_hor_quarter.s56 tmp2 RN 8 label
105 ADD tmp2, y0, partH ;// (y0+partHeight)
107 CMP tmp2, height
135 MLA tmp2, width, y0, x0 ;// y0*width+x0
136 ADD ref, ref, tmp2 ;// ref += y0*width+x0
149 ADD tmp2, partH, partW, LSL #4
150 ADD count, count, tmp2, LSL #16
172 SMLATB tmp2, x_2_0, mult_20_m5, plus16
177 SMLAD tmp2, x_3_1, mult_20_01, tmp2
[all...]
H A Dh264bsd_interpolate_ver_half.s46 tmp2 RN 5 label
151 LDR tmp2, [ref], width ;// |c4|c3|c2|c1|
160 UXTB16 tmpb, tmp2 ;// |c3|c1|
178 UXTB16 tmpb, tmp2, ROR #8 ;// |c4|c2|
195 ;// tmp2 = |a4|a3|a2|a1|
209 UXTAB16 tmpa, tmpa, tmp2 ;// 16+20(G+M)+A
225 UXTAB16 tmpa, tmpa, tmp2, ROR #8 ;// 16+20(G+M)+A
232 LDR tmp2, [ref], width
244 ;// tmp2 = |t4|t3|t2|t1|
254 UXTAB16 tmpa, tmpa, tmp2 ;// 1
[all...]
H A Dh264bsd_interpolate_ver_quarter.s45 tmp2 RN 5 label
140 LDR tmp2, [sp, #0x228] ;// verOffset
141 ADD count, count, tmp2 ;// |xx|partH-1|partW-1|verOffset|
152 LDR tmp2, [ref], width ;// |c4|c3|c2|c1|
161 UXTB16 tmpb, tmp2 ;// |c3|c1|
179 UXTB16 tmpb, tmp2, ROR #8 ;// |c4|c2|
204 ;// tmp2 = |a4|a3|a2|a1|
218 UXTAB16 tmpa, tmpa, tmp2 ;// 16+20(G+M)+A
234 UXTAB16 tmpa, tmpa, tmp2, ROR #8 ;// 16+20(G+M)+A
242 MVNEQ tmp2, tmp
[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 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/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/on2/h264dec/source/arm_neon_asm/
H A Dh264bsdFillRow7.s29 tmp2 RN 2 label
71 ASR tmp2,center,#2
72 CMP tmp2,#9
73 ADDCC pc,pc,tmp2,LSL #2
85 ; LDR tmp2, [ref], #4
87 ; STR tmp2, [fill], #4
89 ; LDR tmp2, [ref], #4
91 ; STR tmp2, [fill], #4
93 ; LDR tmp2, [ref], #4
95 ; STR tmp2, [fil
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dh264bsdFillRow7.S29 #define tmp2 r2 define
62 ASR tmp2,center,#2
63 CMP tmp2,#9
64 ADDCC pc,pc,tmp2,LSL #2
85 LDR tmp2, [ref], #4
87 STR tmp2, [fill],#4
97 LDR tmp2, [ref], #4
99 STR tmp2, [fill],#4
109 LDR tmp2, [ref], #4
111 STR tmp2, [fil
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_slice_data.c259 i32 tmp2, tmp3; local
264 tmp2 = pSlice->sliceAlphaC0Offset;
268 pMb->filterOffsetA = tmp2;

Completed in 2121 milliseconds

123