Searched refs:tmp2 (Results 1 - 25 of 57) sorted by relevance

123

/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_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_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...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
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_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_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...]
/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/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/
H A Dh264bsd_transform.c99 i32 tmp0, tmp1, tmp2, tmp3; local
109 tmp2 = levelScale[qpMod6[qp]][1] << qpDiv;
123 data[1] = (d1 * tmp2);
124 data[14] = (d2 * tmp2);
130 data[4] = (d1 * tmp2);
137 tmp0 = (d1 * tmp2);
139 data[3] = (d3 * tmp2);
143 data[6] = (d1 * tmp2);
145 data[12] = (d3 * tmp2);
153 data[11] = (d3 * tmp2);
257 i32 tmp0, tmp1, tmp2, tmp3; local
361 i32 tmp0, tmp1, tmp2, tmp3; local
[all...]
H A Dh264bsd_image.c89 u32 tmp1, tmp2; local
114 tmp2 = *ptr++;
116 *lum++ = tmp2;
118 tmp2 = *ptr++;
120 *lum++ = tmp2;
128 tmp2 = *ptr++;
130 *cb++ = tmp2;
137 tmp2 = *ptr++;
139 *cr++ = tmp2;
186 i32 tmp1, tmp2, tmp local
[all...]
H A Dh264bsd_reconstruct.c124 u32 x, y, tmp1, tmp2, tmp3, tmp4, c, val; local
169 tmp2 = *ptrA++;
175 c = ((val * tmp2 + xFrac * tmp4) << 3) + 32;
179 tmp2 = *ptrA;
183 c = ((val * tmp4 + xFrac * tmp2) << 3) + 32;
220 u32 x, y, tmp1, tmp2, tmp3, c, val; local
265 tmp2 = ptrA[width];
267 c = ((val * tmp2 + yFrac * tmp3) << 3) + 32;
270 c = ((val * tmp1 + yFrac * tmp2) << 3) + 32;
274 tmp2
315 u32 x, y, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, valX, valY, plus32 = 32; local
503 i32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; local
622 i32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; local
756 i32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; local
880 i32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; local
1019 i32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; local
1222 i32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; local
1409 i32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; local
1613 i32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
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_chroma_ver.s55 tmp2 RN 8 label
113 MOV tmp2, chrPW ;// tmp2 = chromaPartWidth
114 STMIA sp,{width,height,chrPW,tmp1,tmp2}
121 STMIA sp,{width,height,chrPW,tmp1,tmp2}
154 SUB tmp2, chrPH, #1 ;// chromaPartHeight-1
156 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1
157 ADD count, count, tmp2, LSL #24 ;// loop_y
159 AND tmp2, count, #0x00F00000 ;// loop_x
173 ADD count, count, tmp2, LS
[all...]
H A Dh264bsd_interpolate_chroma_hor_ver.s54 tmp2 RN 7 label
119 ADD tmp2, chrPH, #1 ;// tmp2 = chromaPartHeight+1
120 STMIA sp,{width,height,tmp1,tmp2,tmp3}
127 STMIA sp,{width,height,tmp1,tmp2,tmp3}
130 MLA block, tmp2, tmp1, block;// block + (chromaPW+1)*(chromaPH+1)
140 STR tmp2, [sp, #0xfc] ;// height
162 SUB tmp2, chrPH, #1 ;// chromaPartHeight-1
164 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1
165 ADD count, count, tmp2, LS
[all...]
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_chroma_hor.s57 tmp2 RN 8 label
114 MOV tmp2, tmp8 ;// tmp2 = chromaPartWidth+1
115 STMIA sp,{width,height,tmp8,chrPH,tmp2}
122 STMIA sp,{width,height,tmp8,chrPH,tmp2}
156 SUB tmp2, chrPH, #1 ;// chromaPartHeight-1
158 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1
159 ADD count, count, tmp2, LSL #24 ;// loop_y
161 AND tmp2, count, #0x00F00000 ;// loop_x
175 ADD count, count, tmp2, LS
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
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_dct_16.cpp156 int32 tmp2; local
199 tmp2 = vec[ 2] + vec[13];
203 itmp_e2 = (tmp2 + tmp5);
204 tmp5 = fxp_mul32_Q32((tmp2 - tmp5), Qfmt_31(0.89997622313642F));
274 tmp2 = fxp_mul32_Q32((tmp1 - tmp0) << 1, Qfmt_31(0.54119610014620F));
292 tmp6 = fxp_mul32_Q32((tmp2 - tmp5) << 1, Qfmt_31(0.70710678118655F));
293 tmp2 += tmp5 + tmp6;
294 tmp0 += tmp2;
298 tmp2 += tmp4;
299 vec[ 5] = tmp2
379 int32 tmp2 = *(pt_vect); local
395 int32 tmp2 = *(pt_vect); local
[all...]
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);
/frameworks/av/media/libstagefright/codecs/amrwb/src/
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...]
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 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);
/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...]

Completed in 239 milliseconds

123