Home
last modified time | relevance | path

Searched refs:v2 (Results 1 – 25 of 107) sorted by relevance

12345

/frameworks/rs/driver/runtime/arch/
Dgeneric.c118 extern float __attribute__((overloadable)) fmax(float v1, float v2) { in fmax() argument
119 return v1 > v2 ? v1 : v2; in fmax()
122 extern float2 __attribute__((overloadable)) fmax(float2 v1, float2 v2) { in fmax() argument
124 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
125 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
129 extern float3 __attribute__((overloadable)) fmax(float3 v1, float3 v2) { in fmax() argument
131 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
132 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
133 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax()
137 extern float4 __attribute__((overloadable)) fmax(float4 v1, float4 v2) { in fmax() argument
[all …]
Dneon.ll272 define <4 x float> @_Z4fmaxDv4_fS_(<4 x float> %v1, <4 x float> %v2) nounwind readonly {
273 …%1 = tail call <4 x float> @llvm.arm.neon.vmaxs.v4f32(<4 x float> %v1, <4 x float> %v2) nounwind r…
277 define <4 x float> @_Z4fmaxDv4_ff(<4 x float> %v1, float %v2) nounwind readonly {
278 %1 = tail call <4 x float> @smear_4f(float %v2) nounwind readnone
283 define <3 x float> @_Z4fmaxDv3_fS_(<3 x float> %v1, <3 x float> %v2) nounwind readonly {
285 %2 = shufflevector <3 x float> %v2, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
291 define <3 x float> @_Z4fmaxDv3_ff(<3 x float> %v1, float %v2) nounwind readonly {
293 %2 = tail call <4 x float> @smear_4f(float %v2) nounwind readnone
299 define <2 x float> @_Z4fmaxDv2_fS_(<2 x float> %v1, <2 x float> %v2) nounwind readonly {
300 …%1 = tail call <2 x float> @llvm.arm.neon.vmaxs.v2f32(<2 x float> %v1, <2 x float> %v2) nounwind r…
[all …]
Dasimd.ll268 define <4 x float> @_Z4fmaxDv4_fS_(<4 x float> %v1, <4 x float> %v2) nounwind readonly {
269 …%1 = tail call <4 x float> @llvm.aarch64.neon.fmax.v4f32(<4 x float> %v1, <4 x float> %v2) nounwin…
273 define <4 x float> @_Z4fmaxDv4_ff(<4 x float> %v1, float %v2) nounwind readonly {
274 %1 = tail call <4 x float> @smear_4f(float %v2) nounwind readnone
279 define <3 x float> @_Z4fmaxDv3_fS_(<3 x float> %v1, <3 x float> %v2) nounwind readonly {
281 %2 = shufflevector <3 x float> %v2, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
287 define <3 x float> @_Z4fmaxDv3_ff(<3 x float> %v1, float %v2) nounwind readonly {
289 %2 = tail call <4 x float> @smear_4f(float %v2) nounwind readnone
295 define <2 x float> @_Z4fmaxDv2_fS_(<2 x float> %v1, <2 x float> %v2) nounwind readonly {
296 …%1 = tail call <2 x float> @llvm.aarch64.neon.fmax.v2f32(<2 x float> %v1, <2 x float> %v2) nounwin…
[all …]
/frameworks/rs/driver/runtime/
Drs_cl.c13 extern float __attribute__((overloadable)) fmin(float v, float v2);
14 extern float2 __attribute__((overloadable)) fmin(float2 v, float v2);
15 extern float3 __attribute__((overloadable)) fmin(float3 v, float v2);
16 extern float4 __attribute__((overloadable)) fmin(float4 v, float v2);
18 extern float __attribute__((overloadable)) fmax(float v, float v2);
19 extern float2 __attribute__((overloadable)) fmax(float2 v, float v2);
20 extern float3 __attribute__((overloadable)) fmax(float3 v, float v2);
21 extern float4 __attribute__((overloadable)) fmax(float4 v, float v2);
72 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \
74 r.x = fnc(v1.x, v2.x); \
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_math_agree.java183 private float min(float v1, float v2) { in min() argument
184 return v1 < v2 ? v1 : v2; in min()
187 private float[] min(float[] v1, float[] v2) { in min() argument
188 assert v1.length == v2.length; in min()
191 rv[i] = min(v1[i], v2[i]); in min()
195 private byte min(byte v1, byte v2) { in min() argument
196 return v1 < v2 ? v1 : v2; in min()
199 private byte[] min(byte[] v1, byte[] v2) { in min() argument
200 assert v1.length == v2.length; in min()
203 rv[i] = min(v1[i], v2[i]); in min()
[all …]
DUT_bug_char.java41 private byte min(byte v1, byte v2) { in min() argument
42 return v1 < v2 ? v1 : v2; in min()
45 private byte[] min(byte[] v1, byte[] v2) { in min() argument
46 assert v1.length == v2.length; in min()
49 rv[i] = min(v1[i], v2[i]); in min()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_math_agree.java149 private float min(float v1, float v2) { in min() argument
150 return v1 < v2 ? v1 : v2; in min()
152 private float[] min(float[] v1, float[] v2) { in min() argument
153 assert v1.length == v2.length; in min()
156 rv[i] = min(v1[i], v2[i]); in min()
159 private byte min(byte v1, byte v2) { in min() argument
160 return v1 < v2 ? v1 : v2; in min()
162 private byte[] min(byte[] v1, byte[] v2) { in min() argument
163 assert v1.length == v2.length; in min()
166 rv[i] = min(v1[i], v2[i]); in min()
[all …]
DUT_bug_char.java40 private byte min(byte v1, byte v2) { in min() argument
41 return v1 < v2 ? v1 : v2; in min()
43 private byte[] min(byte[] v1, byte[] v2) { in min() argument
44 assert v1.length == v2.length; in min()
47 rv[i] = min(v1[i], v2[i]); in min()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_math_agree.java181 private float min(float v1, float v2) { in min() argument
182 return v1 < v2 ? v1 : v2; in min()
185 private float[] min(float[] v1, float[] v2) { in min() argument
186 assert v1.length == v2.length; in min()
189 rv[i] = min(v1[i], v2[i]); in min()
193 private byte min(byte v1, byte v2) { in min() argument
194 return v1 < v2 ? v1 : v2; in min()
197 private byte[] min(byte[] v1, byte[] v2) { in min() argument
198 assert v1.length == v2.length; in min()
201 rv[i] = min(v1[i], v2[i]); in min()
[all …]
DUT_bug_char.java39 private byte min(byte v1, byte v2) { in min() argument
40 return v1 < v2 ? v1 : v2; in min()
43 private byte[] min(byte[] v1, byte[] v2) { in min() argument
44 assert v1.length == v2.length; in min()
47 rv[i] = min(v1[i], v2[i]); in min()
Dmath_agree.rs74 static void fail_f1(float v1, float v2, float actual, float expected, char *op_name) {
78 rsDebug("v2", v2);
84 static void fail_f2(float2 v1, float2 v2, float2 actual, float2 expected, char *op_name) {
91 rsDebug("v2.x", v2.x);
92 rsDebug("v2.y", v2.y);
101 static void fail_f3(float3 v1, float3 v2, float3 actual, float3 expected, char *op_name) {
110 rsDebug("v2.x", v2.x);
111 rsDebug("v2.y", v2.y);
112 rsDebug("v2.z", v2.z);
124 static void fail_f4(float4 v1, float4 v2, float4 actual, float4 expected, char *op_name) {
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_advsimd_Blend.S60 movi v2.16b, #0
68 mov v2.16b, v10.16b
85 umull2 v14.8h, v7.16b, v2.16b
86 umull v2.8h, v7.8b, v2.8b
94 rshrn v6.8b, v2.8h, #8
103 uaddw v2.8h, v2.8h, v6.8b
112 rshrn v2.8b, v2.8h, #8
113 rshrn2 v2.16b, v14.8h, #8
119 uqadd v2.16b, v2.16b, v10.16b
165 uqadd v2.16b, v2.16b, v10.16b
[all …]
DrsCpuIntrinsics_advsimd_Convolve.S52 uxtl v2.8h, v13.8b
66 smull v8.4s, v2.4h, v0.h[0]
67 smull2 v9.4s, v2.8h, v0.h[0]
68 smlal2 v8.4s, v2.8h, v0.h[1]
121 ld1 {v0.8h-v2.8h}, [x6], #48
206 smlal2 v4.4s, v12.8h, v2.h[0]
207 smlal v5.4s, v13.4h, v2.h[0]
208 smlal v4.4s, v13.4h, v2.h[1]
209 smlal2 v5.4s, v13.8h, v2.h[1]
210 smlal2 v4.4s, v13.8h, v2.h[2]
[all …]
DrsCpuIntrinsics_advsimd_3DLUT.S150 uxtl v2.8h, v2.8b
153 mul v2.8h, v2.8h, v4.h[2]
162 usra v2.8h, v2.8h, #8
166 ushr v14.8h, v2.8h, #8
169 bic v2.8h, #0xff, LSL #8
189 …v6.s[0], src1=v6.s[1], xr0=v0.h[0], xr1=v0.h[1], yr0=v1.b[0], yr1=v1.b[1], zr0=v2.h[0], zr1=v2.h[1]
192 …v6.s[2], src1=v6.s[3], xr0=v0.h[2], xr1=v0.h[3], yr0=v1.b[2], yr1=v1.b[3], zr0=v2.h[2], zr1=v2.h[3]
195 …v7.s[0], src1=v7.s[1], xr0=v0.h[4], xr1=v0.h[5], yr0=v1.b[4], yr1=v1.b[5], zr0=v2.h[4], zr1=v2.h[5]
198 …v7.s[2], src1=v7.s[3], xr0=v0.h[6], xr1=v0.h[7], yr0=v1.b[6], yr1=v1.b[7], zr0=v2.h[6], zr1=v2.h[7]
DrsCpuIntrinsics_advsimd_Blur.S164 vertfetch_clamped 23, v2.h[7]
165 vertfetch_clamped 22, v2.h[6]
166 vertfetch_clamped 21, v2.h[5]
167 vertfetch_clamped 20, v2.h[4]
168 vertfetch_clamped 19, v2.h[3]
169 vertfetch_clamped 18, v2.h[2]
170 vertfetch_clamped 17, v2.h[1]
171 vertfetch_clamped 16, v2.h[0]
199 vertfetch_noclamp 23, v2.h[7]
200 vertfetch_noclamp 22, v2.h[6]
[all …]
DrsCpuIntrinsics_advsimd_YuvToRGB.S84 add v2.8h, v1.8h, v19.8h // b0 = g0 + (u << 2)
100 uhadd v2.8h, v2.8h, v13.8h // b0 = (b0 + b2) >> 1
114 …uqsub v2.8h, v2.8h, v31.8h // b0 = satu16(b0 - (16 * 149 + (128 << 2) + 128 * 254) >>…
128 uqrshrn v2.8b, v2.8h, #6
140 zip1 v2.16b, v2.16b, v18.16b
273 zip1 v16.16b, v0.16b, v2.16b
274 zip2 v18.16b, v0.16b, v2.16b
279 zip1 v2.16b, v18.16b, v19.16b
288 st1 {v2.16b,v3.16b}, [x0], #32
/frameworks/native/opengl/libagl/
Dprimitives.cpp40 vertex_t* v0, vertex_t* v1, vertex_t* v2);
45 vertex_t* v0, vertex_t* v1, vertex_t* v2);
48 vertex_t* v0, vertex_t* v1, vertex_t* v2);
51 vertex_t* v0, vertex_t* v1, vertex_t* v2);
54 vertex_t* v0, vertex_t* v1, vertex_t* v2);
57 vertex_t* v0, vertex_t* v1, vertex_t* v2);
60 vertex_t* v0, vertex_t* v1, vertex_t* v2);
63 vertex_t* v0, vertex_t* v1, vertex_t* v2);
74 vertex_t* v0, vertex_t* v1, vertex_t* v2) in lightTriangleDarkSmooth() argument
88 if(!(v2->flags & vertex_t::LIT)) { in lightTriangleDarkSmooth()
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DQuaternion.java53 public void set(double[] v1, double[] v2) { in set() argument
55 double[] vec2 = normal(v2); in set()
61 public static double calcAngle(double[] v1, double[] v2) { in calcAngle() argument
63 double[] vec2 = normal(v2); in calcAngle()
67 public static double[] calcAxis(double[] v1, double[] v2) { in calcAxis() argument
69 double[] vec2 = normal(v2); in calcAxis()
121 double v2 = v[2]; in rotateVec() local
123 double s = x[1] * v0 + x[2] * v1 + x[3] * v2; in rotateVec()
125 double n0 = 2 * (x[0] * (v0 * x[0] - (x[2] * v2 - x[3] * v1)) + s * x[1]) - v0; in rotateVec()
126 double n1 = 2 * (x[0] * (v1 * x[0] - (x[3] * v0 - x[1] * v2)) + s * x[2]) - v1; in rotateVec()
[all …]
/frameworks/base/libs/androidfw/tests/
DTypeWrappers_test.cpp57 Res_value v2; in createTypeData() local
58 memset(&v2, 0, sizeof(v2)); in createTypeData()
59 t.header.size += sizeof(v2); in createTypeData()
73 memcpy(p, &v2, sizeof(v2)); in createTypeData()
74 p += sizeof(v2); in createTypeData()
/frameworks/native/libs/math/tests/
Dvec_test.cpp54 vec4 v2(1, 2, 3, 4); in TEST_F() local
55 EXPECT_EQ(v2.x, 1); in TEST_F()
56 EXPECT_EQ(v2.y, 2); in TEST_F()
57 EXPECT_EQ(v2.z, 3); in TEST_F()
58 EXPECT_EQ(v2.w, 4); in TEST_F()
60 vec4 v3(v2); in TEST_F()
72 vec4 v5(vec3(v2.xy, 42), 24); in TEST_F()
211 vec4 v2(v0 + v1); in TEST_F() local
212 EXPECT_EQ(v2.x, 11); in TEST_F()
213 EXPECT_EQ(v2.y, 22); in TEST_F()
[all …]
/frameworks/base/tools/split-select/
DAbi.cpp24 static Vector<Variant> buildVariants(Variant v1, Variant v2) { in buildVariants() argument
27 v.add(v2); in buildVariants()
31 static Vector<Variant> buildVariants(Variant v1, Variant v2, Variant v3) { in buildVariants() argument
34 v.add(v2); in buildVariants()
/frameworks/base/core/tests/overlaytests/host/test-apps/UpdateOverlay/
DAndroid.mk49 LOCAL_AAPT_FLAGS += --version-code 2 --version-name v2
50 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/framework/v2/res
73 LOCAL_AAPT_FLAGS += --version-code 2 --version-name v2
74 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/app/v2/res
75 LOCAL_MANIFEST_FILE := app/v2/AndroidManifest.xml
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dconceal.cpp151 uint8 *y1, *y2, *u1, *u2, *v1, *v2; in CopyVopMB() local
168 v2 = prevFrame + size + (size >> 2) + chrstart; in CopyVopMB()
191 oscl_memcpy(v1, v2, B_SIZE); in CopyVopMB()
193 v2 += width_C; in CopyVopMB()
194 oscl_memcpy(v1, v2, B_SIZE); in CopyVopMB()
196 v2 += width_C; in CopyVopMB()
/frameworks/layoutlib/bridge/tests/src/android/graphics/
DMatrix_DelegateTest.java42 float[] v2 = new float[9]; in testCopyConstructor() local
44 m2.getValues(v2); in testCopyConstructor()
47 assertEquals(v1[i], v2[i]); in testCopyConstructor()
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DLockTargetStateAnalysis.java87 public BasicValue merge(BasicValue v1, BasicValue v2) { in merge() argument
88 BasicValue base = super.merge(v1, v2); in merge()
93 if (!(v2 instanceof LockTargetState)) { in merge()
98 LockTargetState state2 = (LockTargetState) v2; in merge()

12345