Home
last modified time | relevance | path

Searched refs:x4 (Results 1 – 25 of 71) sorted by relevance

123

/frameworks/av/media/module/codecs/m4v_h263/enc/src/
Dfastidct.cpp111 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idct_col3() local
117 x4 = x0; in idct_col3()
123 x8 = x4 - x6; in idct_col3()
124 x4 += x6; in idct_col3()
134 blk[8] = (x4 + x7) >> 8; in idct_col3()
138 blk[48] = (x4 - x7) >> 8; in idct_col3()
148 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idct_col4() local
154 x4 = x0; in idct_col4()
160 x8 = x4 - x6; in idct_col4()
161 x4 += x6; in idct_col4()
[all …]
Dsad_inline.h84 int32 x4, x5, x6, x8, x9, x10, x11, x12, x14; in simd_sad_mb() local
97 x4 = x5 = 0; in simd_sad_mb()
121 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */ in simd_sad_mb()
124 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */ in simd_sad_mb()
140 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */ in simd_sad_mb()
143 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */ in simd_sad_mb()
146 x10 = x5 - (x4 << 8); /* extract low bytes */ in simd_sad_mb()
147 x10 = x10 + x4; /* add with high bytes */ in simd_sad_mb()
228 ADD x4, x4, x10,lsr #8; /* accumulate high bytes */ \
231 ADD x4, x4, x11,lsr #8; } /* accumulate high bytes */
[all …]
Dsad_mb_offset.h34 int32 x4, x5, x6, x8, x9, x10, x11, x12, x14; in sad_mb_offset3() local
37 x4 = x5 = 0; in sad_mb_offset3()
73 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */ in sad_mb_offset3()
76 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */ in sad_mb_offset3()
99 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */ in sad_mb_offset3()
102 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */ in sad_mb_offset3()
105 x10 = x5 - (x4 << 8); /* extract low bytes */ in sad_mb_offset3()
106 x10 = x10 + x4; /* add with high bytes */ in sad_mb_offset3()
137 int32 x4, x5, x6, x9, x10, x11, x12, x14; in sad_mb_offset3() local
140 x4 = x5 = 0; in sad_mb_offset3()
[all …]
/frameworks/av/media/module/codecs/m4v_h263/dec/src/
Didct_vca.cpp101 int32 x0, x1, x2, x4, x5; in idctrow2() local
115 x4 = blk[9]; in idctrow2()
121 x5 = (W7 * x4 + 4) >> 3; in idctrow2()
122 x4 = (W1 * x4 + 4) >> 3; in idctrow2()
125 x2 = (181 * (x4 + x5) + 128) >> 8; in idctrow2()
126 x1 = (181 * (x4 - x5) + 128) >> 8; in idctrow2()
130 res = (x0 + x4) >> 14; in idctrow2()
152 res = (x0 - x4) >> 14; in idctrow2()
191 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idctrow3() local
213 x4 = x0; in idctrow3()
[all …]
Dblock_idct.cpp517 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idctrow() local
546 x4 = blk[9]; in idctrow()
558 x8 = W7 * (x4 + x5) + 4; in idctrow()
559 x4 = (x8 + (W1 - W7) * x4) >> 3; in idctrow()
571 x1 = x4 + x6; in idctrow()
572 x4 -= x6; in idctrow()
581 x2 = (181 * (x4 + x5) + 128) >> 8; in idctrow()
582 x4 = (181 * (x4 - x5) + 128) >> 8; in idctrow()
592 res = (x0 + x4) >> 14; in idctrow()
604 res2 = (x0 - x4) >> 14; in idctrow()
[all …]
/frameworks/av/media/module/codecs/amrwb/dec/src/
Dmedian5.cpp120 int16 x1, x2, x3, x4, x5; in median5() local
126 x4 = x[1]; in median5()
143 if (x4 < x1) in median5()
146 x1 = x4; in median5()
147 x4 = tmp; in median5()
159 if (x4 < x2) in median5()
162 x2 = x4; in median5()
163 x4 = tmp; in median5()
169 if (x4 < x3) in median5()
171 x3 = x4; in median5()
/frameworks/av/media/module/codecs/amrwb/enc/src/
Dp_med_ol.c174 Word16 x1, x2, x3, x4, x5; in median5() local
180 x4 = x[1]; in median5()
195 if (x4 < x1) in median5()
198 x1 = x4; in median5()
199 x4 = tmp; in median5()
211 if (x4 < x2) in median5()
214 x2 = x4; in median5()
215 x4 = tmp; in median5()
221 if (x4 < x3) in median5()
223 x3 = x4; in median5()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicConvolve5x5.cpp91 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneU4() local
97 convert_float4(py0[x4]) * coeff[4] + in OneU4()
103 convert_float4(py1[x4]) * coeff[9] + in OneU4()
109 convert_float4(py2[x4]) * coeff[14] + in OneU4()
115 convert_float4(py3[x4]) * coeff[19] + in OneU4()
121 convert_float4(py4[x4]) * coeff[24]; in OneU4()
134 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneU2() local
140 convert_float2(py0[x4]) * coeff[4] + in OneU2()
146 convert_float2(py1[x4]) * coeff[9] + in OneU2()
152 convert_float2(py2[x4]) * coeff[14] + in OneU2()
[all …]
DrsCpuIntrinsics_advsimd_YuvToRGB.S178 ld1 {v11.16b}, [x4], #16
215 ld1 {v11.d}[1], [x4], #8
223 ld1 {v11.s}[1], [x4], #4
231 ld1 {v11.h}[1], [x4], #2
239 ld1 {v11.b}[1], [x4], #1
247 ld1 {v11.b}[0], [x4], #1
308 lsr x6, x4, #1
309 add x0, x0, x4, LSL #2
310 add x1, x1, x4
311 add x4, x3, x6
[all …]
DrsCpuIntrinsics_advsimd_ColorMatrix.S351 br x4
360 br x4
380 br x4
387 br x4
397 br x4
412 br x4
419 br x4
486 br x4
536 br x4
570 br x4
[all …]
DrsCpuIntrinsics_advsimd_Convolve.S36 ld1 {v0.8h, v1.8h}, [x4]
39 mov x4, #8
43 ld1 {v13.16b}, [x1], x4
44 ld1 {v14.16b}, [x2], x4
45 ld1 {v15.16b}, [x3], x4
175 ld1 {v12.8b-v14.8b}, [x4], x6 // y0 ( y + 1 )
DrsCpuIntrinsics_advsimd_Resize.S52 ld1 {v8.8b}, [x4], #8
80 ld1 {v8.s}[0], [x4], #4
243 sub x4, x4, x13, LSL #(COMPONENT_SHIFT)
291 sub x4, x4, #8
295 add x4, x4, x11, LSL #(COMPONENT_SHIFT)
342 sub x4, x4, #COMPONENT_COUNT
DrsCpuIntrinsics_advsimd_3DLUT.S29 ld1 {v16.2s}, [x6], x4
30 ld1 {v17.2s}, [x7], x4
48 sub x6, x6, x4
49 sub x7, x7, x4
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dconvolve5x5.rscript31 uint32_t x4 = min((int32_t)x+2, gWidth-1);
43 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4]
49 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y1)) * gCoeffs[9]
55 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y2)) * gCoeffs[14]
61 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y3)) * gCoeffs[19]
67 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y4)) * gCoeffs[24];
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dconvolve5x5.rscript31 uint32_t x4 = min((int32_t)x+2, gWidth-1);
43 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4]
49 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y1)) * gCoeffs[9]
55 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y2)) * gCoeffs[14]
61 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y3)) * gCoeffs[19]
67 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y4)) * gCoeffs[24];
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dconvolve5x5.rscript31 uint32_t x4 = min((int32_t)x+2, gWidth-1);
43 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4]
49 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y1)) * gCoeffs[9]
55 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y2)) * gCoeffs[14]
61 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y3)) * gCoeffs[19]
67 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y4)) * gCoeffs[24];
/frameworks/rs/toolkit/
DYuvToRgb_advsimd.S178 ld1 {v11.16b}, [x4], #16
215 ld1 {v11.d}[1], [x4], #8
223 ld1 {v11.s}[1], [x4], #4
231 ld1 {v11.h}[1], [x4], #2
239 ld1 {v11.b}[1], [x4], #1
247 ld1 {v11.b}[0], [x4], #1
308 lsr x6, x4, #1
309 add x0, x0, x4, LSL #2
310 add x1, x1, x4
311 add x4, x3, x6
[all …]
DConvolve5x5.cpp73 uint32_t x4 = std::min((int32_t)x + 2, width - 1); in ConvolveOneU() local
79 convert<ComputationType>(py0[x4]) * coeff[4] + in ConvolveOneU()
85 convert<ComputationType>(py1[x4]) * coeff[9] + in ConvolveOneU()
91 convert<ComputationType>(py2[x4]) * coeff[14] + in ConvolveOneU()
97 convert<ComputationType>(py3[x4]) * coeff[19] + in ConvolveOneU()
103 convert<ComputationType>(py4[x4]) * coeff[24]; in ConvolveOneU()
118 uint32_t x4 = std::min((int32_t)x + 2, width - 1); in ConvolveOneF() local
121 py0[x3] * coeff[3] + py0[x4] * coeff[4] + in ConvolveOneF()
124 py1[x3] * coeff[8] + py1[x4] * coeff[9] + in ConvolveOneF()
127 py2[x3] * coeff[13] + py2[x4] * coeff[14] + in ConvolveOneF()
[all …]
DColorMatrix_advsimd.S351 br x4
360 br x4
380 br x4
387 br x4
397 br x4
412 br x4
419 br x4
486 br x4
536 br x4
570 br x4
[all …]
DConvolve_advsimd.S36 ld1 {v0.8h, v1.8h}, [x4]
39 mov x4, #8
43 ld1 {v13.16b}, [x1], x4
44 ld1 {v14.16b}, [x2], x4
45 ld1 {v15.16b}, [x3], x4
175 ld1 {v12.8b-v14.8b}, [x4], x6 // y0 ( y + 1 )
DResize_advsimd.S52 ld1 {v8.8b}, [x4], #8
80 ld1 {v8.s}[0], [x4], #4
243 sub x4, x4, x13, LSL #(COMPONENT_SHIFT)
291 sub x4, x4, #8
295 add x4, x4, x11, LSL #(COMPONENT_SHIFT)
342 sub x4, x4, #COMPONENT_COUNT
/frameworks/av/media/libaudioclient/tests/
Dtrack_test_input_v1.0_ref.txt24 48000 0x1 0x3 0 -2 0 0x4 0 1 2
27 48000 0x1 0x3 4800 2400 1 0x4 0 1 2
29 48000 0x1 0x3 4800 2400 0 0x4 0 1 2
/frameworks/av/media/libaudioprocessing/
DAudioResamplerFirGen.h274 double H, double x, double x2, double x4) {
275 return Poly4(A, B, C, D, x, x2) + Poly4(E, F, G, H, x, x2) * x4;
284 double x4 = x2 * x2;
285 return Poly8(A, B, C, D, E, F, G, H, x, x2, x4) + I * (x4 * x4);
288 double x4 = x2 * x2;
289 return val + Poly4(E, F, G, H, x, x2) * x4 + I * (x4 * x4);
/frameworks/av/media/libeffects/loudness/common/core/
Dmath.h60 const T x4 = x2 * x2; in ExpApproximationViaTaylorExpansionOrder5() local
64 0.0416666666666666643537020320309238741174340248107910156250f * x4 + in ExpApproximationViaTaylorExpansionOrder5()
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp509 const float &x4 = quad.coords[6]; in findEnclosingQuad() local
524 float s3 = (x - x3) * (y4 - y3) - (y - y3) * (x4 - x3); in findEnclosingQuad()
526 float s4 = (x - x4) * (y1 - y4) - (y - y4) * (x1 - x4); in findEnclosingQuad()
543 const float &x4 = calculateU ? quad.coords[6] : quad.coords[2]; in calculateUorV() local
546 float a = (x1 - x2) * (y1 - y2 + y3 - y4) - (y1 - y2) * (x1 - x2 + x3 - x4); in calculateUorV()
548 (y - y1) * (x1 - x2 + x3 - x4) - (y1 - y2) * (x4 - x1); in calculateUorV()
549 float c = (x - x1) * (y4 - y1) - (y - y1) * (x4 - x1); in calculateUorV()

123