/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 117 extern float __attribute__((overloadable)) fmax(float v1, float v2) { in fmax() argument 118 return v1 > v2 ? v1 : v2; in fmax() 121 extern float2 __attribute__((overloadable)) fmax(float2 v1, float2 v2) { in fmax() argument 123 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax() 124 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax() 128 extern float3 __attribute__((overloadable)) fmax(float3 v1, float3 v2) { in fmax() argument 130 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax() 131 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax() 132 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax() 136 extern float4 __attribute__((overloadable)) fmax(float4 v1, float4 v2) { in fmax() argument [all …]
|
D | neon.ll | 272 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 { 279 …%2 = tail call <4 x float> @llvm.arm.neon.vmaxs.v4f32(<4 x float> %v1, <4 x float> %1) nounwind re… 283 define <3 x float> @_Z4fmaxDv3_fS_(<3 x float> %v1, <3 x float> %v2) nounwind readonly { 284 %1 = shufflevector <3 x float> %v1, <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 { 292 %1 = shufflevector <3 x float> %v1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3> 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 …]
|
D | asimd.ll | 268 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 { 275 …%2 = tail call <4 x float> @llvm.aarch64.neon.fmax.v4f32(<4 x float> %v1, <4 x float> %1) nounwind… 279 define <3 x float> @_Z4fmaxDv3_fS_(<3 x float> %v1, <3 x float> %v2) nounwind readonly { 280 %1 = shufflevector <3 x float> %v1, <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 { 288 %1 = shufflevector <3 x float> %v1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3> 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/ |
D | rs_cl.c | 71 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \ 73 r.x = fnc(v1.x, v2.x); \ 74 r.y = fnc(v1.y, v2.y); \ 77 extern float3 __attribute__((overloadable)) fnc(float3 v1, float3 v2) { \ 79 r.x = fnc(v1.x, v2.x); \ 80 r.y = fnc(v1.y, v2.y); \ 81 r.z = fnc(v1.z, v2.z); \ 84 extern float4 __attribute__((overloadable)) fnc(float4 v1, float4 v2) { \ 86 r.x = fnc(v1.x, v2.x); \ 87 r.y = fnc(v1.y, v2.y); \ [all …]
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | UT_math_agree.java | 149 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() 154 float[] rv = new float[v1.length]; in min() 155 for (int i = 0; i < v1.length; ++i) 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 [all …]
|
D | UT_bug_char.java | 40 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() 45 byte[] rv = new byte[v1.length]; in min() 46 for (int i = 0; i < v1.length; ++i) in min() 47 rv[i] = min(v1[i], v2[i]); in min()
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_math_agree.java | 149 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() 154 float[] rv = new float[v1.length]; in min() 155 for (int i = 0; i < v1.length; ++i) 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 [all …]
|
D | UT_bug_char.java | 40 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() 45 byte[] rv = new byte[v1.length]; in min() 46 for (int i = 0; i < v1.length; ++i) in min() 47 rv[i] = min(v1[i], v2[i]); in min()
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_math_agree.java | 149 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() 154 float[] rv = new float[v1.length]; in min() 155 for (int i = 0; i < v1.length; ++i) 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 [all …]
|
D | UT_bug_char.java | 40 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() 45 byte[] rv = new byte[v1.length]; in min() 46 for (int i = 0; i < v1.length; ++i) in min() 47 rv[i] = min(v1[i], v2[i]); in min()
|
/frameworks/native/libs/ui/tests/ |
D | vec_test.cpp | 50 vec4 v1(1); in TEST_F() local 51 EXPECT_EQ(v1.x, 1); in TEST_F() 52 EXPECT_EQ(v1.y, 1); in TEST_F() 53 EXPECT_EQ(v1.z, 1); in TEST_F() 54 EXPECT_EQ(v1.w, 1); in TEST_F() 141 vec4 v1(10, 20, 30, 40); in TEST_F() local 143 v0 += v1; in TEST_F() 149 v0 -= v1; in TEST_F() 155 v0 *= v1; in TEST_F() 161 v0 /= v1; in TEST_F() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsics_advsimd_Blend.S | 59 movi v1.16b, #0 67 mov v1.16b, v9.16b 83 umull2 v13.8h, v7.16b, v1.16b 84 umull v1.8h, v7.8b, v1.8b 92 rshrn v5.8b, v1.8h, #8 101 uaddw v1.8h, v1.8h, v5.8b 110 rshrn v1.8b, v1.8h, #8 111 rshrn2 v1.16b, v13.8h, #8 118 uqadd v1.16b, v1.16b, v9.16b 164 uqadd v1.16b, v1.16b, v9.16b [all …]
|
D | rsCpuIntrinsics_advsimd_Blur.S | 178 108: umlal v14.4s, v8.4h, v1.h[0] 179 umlal2 v15.4s, v8.8h, v1.h[0] 180 umlal v14.4s, v10.4h, v1.h[0] 181 umlal2 v15.4s, v10.8h, v1.h[0] 268 umlal v14.4s, v12.4h, v1.h[7] 269 umlal2 v15.4s, v12.8h, v1.h[7] 270 umlal v14.4s, v13.4h, v1.h[7] 271 umlal2 v15.4s, v13.8h, v1.h[7] 274 umlal v14.4s, v12.4h, v1.h[6] 275 umlal2 v15.4s, v12.8h, v1.h[6] [all …]
|
D | rsCpuIntrinsics_advsimd_Convolve.S | 36 ld1 {v0.8h, v1.8h}, [x4] 82 smlal v8.4s, v7.4h, v1.h[0] 83 smlal2 v9.4s, v7.8h, v1.h[0] 167 smlal2 v4.4s, v13.8h, v1.h[0] 168 smlal v5.4s, v14.4h, v1.h[0] 169 smlal v4.4s, v14.4h, v1.h[1] 170 smlal2 v5.4s, v14.8h, v1.h[1] 193 smlal v4.4s, v9.4h, v1.h[2] 194 smlal2 v5.4s, v9.8h, v1.h[2] 195 smlal2 v4.4s, v9.8h, v1.h[3] [all …]
|
D | rsCpuIntrinsics_advsimd_3DLUT.S | 149 uxtl v1.8h, v1.8b 152 mul v1.8h, v1.8h, v4.h[1] 161 usra v1.8h, v1.8h, #8 165 ushr v13.8h, v1.8h, #8 168 xtn v1.8b, v1.8h 189 …t=v20.8b, src0=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.… 192 …t=v20.16b, src0=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.… 195 …t=v21.8b, src0=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.… 198 …t=v21.16b, src0=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.…
|
D | rsCpuIntrinsics_advsimd_YuvToRGB.S | 65 umull v1.8h, v8.8b, v24.8b // g0 = y0 * 149 76 uaddw v0.8h, v1.8h, v19.8b // r0 = g0 + (v >> 1) 84 add v2.8h, v1.8h, v19.8h // b0 = g0 + (u << 2) 98 …uqadd v1.8h, v1.8h, v30.8h // g0 = satu16(g0 + (-16 * 149 + 128 * 50 + 128 * 104) >> … 112 uqsub v1.8h, v1.8h, v8.8h // g0 = satu16(g0 - g2) 126 uqrshrn v1.8b, v1.8h, #7 139 zip1 v1.16b, v1.16b, v17.16b 275 zip1 v17.16b, v1.16b, v3.16b 276 zip2 v19.16b, v1.16b, v3.16b 278 zip2 v1.16b, v16.16b, v17.16b [all …]
|
/frameworks/native/opengl/libagl/ |
D | primitives.cpp | 38 static void primitive_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1); 40 vertex_t* v0, vertex_t* v1, vertex_t* v2); 43 static void primitive_nop_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1); 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); [all …]
|
D | array.cpp | 569 vertex_t *v, *v0, *v1; in drawPrimitivesLineStrip() local 589 v1 = v++; in drawPrimitivesLineStrip() 590 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineStrip() 592 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineStrip() 593 v0 = v1; in drawPrimitivesLineStrip() 610 vertex_t* v1 = c->vc.vBuffer + 1; in drawPrimitivesLineLoop() local 611 c->arrays.compileElement(c, v1, first); in drawPrimitivesLineLoop() 612 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineLoop() 614 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineLoop() 659 vertex_t *v, *v0, *v1, *v2; in drawPrimitivesTriangleFanOrStrip() local [all …]
|
/frameworks/base/libs/hwui/ |
D | Patch.cpp | 107 float v1 = 0.0f; in Patch() local 123 v1 += vOffset / bitmapHeight; in Patch() 126 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX, in Patch() 131 v1 = stepY / bitmapHeight; in Patch() 138 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, in Patch() 150 float y1, float y2, float v1, float v2, float stretchX, float rescaleX, in generateRow() argument 174 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); in generateRow() 185 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); in generateRow() 190 float u1, float v1, float u2, float v2, uint32_t& quadCount) { in generateQuad() argument 203 PATCH_LOGD(" left, top = %.2f, %.2f\t\tu1, v1 = %.8f, %.8f", x1, y1, u1, v1); in generateQuad() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | TypeWrappers_test.cpp | 44 Res_value v1; in createTypeData() local 45 memset(&v1, 0, sizeof(v1)); in createTypeData() 46 t.header.size += sizeof(v1); in createTypeData() 50 offsets[2] = sizeof(e1) + sizeof(v1); in createTypeData() 69 memcpy(p, &v1, sizeof(v1)); in createTypeData() 70 p += sizeof(v1); in createTypeData()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Quaternion.java | 53 public void set(double[] v1, double[] v2) { in set() argument 54 double[] vec1 = normal(v1); in set() 61 public static double calcAngle(double[] v1, double[] v2) { in calcAngle() argument 62 double[] vec1 = normal(v1); in calcAngle() 67 public static double[] calcAxis(double[] v1, double[] v2) { in calcAxis() argument 68 double[] vec1 = normal(v1); in calcAxis() 120 double v1 = v[1]; 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/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | artistic1.rs | 47 float4 v1 = rsUnpackColor8888(in); 55 v1 = mix(v1, v2, dist * 2.f); 56 v1 *= 1.f - pdist; 59 uchar4 out = rsPackColorTo8888(v1);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | artistic1.rs | 47 float4 v1 = rsUnpackColor8888(in); 55 v1 = mix(v1, v2, dist * 2.f); 56 v1 *= 1.f - pdist; 59 uchar4 out = rsPackColorTo8888(v1);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | artistic1.rs | 47 float4 v1 = rsUnpackColor8888(in); 55 v1 = mix(v1, v2, dist * 2.f); 56 v1 *= 1.f - pdist; 59 uchar4 out = rsPackColorTo8888(v1);
|
/frameworks/base/tools/split-select/ |
D | Abi.cpp | 24 static Vector<Variant> buildVariants(Variant v1, Variant v2) { in buildVariants() argument 26 v.add(v1); in buildVariants() 31 static Vector<Variant> buildVariants(Variant v1, Variant v2, Variant v3) { in buildVariants() argument 33 v.add(v1); in buildVariants()
|