/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 114 extern float __attribute__((overloadable)) fmax(float v1, float v2) { in fmax() argument 115 return v1 > v2 ? v1 : v2; in fmax() 118 extern float2 __attribute__((overloadable)) fmax(float2 v1, float2 v2) { in fmax() argument 120 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax() 121 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax() 125 extern float3 __attribute__((overloadable)) fmax(float3 v1, float3 v2) { in fmax() argument 127 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax() 128 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax() 129 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax() 133 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_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 | 49 vec4 v1(1); in TEST_F() local 50 EXPECT_EQ(v1.x, 1); in TEST_F() 51 EXPECT_EQ(v1.y, 1); in TEST_F() 52 EXPECT_EQ(v1.z, 1); in TEST_F() 53 EXPECT_EQ(v1.w, 1); in TEST_F() 140 vec4 v1(10, 20, 30, 40); in TEST_F() local 142 v0 += v1; in TEST_F() 148 v0 -= v1; in TEST_F() 154 v0 *= v1; in TEST_F() 160 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 | 125 float v1 = 0.0f; in createMesh() local 141 v1 += vOffset / bitmapHeight; in createMesh() 144 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX, in createMesh() 149 v1 = stepY / bitmapHeight; in createMesh() 156 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, in createMesh() 172 float y1, float y2, float v1, float v2, float stretchX, float rescaleX, in generateRow() argument 196 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); in generateRow() 207 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); in generateRow() 212 float u1, float v1, float u2, float v2, uint32_t& quadCount) { in generateQuad() argument 225 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/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/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/base/core/java/android/content/pm/ |
D | XmlSerializerAndParser.java | 19 import org.xmlpull.v1.XmlSerializer; 20 import org.xmlpull.v1.XmlPullParser; 21 import org.xmlpull.v1.XmlPullParserException;
|
/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()
|
/frameworks/base/tools/layoutlib/bridge/tests/src/android/graphics/ |
D | Matrix_DelegateTest.java | 39 float[] v1 = new float[9]; in testCopyConstructor() local 41 m1.getValues(v1); in testCopyConstructor() 45 assertEquals(v1[i], v2[i]); in testCopyConstructor()
|
/frameworks/rs/api/ |
D | rs_core_math.spec | 924 return (v1 < v2 ? v1 : v2); 939 tmp.x = (v1.x < v2.x ? v1.x : v2.x); 940 tmp.y = (v1.y < v2.y ? v1.y : v2.y); 956 tmp.x = (v1.x < v2.x ? v1.x : v2.x); 957 tmp.y = (v1.y < v2.y ? v1.y : v2.y); 958 tmp.z = (v1.z < v2.z ? v1.z : v2.z); 974 tmp.x = (v1.x < v2.x ? v1.x : v2.x); 975 tmp.y = (v1.y < v2.y ? v1.y : v2.y); 976 tmp.z = (v1.z < v2.z ? v1.z : v2.z); 977 tmp.w = (v1.w < v2.w ? v1.w : v2.w); [all …]
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
D | GLES31.spec | 21 void glProgramUniform2i ( GLuint program, GLint location, GLint v0, GLint v1 ) 22 void glProgramUniform3i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2 ) 23 void glProgramUniform4i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3 ) 25 void glProgramUniform2ui ( GLuint program, GLint location, GLuint v0, GLuint v1 ) 26 void glProgramUniform3ui ( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2 ) 27 void glProgramUniform4ui ( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint … 29 void glProgramUniform2f ( GLuint program, GLint location, GLfloat v0, GLfloat v1 ) 30 void glProgramUniform3f ( GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2 ) 31 void glProgramUniform4f ( GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLflo…
|