Home
last modified time | relevance | path

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

123

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dsad.cpp113 Int saddata[16], tmp, tmp2; /* used when collecting flag (global) is on */ in SAD_MB_HTFM_Collect() local
128 tmp2 = (cur_word >> 24) & 0xFF; in SAD_MB_HTFM_Collect()
129 sad = SUB_SAD(sad, tmp, tmp2); in SAD_MB_HTFM_Collect()
131 tmp2 = (cur_word >> 16) & 0xFF; in SAD_MB_HTFM_Collect()
132 sad = SUB_SAD(sad, tmp, tmp2); in SAD_MB_HTFM_Collect()
134 tmp2 = (cur_word >> 8) & 0xFF; in SAD_MB_HTFM_Collect()
135 sad = SUB_SAD(sad, tmp, tmp2); in SAD_MB_HTFM_Collect()
138 tmp2 = (cur_word & 0xFF); in SAD_MB_HTFM_Collect()
139 sad = SUB_SAD(sad, tmp, tmp2); in SAD_MB_HTFM_Collect()
143 tmp2 = (cur_word >> 24) & 0xFF; in SAD_MB_HTFM_Collect()
[all …]
Dsad_halfpel.cpp343 Int difmad, tmp, tmp2; in SAD_MB_HP_HTFM_Collectxhyh() local
364 tmp2 = p1[13] + p2[13]; in SAD_MB_HP_HTFM_Collectxhyh()
365 tmp += tmp2; in SAD_MB_HP_HTFM_Collectxhyh()
366 tmp2 = (cur_word >> 24) & 0xFF; in SAD_MB_HP_HTFM_Collectxhyh()
368 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);; in SAD_MB_HP_HTFM_Collectxhyh()
370 tmp2 = p1[9] + p2[9]; in SAD_MB_HP_HTFM_Collectxhyh()
371 tmp += tmp2; in SAD_MB_HP_HTFM_Collectxhyh()
372 tmp2 = (cur_word >> 16) & 0xFF; in SAD_MB_HP_HTFM_Collectxhyh()
374 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);; in SAD_MB_HP_HTFM_Collectxhyh()
376 tmp2 = p1[5] + p2[5]; in SAD_MB_HP_HTFM_Collectxhyh()
[all …]
Dsad_halfpel_inline.h34 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) in INTERP1_SUB_SAD() argument
36 tmp = (tmp2 >> 1) - tmp; in INTERP1_SUB_SAD()
43 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) in INTERP2_SUB_SAD() argument
45 tmp = (tmp >> 2) - tmp2; in INTERP2_SUB_SAD()
54 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
58 rsbs tmp, tmp, tmp2, asr #1 ;
66 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
70 rsbs tmp, tmp2, tmp, asr #2 ;
81 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
87 register int32 uu = tmp2;
[all …]
Dme_utils.cpp318 Int tmp, tmp2, mask = 0x00FF00FF; in ComputeMBSum_C() local
326 tmp2 = tmp & mask; in ComputeMBSum_C()
328 tmp += tmp2; in ComputeMBSum_C()
331 tmp2 = tmp & mask; in ComputeMBSum_C()
333 tmp += tmp2; in ComputeMBSum_C()
336 tmp2 = tmp & mask; in ComputeMBSum_C()
338 tmp += tmp2; in ComputeMBSum_C()
342 tmp2 = tmp & mask; in ComputeMBSum_C()
344 tmp += tmp2; in ComputeMBSum_C()
348 tmp2 = tmp & mask; in ComputeMBSum_C()
[all …]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dsad.cpp97 int saddata[16], tmp, tmp2; /* used when collecting flag (global) is on */ in AVCAVCSAD_MB_HTFM_Collect() local
115 tmp2 = (cur_word >> 24) & 0xFF; in AVCAVCSAD_MB_HTFM_Collect()
116 sad = SUB_SAD(sad, tmp, tmp2); in AVCAVCSAD_MB_HTFM_Collect()
118 tmp2 = (cur_word >> 16) & 0xFF; in AVCAVCSAD_MB_HTFM_Collect()
119 sad = SUB_SAD(sad, tmp, tmp2); in AVCAVCSAD_MB_HTFM_Collect()
121 tmp2 = (cur_word >> 8) & 0xFF; in AVCAVCSAD_MB_HTFM_Collect()
122 sad = SUB_SAD(sad, tmp, tmp2); in AVCAVCSAD_MB_HTFM_Collect()
125 tmp2 = (cur_word & 0xFF); in AVCAVCSAD_MB_HTFM_Collect()
126 sad = SUB_SAD(sad, tmp, tmp2); in AVCAVCSAD_MB_HTFM_Collect()
130 tmp2 = (cur_word >> 24) & 0xFF; in AVCAVCSAD_MB_HTFM_Collect()
[all …]
Dsad_halfpel.cpp189 int difmad, tmp, tmp2; in AVCAVCSAD_MB_HP_HTFM_Collectxhyh() local
213 tmp2 = p1[13] + p2[13]; in AVCAVCSAD_MB_HP_HTFM_Collectxhyh()
214 tmp += tmp2; in AVCAVCSAD_MB_HP_HTFM_Collectxhyh()
215 tmp2 = (cur_word >> 24) & 0xFF; in AVCAVCSAD_MB_HP_HTFM_Collectxhyh()
217 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);; in AVCAVCSAD_MB_HP_HTFM_Collectxhyh()
219 tmp2 = p1[9] + p2[9]; in AVCAVCSAD_MB_HP_HTFM_Collectxhyh()
220 tmp += tmp2; in AVCAVCSAD_MB_HP_HTFM_Collectxhyh()
221 tmp2 = (cur_word >> 16) & 0xFF; in AVCAVCSAD_MB_HP_HTFM_Collectxhyh()
223 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);; in AVCAVCSAD_MB_HP_HTFM_Collectxhyh()
225 tmp2 = p1[5] + p2[5]; in AVCAVCSAD_MB_HP_HTFM_Collectxhyh()
[all …]
Dsad_halfpel_inline.h31 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) in INTERP1_SUB_SAD() argument
33 tmp = (tmp2 >> 1) - tmp; in INTERP1_SUB_SAD()
40 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) in INTERP2_SUB_SAD() argument
42 tmp = (tmp >> 2) - tmp2; in INTERP2_SUB_SAD()
51 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
55 rsbs tmp, tmp, tmp2, asr #1 ;
63 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
67 rsbs tmp, tmp2, tmp, asr #2 ;
77 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
84 : "r"(tmp2)
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
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, [fill],#4
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_transform.c99 i32 tmp0, tmp1, tmp2, tmp3; in h264bsdProcessBlock() local
109 tmp2 = levelScale[qpMod6[qp]][1] << qpDiv; in h264bsdProcessBlock()
123 data[1] = (d1 * tmp2); in h264bsdProcessBlock()
124 data[14] = (d2 * tmp2); in h264bsdProcessBlock()
130 data[4] = (d1 * tmp2); in h264bsdProcessBlock()
137 tmp0 = (d1 * tmp2); in h264bsdProcessBlock()
139 data[3] = (d3 * tmp2); in h264bsdProcessBlock()
143 data[6] = (d1 * tmp2); in h264bsdProcessBlock()
145 data[12] = (d3 * tmp2); in h264bsdProcessBlock()
153 data[11] = (d3 * tmp2); in h264bsdProcessBlock()
[all …]
Dh264bsd_image.c89 u32 tmp1, tmp2; in h264bsdWriteMacroblock() local
114 tmp2 = *ptr++; in h264bsdWriteMacroblock()
116 *lum++ = tmp2; in h264bsdWriteMacroblock()
118 tmp2 = *ptr++; in h264bsdWriteMacroblock()
120 *lum++ = tmp2; in h264bsdWriteMacroblock()
128 tmp2 = *ptr++; in h264bsdWriteMacroblock()
130 *cb++ = tmp2; in h264bsdWriteMacroblock()
137 tmp2 = *ptr++; in h264bsdWriteMacroblock()
139 *cr++ = tmp2; in h264bsdWriteMacroblock()
186 i32 tmp1, tmp2, tmp3, tmp4; in h264bsdWriteOutputBlocks() local
[all …]
Dh264bsd_reconstruct.c124 u32 x, y, tmp1, tmp2, tmp3, tmp4, c, val; in h264bsdInterpolateChromaHor() local
169 tmp2 = *ptrA++; in h264bsdInterpolateChromaHor()
175 c = ((val * tmp2 + xFrac * tmp4) << 3) + 32; in h264bsdInterpolateChromaHor()
179 tmp2 = *ptrA; in h264bsdInterpolateChromaHor()
183 c = ((val * tmp4 + xFrac * tmp2) << 3) + 32; in h264bsdInterpolateChromaHor()
220 u32 x, y, tmp1, tmp2, tmp3, c, val; in h264bsdInterpolateChromaVer() local
265 tmp2 = ptrA[width]; in h264bsdInterpolateChromaVer()
267 c = ((val * tmp2 + yFrac * tmp3) << 3) + 32; in h264bsdInterpolateChromaVer()
270 c = ((val * tmp1 + yFrac * tmp2) << 3) + 32; in h264bsdInterpolateChromaVer()
274 tmp2 = ptrA[width]; in h264bsdInterpolateChromaVer()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
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
183 SMLADX tmp2, x_6_4, mult_20_01, tmp2
[all …]
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, LSL #8
176 LDRB tmp2, [ptrA,width] ;// 2 row, 1 col
[all …]
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
181 SMLADX tmp2, x_6_4, mult_20_01, tmp2
[all …]
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, LSL #24 ;// loop_y
167 AND tmp2, count, #0x00F00000 ;// loop_x
[all …]
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, LSL #8
177 LDRB tmp2, [ptrA], #1
[all …]
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_4, mult_20_m5
130 SMLAD tmp2, x_7_5, mult_20_01, tmp2
136 SMLADX tmp2, x_2_0, mult_20_01, tmp2
141 SMLABB tmp2, x_3_1, mult_20_m5, tmp2
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_mdct_18.cpp137 int32 tmp2; in pvmp3_mdct_18() local
171 tmp2 = vec[10]; // vec[10] in pvmp3_mdct_18()
177 vec[ 1] = vec[ 9] - tmp2; // vec[9] + vec[10] in pvmp3_mdct_18()
178 vec[ 3] = vec[11] - tmp2; in pvmp3_mdct_18()
189 tmp2 = vec[0]; in pvmp3_mdct_18()
200 history[i ] = -(tmp2 + tmp1); in pvmp3_mdct_18()
201 tmp2 = tmp1; in pvmp3_mdct_18()
210 history[6] = -(tmp2 + tmp1); in pvmp3_mdct_18()
221 tmp2 = history[16]; in pvmp3_mdct_18()
226 vec[16] = fxp_mac32_Q32(tmp2, vec[11] << 1, window[16]); in pvmp3_mdct_18()
[all …]
Dpvmp3_dct_16.cpp156 int32 tmp2; in pvmp3_dct_16() local
199 tmp2 = vec[ 2] + vec[13]; in pvmp3_dct_16()
203 itmp_e2 = (tmp2 + tmp5); in pvmp3_dct_16()
204 tmp5 = fxp_mul32_Q32((tmp2 - tmp5), Qfmt_31(0.89997622313642F)); in pvmp3_dct_16()
274 tmp2 = fxp_mul32_Q32((tmp1 - tmp0) << 1, Qfmt_31(0.54119610014620F)); in pvmp3_dct_16()
292 tmp6 = fxp_mul32_Q32((tmp2 - tmp5) << 1, Qfmt_31(0.70710678118655F)); in pvmp3_dct_16()
293 tmp2 += tmp5 + tmp6; in pvmp3_dct_16()
294 tmp0 += tmp2; in pvmp3_dct_16()
298 tmp2 += tmp4; in pvmp3_dct_16()
299 vec[ 5] = tmp2 + vec[ 5]; in pvmp3_dct_16()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
Dh264bsdFillRow7.S29 #define tmp2 r2 macro
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, [fill],#4
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpred_lt4.cpp201 int16 tmp2 = pt_exc[i+1]; in Pred_lt4() local
206 L_sum2 = fxp_mac_16by16(tmp2, pt_inter4_2[i ], L_sum2); in Pred_lt4()
207 L_sum1 = fxp_mac_16by16(tmp2, pt_inter4_2[i+1], L_sum1); in Pred_lt4()
213 tmp2 = pt_exc[i+4]; in Pred_lt4()
219 L_sum4 = fxp_mac_16by16(tmp2, pt_inter4_2[i+1], L_sum4); in Pred_lt4()
220 L_sum2 = fxp_mac_16by16(tmp2, pt_inter4_2[i+3], L_sum2); in Pred_lt4()
221 L_sum3 = fxp_mac_16by16(tmp2, pt_inter4_2[i+2], L_sum3); in Pred_lt4()
224 tmp2 = pt_exc[i+6]; in Pred_lt4()
228 L_sum4 = fxp_mac_16by16(tmp2, pt_inter4_2[i+3], L_sum4); in Pred_lt4()
250 int16 tmp2 = pt_exc[i+1]; in Pred_lt4() local
[all …]
Doversamp_12k8_to_16k.cpp284 int16 tmp1, tmp2, tmp3, tmp4; in AmrWbInterpol() local
289 tmp2 = *(pt_x++); in AmrWbInterpol()
293 L_sum = fxp_mac_16by16(tmp2, *(pt_fir++), L_sum); in AmrWbInterpol()
297 tmp2 = *(pt_x++); in AmrWbInterpol()
301 L_sum = fxp_mac_16by16(tmp2, *(pt_fir++), L_sum); in AmrWbInterpol()
305 tmp2 = *(pt_x++); in AmrWbInterpol()
309 L_sum = fxp_mac_16by16(tmp2, *(pt_fir++), L_sum); in AmrWbInterpol()
313 tmp2 = *(pt_x++); in AmrWbInterpol()
317 L_sum = fxp_mac_16by16(tmp2, *(pt_fir++), L_sum); in AmrWbInterpol()
321 tmp2 = *(pt_x++); in AmrWbInterpol()
[all …]
Disf_extrapolation.cpp122 int16 coeff, mean, tmp, tmp2, tmp3; in isf_extrapolation() local
161 tmp2 = sub_int16(IsfDiff[i], mean); in isf_extrapolation()
163 L_tmp = mul_16by16_to_int32(tmp2, tmp3); in isf_extrapolation()
171 tmp2 = sub_int16(IsfDiff[i], mean); in isf_extrapolation()
173 L_tmp = mul_16by16_to_int32(tmp2, tmp3); in isf_extrapolation()
181 tmp2 = sub_int16(IsfDiff[i], mean); in isf_extrapolation()
183 L_tmp = mul_16by16_to_int32(tmp2, tmp3); in isf_extrapolation()
224 tmp2 = sub_int16(HfIsf[M16k - 2], HfIsf[M - 2]); in isf_extrapolation()
226 exp2 = norm_s(tmp2); in isf_extrapolation()
230 tmp2 <<= exp2; in isf_extrapolation()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DomxVCM4P2_MCReconBlock_s.s361 M_LOAD_X pSrc, srcStep, tmp1, tmp2, tmp3, $offset
365 STRD tmp1, tmp2, [pDst], dstStep
367 M_LOAD_X pSrc, srcStep, tmp1, tmp2, tmp3, $offset
396 M_LOAD_XINT pSrc, srcStep, $offset, tmp1, tmp2, tmp3, tmp4
399 M_EXT_XINT $offset, tmp1, tmp2, tmp3, tmp4
401 M_UHADD8R tmp6, tmp2, tmp4, (1-$rndVal), mask
403 M_LOAD_XINT pSrc, srcStep, $offset, tmp1, tmp2, tmp3, tmp4
427 M_LOAD_X pSrc, srcStep, tmp1, tmp2, tmp5, $offset ;// Pre-load
433 M_UHADD8R tmp2, tmp2, tmp4, (1-$rndVal), mask
434 STRD tmp1, tmp2, [pDst], dstStep
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dgmed_n.cpp192 Word16 tmp2[NMAX]; in gmed_n() local
196 *(tmp2 + i) = *(ind + i); in gmed_n()
204 if (*(tmp2 + j) >= max) in gmed_n()
206 max = *(tmp2 + j); in gmed_n()
210 *(tmp2 + ix) = -32768; in gmed_n()

123