/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 118 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 …]
|
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 { 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 …]
|
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 { 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 …]
|
/frameworks/rs/driver/runtime/ |
D | rs_cl.c | 13 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/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() 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 …]
|
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() 47 rv[i] = min(v1[i], v2[i]); in min()
|
D | math_agree.rs | 58 static void fail_f1(float v1, float v2, float actual, float expected, char *op_name) { 62 rsDebug("v2", v2); 68 static void fail_f2(float2 v1, float2 v2, float2 actual, float2 expected, char *op_name) { 75 rsDebug("v2.x", v2.x); 76 rsDebug("v2.y", v2.y); 85 static void fail_f3(float3 v1, float3 v2, float3 actual, float3 expected, char *op_name) { 94 rsDebug("v2.x", v2.x); 95 rsDebug("v2.y", v2.y); 96 rsDebug("v2.z", v2.z); 108 static void fail_f4(float4 v1, float4 v2, float4 actual, float4 expected, char *op_name) { [all …]
|
/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() 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 …]
|
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() 47 rv[i] = min(v1[i], v2[i]); in min()
|
/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() 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 …]
|
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() 47 rv[i] = min(v1[i], v2[i]); in min()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsics_advsimd_Blend.S | 60 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 …]
|
D | rsCpuIntrinsics_advsimd_Convolve.S | 52 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 …]
|
D | rsCpuIntrinsics_advsimd_3DLUT.S | 150 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]
|
D | rsCpuIntrinsics_advsimd_Blur.S | 164 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 …]
|
D | rsCpuIntrinsics_advsimd_YuvToRGB.S | 84 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/ |
D | primitives.cpp | 40 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/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Quaternion.java | 53 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/hwui/ |
D | Patch.cpp | 120 float v2 = std::max(0.0f, stepY - vOffset) / bitmapHeight; in Patch() local 124 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX, in Patch() 148 float y1, float y2, float v1, float v2, float stretchX, float rescaleX, in generateRow() argument 172 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); in generateRow() 183 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); in generateRow() 188 float u1, float v1, float u2, float v2, uint32_t& quadCount) { in generateQuad() argument 202 PATCH_LOGD(" right, bottom = %.2f, %.2f\t\tu2, v2 = %.8f, %.8f", x2, y2, u2, v2); in generateQuad() 212 mUvMapper.map(u1, v1, u2, v2); in generateQuad() 216 TextureVertex::set(vertex++, x1, y2, u1, v2); in generateQuad() 217 TextureVertex::set(vertex++, x2, y2, u2, v2); in generateQuad() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | TypeWrappers_test.cpp | 57 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/ui/tests/ |
D | vec_test.cpp | 56 vec4 v2(1,2,3,4); in TEST_F() local 57 EXPECT_EQ(v2.x, 1); in TEST_F() 58 EXPECT_EQ(v2.y, 2); in TEST_F() 59 EXPECT_EQ(v2.z, 3); in TEST_F() 60 EXPECT_EQ(v2.w, 4); in TEST_F() 62 vec4 v3(v2); in TEST_F() 74 vec4 v5(vec3(v2.xy, 42), 24); in TEST_F() 213 vec4 v2(v0 + v1); in TEST_F() local 214 EXPECT_EQ(v2.x, 11); in TEST_F() 215 EXPECT_EQ(v2.y, 22); in TEST_F() [all …]
|
/frameworks/base/tools/split-select/ |
D | Abi.cpp | 24 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/tools/layoutlib/bridge/tests/src/android/graphics/ |
D | Matrix_DelegateTest.java | 40 float[] v2 = new float[9]; in testCopyConstructor() local 42 m2.getValues(v2); in testCopyConstructor() 45 assertEquals(v1[i], v2[i]); in testCopyConstructor()
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
D | ImageCompare.java | 30 int v2 = 0xFF & second[i]; in compareImage() local 31 int error = Math.abs(v1 - v2); in compareImage() 62 int v2 = 0xFF & second[i]; in compareBitmap() local 63 int error = Math.abs(v1 - v2); in compareBitmap() 127 int v2 = 0xFF & second[i]; in printWrongIndex() local 128 int error = Math.abs(v1 - v2); in printWrongIndex()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | conceal.cpp | 147 uint8 *y1, *y2, *u1, *u2, *v1, *v2; in CopyVopMB() local 164 v2 = prevFrame + size + (size >> 2) + chrstart; in CopyVopMB() 187 oscl_memcpy(v1, v2, B_SIZE); in CopyVopMB() 189 v2 += width_C; in CopyVopMB() 190 oscl_memcpy(v1, v2, B_SIZE); in CopyVopMB() 192 v2 += width_C; in CopyVopMB()
|