Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dfastidct.cpp107 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idct_col3() local
113 x4 = x0; in idct_col3()
119 x8 = x4 - x6; in idct_col3()
120 x4 += x6; in idct_col3()
130 blk[8] = (x4 + x7) >> 8; in idct_col3()
134 blk[48] = (x4 - x7) >> 8; in idct_col3()
142 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idct_col4() local
148 x4 = x0; in idct_col4()
154 x8 = x4 - x6; in idct_col4()
155 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/libstagefright/codecs/m4v_h263/dec/src/
Didct_vca.cpp99 int32 x0, x1, x2, x4, x5; in idctrow2() local
113 x4 = blk[9]; in idctrow2()
119 x5 = (W7 * x4 + 4) >> 3; in idctrow2()
120 x4 = (W1 * x4 + 4) >> 3; in idctrow2()
123 x2 = (181 * (x4 + x5) + 128) >> 8; in idctrow2()
124 x1 = (181 * (x4 - x5) + 128) >> 8; in idctrow2()
128 res = (x0 + x4) >> 14; in idctrow2()
150 res = (x0 - x4) >> 14; in idctrow2()
187 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idctrow3() local
209 x4 = x0; in idctrow3()
[all …]
Dblock_idct.cpp516 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idctrow() local
545 x4 = blk[9]; in idctrow()
557 x8 = W7 * (x4 + x5) + 4; in idctrow()
558 x4 = (x8 + (W1 - W7) * x4) >> 3; in idctrow()
570 x1 = x4 + x6; in idctrow()
571 x4 -= x6; in idctrow()
580 x2 = (181 * (x4 + x5) + 128) >> 8; in idctrow()
581 x4 = (181 * (x4 - x5) + 128) >> 8; in idctrow()
591 res = (x0 + x4) >> 14; in idctrow()
603 res2 = (x0 - x4) >> 14; in idctrow()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/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/libstagefright/codecs/amrwbenc/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
DrsCpuIntrinsics_advsimd_Blur.S1521 subs x11, x4, #windowsize - centertap
1540 1: subs x4, x4, #windowsize - centertap
1541 csel x4, xzr, x4, lo
1618 cmp x4, x12
1619 csel x4, x12, x4, hi
1662 5: subs x4, x4, #16
1675 adds x4, x4, #16
1689 1: mov x11, x4
1778 mov x2, x4 // pitch
1781 mov x4, x9 // inlen = (w - x)
[all …]
/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/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/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/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/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.cpp465 const float &x4 = quad.coords[6]; in findEnclosingQuad() local
480 float s3 = (x - x3) * (y4 - y3) - (y - y3) * (x4 - x3); in findEnclosingQuad()
482 float s4 = (x - x4) * (y1 - y4) - (y - y4) * (x1 - x4); in findEnclosingQuad()
499 const float &x4 = calculateU ? quad.coords[6] : quad.coords[2]; in calculateUorV() local
502 float a = (x1 - x2) * (y1 - y2 + y3 - y4) - (y1 - y2) * (x1 - x2 + x3 - x4); in calculateUorV()
504 (y - y1) * (x1 - x2 + x3 - x4) - (y1 - y2) * (x4 - x1); in calculateUorV()
505 float c = (x - x1) * (y4 - y1) - (y - y1) * (x4 - x1); in calculateUorV()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java536 final int x4 = 4900; in testGammaCorrectionChangeAtEdges() local
539 final float y4 = GAMMA_CORRECTION_SPLINE.interpolate(x4); in testGammaCorrectionChangeAtEdges()
546 assertEquals(y4, strategy.getBrightness(x4), 0.01f /* tolerance */); in testGammaCorrectionChangeAtEdges()
553 assertEquals(MathUtils.pow(y4, gamma), strategy.getBrightness(x4), 0.01f /* tolerance */); in testGammaCorrectionChangeAtEdges()
558 strategy.addUserDataPoint(x4, 1.0f); in testGammaCorrectionChangeAtEdges()
561 assertEquals(1.0f, strategy.getBrightness(x4), 0.01f /* tolerance */); in testGammaCorrectionChangeAtEdges()
/frameworks/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java415 float x4, float y4, in lineIntersection() argument
418 float d = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4); in lineIntersection()
424 float dy = (x3 * y4 - y3 * x4); in lineIntersection()
425 float x = (dx * (x3 - x4) - (x1 - x2) * dy) / d; in lineIntersection()
429 || ((x - x3) * (x - x4) > EPSILON) in lineIntersection()
/frameworks/rs/driver/
DrsdGL.h93 float x4, float y4, float z4, float u4, float v4);
/frameworks/base/packages/Tethering/common/TetheringLib/api/
Dsystem-current.txt37 field public static final int TETHERING_NCM = 4; // 0x4
53 field public static final int TETHER_ERROR_UNAVAIL_IFACE = 4; // 0x4

12