Home
last modified time | relevance | path

Searched refs:tmp3 (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_transform.c99 i32 tmp0, tmp1, tmp2, tmp3; in h264bsdProcessBlock() local
110 tmp3 = levelScale[qpMod6[qp]][2] << qpDiv; in h264bsdProcessBlock()
125 data[15] = (d3 * tmp3); in h264bsdProcessBlock()
132 data[5] = (d3 * tmp3); in h264bsdProcessBlock()
144 data[7] = (d2 * tmp3); in h264bsdProcessBlock()
151 data[13] = (d1 * tmp3); in h264bsdProcessBlock()
161 tmp3 = ptr[1] + (ptr[3] >> 1); in h264bsdProcessBlock()
162 ptr[0] = tmp0 + tmp3; in h264bsdProcessBlock()
165 ptr[3] = tmp0 - tmp3; in h264bsdProcessBlock()
175 tmp3 = data[4] + (data[12] >> 1); in h264bsdProcessBlock()
[all …]
Dh264bsd_reconstruct.c124 u32 x, y, tmp1, tmp2, tmp3, tmp4, c, val; in h264bsdInterpolateChromaHor() local
170 tmp3 = ptrA[width]; in h264bsdInterpolateChromaHor()
172 c = ((val * tmp1 + xFrac * tmp3) << 3) + 32; in h264bsdInterpolateChromaHor()
180 c = ((val * tmp3 + xFrac * tmp1) << 3) + 32; in h264bsdInterpolateChromaHor()
220 u32 x, y, tmp1, tmp2, tmp3, c, val; in h264bsdInterpolateChromaVer() local
264 tmp3 = ptrA[width*2]; in h264bsdInterpolateChromaVer()
267 c = ((val * tmp2 + yFrac * tmp3) << 3) + 32; in h264bsdInterpolateChromaVer()
273 tmp3 = ptrA[width*2]; in h264bsdInterpolateChromaVer()
276 c = ((val * tmp2 + yFrac * tmp3) << 3) + 32; in h264bsdInterpolateChromaVer()
315 u32 x, y, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, valX, valY, plus32 = 32; in h264bsdInterpolateChromaHorVer() local
[all …]
Dh264bsd_image.c186 i32 tmp1, tmp2, tmp3, tmp4; in h264bsdWriteOutputBlocks() local
251 tmp3 = tmp[1]; in h264bsdWriteOutputBlocks()
255 tmp3 = clp[tmp3 + tmp4]; in h264bsdWriteOutputBlocks()
258 imageBlock[1] = (u8)tmp3; in h264bsdWriteOutputBlocks()
260 tmp3 = tmp[3]; in h264bsdWriteOutputBlocks()
263 tmp3 = clp[tmp3 + tmp4]; in h264bsdWriteOutputBlocks()
265 imageBlock[3] = (u8)tmp3; in h264bsdWriteOutputBlocks()
323 tmp3 = tmp[1]; in h264bsdWriteOutputBlocks()
327 tmp3 = clp[tmp3 + tmp4]; in h264bsdWriteOutputBlocks()
330 imageBlock[1] = (u8)tmp3; in h264bsdWriteOutputBlocks()
[all …]
Dh264bsd_deblocking.c368 i32 tmp1, tmp2, tmp3, tmp4; in InnerBoundaryStrength2() local
372 tmp3 = mb1->mv[ind1].ver; in InnerBoundaryStrength2()
375 if ( (ABS(tmp1 - tmp2) >= 4) || (ABS(tmp3 - tmp4) >= 4) || in InnerBoundaryStrength2()
427 u32 tmp1, tmp2, tmp3, tmp4; in EdgeBoundaryStrengthTop() local
431 tmp3 = mb1->totalCoeff[1]; in EdgeBoundaryStrengthTop()
445 if (tmp3 || tmp4) in EdgeBoundaryStrengthTop()
455 tmp3 = mb1->totalCoeff[5]; in EdgeBoundaryStrengthTop()
467 if (tmp3 || tmp4) in EdgeBoundaryStrengthTop()
494 u32 tmp1, tmp2, tmp3, tmp4; in EdgeBoundaryStrengthLeft() local
498 tmp3 = mb1->totalCoeff[2]; in EdgeBoundaryStrengthLeft()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
Dh264bsd_interpolate_chroma_hor_ver.s56 tmp3 RN 8 label
117 ADD tmp3, chrPW, #1 ;// tmp3 = chromaPartWidth+1
120 STMIA sp,{width,height,tmp1,tmp2,tmp3}
127 STMIA sp,{width,height,tmp1,tmp2,tmp3}
145 MLA tmp3, y0, width, x0 ;// tmp3 = y0*width+x0
148 ADD ptrA, ref, tmp3 ;// ptrA = ref + y0*width+x0
181 LDRB tmp3, [ptrA, width]
184 PKHBT tmp1, tmp1, tmp3, LSL #16 ;// |t3|t1|
185 PKHBT tmp3, tmp3, tmp5, LSL #16 ;// |t5|t3|
188 SMUAD tmp3, tmp3, valY ;// t3=(t3*valY + t5*yFrac)
[all …]
Dh264bsd_interpolate_hor_quarter.s58 tmp3 RN 9 label
157 AND tmp3, count, #0x00F00000 ;// partWidth-1
161 ADD count, count, tmp3, LSL #8
171 SMLATB tmp3, x_2_0, mult_20_01, plus16
176 SMLATB tmp3, x_3_1, mult_20_m5, tmp3
182 SMLADX tmp3, x_6_4, mult_20_m5, tmp3
189 SMLADX tmp3, x_7_5, mult_20_01, tmp3
195 PKHBT tmp1, tmp1, tmp3, LSL #(16-5)
202 LDR tmp3, [ref, tmp4]
207 MVN tmp3, tmp3
[all …]
Dh264bsd_interpolate_mid_hor.s46 tmp3 RN 10 label
81 AND tmp3, count, #0x000F0000 ;// partWidth-1
84 ADD count, count, tmp3, LSL #12
95 SMULTB tmp3, x_2_0, mult_20_01
100 SMLATB tmp3, x_3_1, mult_20_m5, tmp3
106 SMLADX tmp3, x_6_4, mult_20_m5, tmp3
112 SMLADX tmp3, x_7_5, mult_20_01, tmp3
118 STR tmp3, [mb], #4
126 SMULTB tmp3, x_6_4, mult_20_01
131 SMLATB tmp3, x_7_5, mult_20_m5, tmp3
[all …]
Dh264bsd_interpolate_hor_half.s58 tmp3 RN 9 label
155 AND tmp3, count, #0x00F00000 ;// partWidth-1
159 ADD count, count, tmp3, LSL #8
169 SMLATB tmp3, x_2_0, mult_20_01, plus16
174 SMLATB tmp3, x_3_1, mult_20_m5, tmp3
180 SMLADX tmp3, x_6_4, mult_20_m5, tmp3
187 SMLADX tmp3, x_7_5, mult_20_01, tmp3
193 PKHBT tmp1, tmp1, tmp3, LSL #(16-5)
205 SMLATB tmp3, x_6_4, mult_20_01, plus16
210 SMLATB tmp3, x_7_5, mult_20_m5, tmp3
[all …]
Dh264bsd_interpolate_ver_quarter.s48 tmp3 RN 6 label
153 LDR tmp3, [ref], width ;// |g4|g3|g2|g1|
159 UXTB16 tmpa, tmp3 ;// |g3|g1|
174 UXTB16 tmpa, tmp3, ROR #8 ;// |g4|g2|
191 MVNEQ tmp1, tmp3 ;// select verOffset=0
214 UXTB16 tmpb, tmp3 ;// |c3|c1|
231 UXTB16 tmpb, tmp3, ROR #8 ;// |c4|c2|
267 UXTAB16 tmpa, tmpa, tmp3 ;// 16+20(G+M)+A
283 UXTAB16 tmpa, tmpa, tmp3, ROR #8 ;// 16+20(G+M)+A
292 MVNEQ tmp3, tmp5 ;// select verOffset=0
[all …]
Dh264bsd_interpolate_chroma_hor.s59 tmp3 RN 9 label
141 MLA tmp3, y0, width, x0 ;// tmp3 = y0*width+x0
143 ADD ptrA, ref, tmp3 ;// ptrA = ref + y0*width+x0
180 LDRB tmp3, [ptrA, width]
183 PKHBT tmp5, tmp1, tmp3, LSL #16
192 PKHBT tmp7, tmp3, tmp1, LSL #16
234 MLA tmp3, tmp1, width, tmp2
235 ADD ptrA, ref, tmp3
251 LDRB tmp3, [ptrA, width]
254 PKHBT tmp5, tmp1, tmp3, LSL #16
[all …]
Dh264bsd_interpolate_chroma_ver.s57 tmp3 RN 9 label
139 MLA tmp3, y0, width, x0 ;// tmp3 = y0*width+x0
141 ADD ptrA, ref, tmp3 ;// ptrA = ref + y0*width+x0
177 LDRB tmp3, [ptrA,width, LSL #1] ;// 3 row, 1 col
185 PKHBT tmp2, tmp2, tmp3, LSL #16 ;// |C|B|
228 MLA tmp3, tmp1, width, tmp2
229 ADD ptrA, ref, tmp3
244 LDRB tmp3, [ptrA,width, LSL #1] ;// 3 row, 1 col
252 PKHBT tmp2, tmp2, tmp3, LSL #16 ;// |C|B|
Dh264bsd_interpolate_ver_half.s49 tmp3 RN 6 label
152 LDR tmp3, [ref], width ;// |g4|g3|g2|g1|
158 UXTB16 tmpa, tmp3 ;// |g3|g1|
173 UXTB16 tmpa, tmp3, ROR #8 ;// |g4|g2|
205 UXTB16 tmpb, tmp3 ;// |c3|c1|
222 UXTB16 tmpb, tmp3, ROR #8 ;// |c4|c2|
253 UXTAB16 tmpa, tmpa, tmp3 ;// 16+20(G+M)+A
269 UXTAB16 tmpa, tmpa, tmp3, ROR #8 ;// 16+20(G+M)+A
277 LDR tmp3, [ref]
302 UXTAB16 tmpa, tmpa, tmp3 ;// 16+20(G+M)+A+T
[all …]
Dh264bsd_interpolate_hor_ver_quarter.s55 tmp3 RN 6 label
317 LDR tmp3, [ref], width ;// |g4|g3|g2|g1|
323 UXTB16 tmpa, tmp3 ;// |g3|g1|
338 UXTB16 tmpa, tmp3, ROR #8 ;// |g4|g2|
377 UXTB16 tmpb, tmp3 ;// |c3|c1|
394 UXTB16 tmpb, tmp3, ROR #8 ;// |c4|c2|
430 UXTAB16 tmpa, tmpa, tmp3 ;// 16+20(G+M)+A
446 UXTAB16 tmpa, tmpa, tmp3, ROR #8 ;// 16+20(G+M)+A
454 LDR tmp3, [mb]
456 MVN tmp3, tmp3
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_mdct_18.cpp138 int32 tmp3; in pvmp3_mdct_18() local
165 tmp3 = vec[16]; // in pvmp3_mdct_18()
183 vec[13] = vec[15] - tmp3; in pvmp3_mdct_18()
184 vec[15] = vec[17] - tmp3; in pvmp3_mdct_18()
190 tmp3 = vec[9]; in pvmp3_mdct_18()
196 vec[i+10] = tmp3 + tmp4; in pvmp3_mdct_18()
199 tmp3 = tmp4; in pvmp3_mdct_18()
206 vec[16] = tmp3 + tmp4; in pvmp3_mdct_18()
237 tmp3 = history[10]; in pvmp3_mdct_18()
241 vec[10] = fxp_mac32_Q32(tmp3, tmp4 << 1, window[10]); in pvmp3_mdct_18()
[all …]
Dpvmp3_dct_6.cpp120 Int32 tmp3; in pvmp3_dct_6() local
132 tmp3 = vec[3] - vec[2]; in pvmp3_dct_6()
139 tmp0 = fxp_mul32_Q30(tmp3, cos_7_pi_12); in pvmp3_dct_6()
143 vec[3] = fxp_mul32_Q30((tmp3 + tmp4 - tmp5), cos_3_pi_12); in pvmp3_dct_6()
144 tmp0 = fxp_mul32_Q30(tmp3, cos_11_pi_12); in pvmp3_dct_6()
Dpvmp3_dct_9.cpp131 int32 tmp3 = vec[5] + vec[3]; in pvmp3_dct_9() local
134 vec[0] = (tmp0 + tmp2 + tmp3) + (tmp1 + vec[4]); in pvmp3_dct_9()
135 vec[6] = ((tmp0 + tmp2 + tmp3) >> 1) - (tmp1 + vec[4]); in pvmp3_dct_9()
145 vec[8] = fxp_mac32_Q32(vec[8], tmp3 << 1, cos_8pi_9); in pvmp3_dct_9()
146 vec[4] = fxp_mac32_Q32(vec[4], tmp3 << 1, cos_4pi_9); in pvmp3_dct_9()
147 vec[2] = fxp_mac32_Q32(vec[2], tmp3 << 1, cos_7pi_9); in pvmp3_dct_9()
Dpvmp3_dct_16.cpp157 int32 tmp3; in pvmp3_dct_16() local
207 tmp3 = vec[ 3] + vec[12]; in pvmp3_dct_16()
211 tmp1 = (tmp3 + tmp4); in pvmp3_dct_16()
212 tmp4 = fxp_mul32_Q32((tmp3 - tmp4) << 2, Qfmt_31(0.64072886193538F)); in pvmp3_dct_16()
219 tmp3 = fxp_mul32_Q32((itmp_e1 - itmp_e2) << 1, Qfmt_31(0.65328148243819F)); in pvmp3_dct_16()
224 tmp0 = fxp_mul32_Q32((tmp1 - tmp3) << 1, Qfmt_31(0.70710678118655F)); in pvmp3_dct_16()
225 vec[ 4] = tmp1 + tmp3 + tmp0; in pvmp3_dct_16()
233 tmp3 = fxp_mul32_Q32((tmp6 - tmp5) << 2, Qfmt_31(0.65328148243819F)); in pvmp3_dct_16()
238 tmp7 = fxp_mul32_Q32((tmp1 - tmp3) << 1, Qfmt_31(0.70710678118655F)); in pvmp3_dct_16()
240 tmp1 += tmp3 + tmp7; in pvmp3_dct_16()
Dpvmp3_reorder.cpp157 int32 tmp3 = xr[src_line+(sfb_lines<<1)]; in pvmp3_reorder() local
161 Scratch_mem[freq+2] = tmp3; in pvmp3_reorder()
178 int32 tmp3 = xr[src_line+(sfb_lines<<1)]; in pvmp3_reorder() local
182 Scratch_mem[freq+2] = tmp3; in pvmp3_reorder()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Doversamp_12k8_to_16k.cpp284 int16 tmp1, tmp2, tmp3, tmp4; in AmrWbInterpol() local
290 tmp3 = *(pt_x++); in AmrWbInterpol()
294 L_sum = fxp_mac_16by16(tmp3, *(pt_fir++), L_sum); in AmrWbInterpol()
298 tmp3 = *(pt_x++); in AmrWbInterpol()
302 L_sum = fxp_mac_16by16(tmp3, *(pt_fir++), L_sum); in AmrWbInterpol()
306 tmp3 = *(pt_x++); in AmrWbInterpol()
310 L_sum = fxp_mac_16by16(tmp3, *(pt_fir++), L_sum); in AmrWbInterpol()
314 tmp3 = *(pt_x++); in AmrWbInterpol()
318 L_sum = fxp_mac_16by16(tmp3, *(pt_fir++), L_sum); in AmrWbInterpol()
322 tmp3 = *(pt_x++); in AmrWbInterpol()
[all …]
Disf_extrapolation.cpp122 int16 coeff, mean, tmp, tmp2, tmp3; in isf_extrapolation() local
162 tmp3 = sub_int16(IsfDiff[i - 2], mean); in isf_extrapolation()
163 L_tmp = mul_16by16_to_int32(tmp2, tmp3); in isf_extrapolation()
172 tmp3 = sub_int16(IsfDiff[i - 3], mean); in isf_extrapolation()
173 L_tmp = mul_16by16_to_int32(tmp2, tmp3); in isf_extrapolation()
182 tmp3 = sub_int16(IsfDiff[i - 4], mean); in isf_extrapolation()
183 L_tmp = mul_16by16_to_int32(tmp2, tmp3); in isf_extrapolation()
Dpred_lt4.cpp202 int16 tmp3 = pt_exc[i+2]; in Pred_lt4() local
208 L_sum2 = fxp_mac_16by16(tmp3, pt_inter4_2[i+1], L_sum2); in Pred_lt4()
209 L_sum3 = fxp_mac_16by16(tmp3, pt_inter4_2[i ], L_sum3); in Pred_lt4()
210 L_sum1 = fxp_mac_16by16(tmp3, pt_inter4_2[i+2], L_sum1); in Pred_lt4()
Dlow_pass_filt_7k.cpp175 int16 tmp3 = x[(i<<2)+j+2]; in low_pass_filt_7k() local
180 L_tmp2 = fxp_mac_16by16(tmp3, fir_7k[j+1], L_tmp2); in low_pass_filt_7k()
181 L_tmp3 = fxp_mac_16by16(tmp3, fir_7k[j ], L_tmp3); in low_pass_filt_7k()
182 L_tmp1 = fxp_mac_16by16(tmp3, fir_7k[j+2], L_tmp1); in low_pass_filt_7k()
Dband_pass_6k_7k.cpp195 int16 tmp3 = x[(i<<2)+j+2]; in band_pass_6k_7k() local
200 L_tmp2 = fxp_mac_16by16(tmp3, fir_6k_7k[j+1], L_tmp2); in band_pass_6k_7k()
201 L_tmp3 = fxp_mac_16by16(tmp3, fir_6k_7k[j ], L_tmp3); in band_pass_6k_7k()
202 L_tmp1 = fxp_mac_16by16(tmp3, fir_6k_7k[j+2], L_tmp1); in band_pass_6k_7k()
/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
362 M_LOAD_X pSrc, srcStep, tmp3, tmp4, tmp5, $offset
366 STRD tmp3, tmp4, [pDst], dstStep
367 M_LOAD_X pSrc, srcStep, tmp1, tmp2, tmp3, $offset
368 M_LOAD_X pSrc, srcStep, tmp3, tmp4, tmp5, $offset
396 M_LOAD_XINT pSrc, srcStep, $offset, tmp1, tmp2, tmp3, tmp4
399 M_EXT_XINT $offset, tmp1, tmp2, tmp3, tmp4
400 M_UHADD8R tmp5, tmp1, tmp3, (1-$rndVal), mask
403 M_LOAD_XINT pSrc, srcStep, $offset, tmp1, tmp2, tmp3, tmp4
431 M_LOAD_X pSrc, srcStep, tmp3, tmp4, tmp5, $offset
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dsad.cpp321 Int tmp, tmp2, tmp3, mask = 0xFF; in SAD_Block_C() local
330 tmp3 = kk[1]; in SAD_Block_C()
332 tmp2 = (UInt)tmp3 >> 24; in SAD_Block_C()
335 tmp2 = (tmp3 >> 16) & mask; in SAD_Block_C()
338 tmp2 = (tmp3 >> 8) & mask; in SAD_Block_C()
341 tmp2 = tmp3 & mask; in SAD_Block_C()
343 tmp3 = *kk; in SAD_Block_C()
346 tmp2 = (UInt)tmp3 >> 24; in SAD_Block_C()
349 tmp2 = (tmp3 >> 16) & mask; in SAD_Block_C()
352 tmp2 = (tmp3 >> 8) & mask; in SAD_Block_C()
[all …]

12