/frameworks/native/libs/math/tests/ |
D | vec_test.cpp | 42 vec4 v0; in TEST_F() local 43 EXPECT_EQ(v0.x, 0); in TEST_F() 44 EXPECT_EQ(v0.y, 0); in TEST_F() 45 EXPECT_EQ(v0.z, 0); in TEST_F() 46 EXPECT_EQ(v0.w, 0); in TEST_F() 86 vec4 v0(1, 2, 3, 4); in TEST_F() local 88 v0.x = 10; in TEST_F() 89 v0.y = 20; in TEST_F() 90 v0.z = 30; in TEST_F() 91 v0.w = 40; in TEST_F() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsics_advsimd_Blend.S | 58 movi v0.16b, #0 66 mov v0.16b, v8.16b 81 umull2 v12.8h, v7.16b, v0.16b 82 umull v0.8h, v7.8b, v0.8b 90 rshrn v4.8b, v0.8h, #8 99 uaddw v0.8h, v0.8h, v4.8b 108 rshrn v0.8b, v0.8h, #8 109 rshrn2 v0.16b, v12.8h, #8 117 uqadd v0.16b, v0.16b, v8.16b 163 uqadd v0.16b, v0.16b, v8.16b [all …]
|
D | rsCpuIntrinsics_advsimd_Convolve.S | 36 ld1 {v0.8h, v1.8h}, [x4] 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] 69 smlal v9.4s, v3.4h, v0.h[1] 70 smlal v8.4s, v3.4h, v0.h[2] 71 smlal2 v9.4s, v3.8h, v0.h[2] 72 smlal v8.4s, v4.4h, v0.h[3] 73 smlal2 v9.4s, v4.8h, v0.h[3] 74 smlal2 v8.4s, v4.8h, v0.h[4] [all …]
|
D | rsCpuIntrinsics_advsimd_Blur.S | 98 umull v12.4s, v14.4h, v0.h[0] 100 umull2 v13.4s, v14.8h, v0.h[0] 102 umull v14.4s, v15.4h, v0.h[0] 104 umull2 v15.4s, v15.8h, v0.h[0] 180 vertfetch_clamped 7, v0.h[7] 181 vertfetch_clamped 6, v0.h[6] 182 vertfetch_clamped 5, v0.h[5] 183 vertfetch_clamped 4, v0.h[4] 184 vertfetch_clamped 3, v0.h[3] 185 vertfetch_clamped 2, v0.h[2] [all …]
|
D | rsCpuIntrinsics_advsimd_3DLUT.S | 144 2: ld4 {v0.8b-v3.8b}, [x1], #32 148 3: uxtl v0.8h, v0.8b 151 mul v0.8h, v0.8h, v4.h[0] 160 usra v0.8h, v0.8h, #8 164 ushr v12.8h, v0.8h, #8 167 bic v0.8h, #0xff, LSL #8 189 …lanepair dst=v20.8b, src0=v6.s[0], src1=v6.s[1], xr0=v0.h[0], xr1=v0.h[1], yr0=v1.b[0], yr1=v1… 192 …lanepair dst=v20.16b, src0=v6.s[2], src1=v6.s[3], xr0=v0.h[2], xr1=v0.h[3], yr0=v1.b[2], yr1=v1… 195 …lanepair dst=v21.8b, src0=v7.s[0], src1=v7.s[1], xr0=v0.h[4], xr1=v0.h[5], yr0=v1.b[4], yr1=v1… 198 …lanepair dst=v21.16b, src0=v7.s[2], src1=v7.s[3], xr0=v0.h[6], xr1=v0.h[7], yr0=v1.b[6], yr1=v1… [all …]
|
D | rsCpuIntrinsics_advsimd_YuvToRGB.S | 76 uaddw v0.8h, v1.8h, v19.8b // r0 = g0 + (v >> 1) 96 uhadd v0.8h, v0.8h, v12.8h // r0 = (r0 + r2) >> 1 110 …uqsub v0.8h, v0.8h, v29.8h // r0 = satu16(r0 - (16 * 149 + (128 >> 1) + 128 * 204) >>… 124 uqrshrn v0.8b, v0.8h, #6 138 zip1 v0.16b, v0.16b, v16.16b 189 st4 {v0.16b - v3.16b}, [x0], #64 273 zip1 v16.16b, v0.16b, v2.16b 274 zip2 v18.16b, v0.16b, v2.16b 277 zip1 v0.16b, v16.16b, v17.16b 292 st1 {v0.d}[1], [x0], #8 [all …]
|
D | rsCpuIntrinsics_advsimd_ColorMatrix.S | 80 vmxx_s16 \i, 1, v6.4s, v12.4h, v0.h[0] 81 vmxx_s16 \i, 2, v6.4s, v13.4h, v0.h[4] 84 vmxx2_s16 \i, 1, v7.4s, v12.8h, v0.h[0] 85 vmxx2_s16 \i, 2, v7.4s, v13.8h, v0.h[4] 97 vmxx_s16 \i^31, 1, v6.4s, v12.4h, v0.h[0] 98 vmxx_s16 \i^31, 2, v6.4s, v13.4h, v0.h[4] 101 vmxx2_s16 \i^31, 1, v7.4s, v12.8h, v0.h[0] 102 vmxx2_s16 \i^31, 2, v7.4s, v13.8h, v0.h[4] 115 vmxx_s16 \i, 1, v6.4s, v12.4h, v0.h[1] 116 vmxx_s16 \i, 2, v6.4s, v13.4h, v0.h[5] [all …]
|
D | rsCpuIntrinsics_advsimd_Resize.S | 427 shadd v0.8h, v10.8h, v8.8h 429 sub v0.8h, v9.8h, v0.8h 511 smull v8.4s, v12.4h, v0.4h 512 smull2 v9.4s, v12.8h, v0.8h 551 zip1 v16.8h, v0.8h, v0.8h 575 zip2 v16.8h, v0.8h, v0.8h 612 smull v8.4s, v12.4h, v0.h[0] 613 smull v9.4s, v14.4h, v0.h[1] 635 smull v10.4s, v12.4h, v0.h[2] 636 smull v11.4s, v14.4h, v0.h[3] [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 | 567 vertex_t *v, *v0, *v1; in drawPrimitivesLineStrip() local 578 v0 = c->vc.vBuffer + 0; in drawPrimitivesLineStrip() 588 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineStrip() 590 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineStrip() 591 v0 = v1; in drawPrimitivesLineStrip() 596 c->vc.vBuffer[0] = *v0; in drawPrimitivesLineStrip() 597 c->arrays.cull = v0->flags & vertex_t::CLIP_ALL; in drawPrimitivesLineStrip() 607 vertex_t* v0 = c->vc.vBuffer; in drawPrimitivesLineLoop() local 610 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineLoop() 612 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineLoop() [all …]
|
D | context.h | 339 vertex_t* v0, vertex_t* v1, vertex_t* v2); 544 vertex_t const* v0, 549 vertex_t const* v0, 552 inline void initLerp(vertex_t const* v0, uint32_t enables);
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
D | GLES31.spec | 20 void glProgramUniform1i ( GLuint program, GLint location, GLint v0 ) 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 ) 24 void glProgramUniform1ui ( GLuint program, GLint location, GLuint v0 ) 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 … 28 void glProgramUniform1f ( GLuint program, GLint location, GLfloat v0 ) 29 void glProgramUniform2f ( GLuint program, GLint location, GLfloat v0, GLfloat v1 ) [all …]
|
D | GLES30.spec | 55 void glUniform1ui ( GLint location, GLuint v0 ) 56 void glUniform2ui ( GLint location, GLuint v0, GLuint v1 ) 57 void glUniform3ui ( GLint location, GLuint v0, GLuint v1, GLuint v2 ) 58 void glUniform4ui ( GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 )
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLES31.java | 412 int v0 in glProgramUniform1i() argument 420 int v0, in glProgramUniform2i() argument 429 int v0, in glProgramUniform3i() argument 439 int v0, in glProgramUniform4i() argument 450 int v0 in glProgramUniform1ui() argument 458 int v0, in glProgramUniform2ui() argument 467 int v0, in glProgramUniform3ui() argument 477 int v0, in glProgramUniform4ui() argument 488 float v0 in glProgramUniform1f() argument 496 float v0, in glProgramUniform2f() argument [all …]
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Quaternion.java | 119 double v0 = v[0]; 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() 127 double n2 = 2 * (x[0] * (v2 * x[0] - (x[1] * v1 - x[2] * v0)) + s * x[3]) - v2; in rotateVec()
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2_api.in | 334 void API_ENTRY(glUniform1f)(GLint location, GLfloat v0) { 335 CALL_GL_API(glUniform1f, location, v0); 340 void API_ENTRY(glUniform1i)(GLint location, GLint v0) { 341 CALL_GL_API(glUniform1i, location, v0); 346 void API_ENTRY(glUniform2f)(GLint location, GLfloat v0, GLfloat v1) { 347 CALL_GL_API(glUniform2f, location, v0, v1); 352 void API_ENTRY(glUniform2i)(GLint location, GLint v0, GLint v1) { 353 CALL_GL_API(glUniform2i, location, v0, v1); 358 void API_ENTRY(glUniform3f)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { 359 CALL_GL_API(glUniform3f, location, v0, v1, v2); [all …]
|
/frameworks/base/libs/hwui/debug/ |
D | gles_stubs.in | 334 void API_ENTRY(glUniform1f)(GLint location, GLfloat v0) { 335 CALL_GL_API(glUniform1f, location, v0); 340 void API_ENTRY(glUniform1i)(GLint location, GLint v0) { 341 CALL_GL_API(glUniform1i, location, v0); 346 void API_ENTRY(glUniform2f)(GLint location, GLfloat v0, GLfloat v1) { 347 CALL_GL_API(glUniform2f, location, v0, v1); 352 void API_ENTRY(glUniform2i)(GLint location, GLint v0, GLint v1) { 353 CALL_GL_API(glUniform2i, location, v0, v1); 358 void API_ENTRY(glUniform3f)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { 359 CALL_GL_API(glUniform3f, location, v0, v1, v2); [all …]
|
D | NullGlesDriver.h | 145 virtual void glUniform1f_(GLint location, GLfloat v0) override {} in glUniform1f_() argument 147 virtual void glUniform1i_(GLint location, GLint v0) override {} in glUniform1i_() argument 149 virtual void glUniform2f_(GLint location, GLfloat v0, GLfloat v1) override {} in glUniform2f_() argument 151 virtual void glUniform2i_(GLint location, GLint v0, GLint v1) override {} in glUniform2i_() argument 153 virtual void glUniform3f_(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) override {} in glUniform3f_() argument 155 virtual void glUniform3i_(GLint location, GLint v0, GLint v1, GLint v2) override {} in glUniform3i_() argument 157 virtual void glUniform4f_(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, in glUniform4f_() argument 160 virtual void glUniform4i_(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) override {} in glUniform4i_() argument
|
D | gles_decls.in | 112 GL_ENTRY(void, glUniform1f, GLint location, GLfloat v0) 114 GL_ENTRY(void, glUniform1i, GLint location, GLint v0) 116 GL_ENTRY(void, glUniform2f, GLint location, GLfloat v0, GLfloat v1) 118 GL_ENTRY(void, glUniform2i, GLint location, GLint v0, GLint v1) 120 GL_ENTRY(void, glUniform3f, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) 122 GL_ENTRY(void, glUniform3i, GLint location, GLint v0, GLint v1, GLint v2) 124 GL_ENTRY(void, glUniform4f, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) 126 GL_ENTRY(void, glUniform4i, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) 191 GL_ENTRY(void, glUniform1ui, GLint location, GLuint v0) 192 GL_ENTRY(void, glUniform2ui, GLint location, GLuint v0, GLuint v1) [all …]
|
/frameworks/native/opengl/include/GLES3/ |
D | gl31.h | 496 typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); 498 typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); 500 typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); 502 typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); 504 typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 506 typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); 508 typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2,… 510 typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint… 639 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); 641 GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); [all …]
|
D | gl32.h | 496 typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); 498 typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); 500 typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); 502 typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); 504 typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 506 typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); 508 typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2,… 510 typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint… 639 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); 641 GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); [all …]
|
D | gl3.h | 494 typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); 496 typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); 498 typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); 500 typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); 502 typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 504 typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); 506 typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2,… 508 typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint… 637 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); 639 GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); [all …]
|
/frameworks/native/opengl/include/GLES2/ |
D | gl2.h | 494 typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); 496 typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); 498 typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); 500 typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); 502 typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 504 typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); 506 typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2,… 508 typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint… 637 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); 639 GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); [all …]
|
/frameworks/native/libs/math/include/math/ |
D | mat2.h | 205 CONSTEXPR TMat22(const TVec2<A>& v0, const TVec2<B>& v1); 292 CONSTEXPR TMat22<T>::TMat22(const TVec2<A>& v0, const TVec2<B>& v1) { in TMat22() argument 293 m_value[0] = v0; in TMat22()
|
/frameworks/native/libs/ui/ |
D | Transform.cpp | 66 const float v0 = A[0][i]; in operator *() local 69 D[0][i] = v0*B[0][0] + v1*B[0][1] + v2*B[0][2]; in operator *() 70 D[1][i] = v0*B[1][0] + v1*B[1][1] + v2*B[1][2]; in operator *() 71 D[2][i] = v0*B[2][0] + v1*B[2][1] + v2*B[2][2]; in operator *()
|