/frameworks/native/libs/ui/tests/ |
H A D | vec_test.cpp | 44 vec4 v0; local 45 EXPECT_EQ(v0.x, 0); 46 EXPECT_EQ(v0.y, 0); 47 EXPECT_EQ(v0.z, 0); 48 EXPECT_EQ(v0.w, 0); 88 vec4 v0(1,2,3,4); 89 v0.x = 10; 90 v0.y = 20; 91 v0.z = 30; 92 v0 [all...] |
/frameworks/native/opengl/libagl/arch-mips/ |
H A D | fixed_asm.S | 44 srl $v0,$t2,$t1 46 andi $t4,$v0,0x1 47 srl $v0,$v0,1 /* scale to 16.16 */ 48 addu $v0,$v0,$t4 /* round-to-nearest */ 49 subu $t2,$zero,$v0 50 movn $v0,$t2,$t0 /* if negative? */ 52 movz $v0,$zero,$t1 53 movz $v0, [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsics_advsimd_Convolve.S | 35 /* Load the coefficients in the v0, v1 registers */ 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 [all...] |
H A 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 [all...] |
H A D | rsCpuIntrinsics_advsimd_Blur.S | 70 * v0-v3 -- coefficient table 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 [all...] |
H A D | rsCpuIntrinsics_advsimd_3DLUT.S | 144 2: ld4 {v0.8b-v3.8b}, [x1], #32 145 /* v0,v1,v2,v3 source data 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 [all...] |
H A D | rsCpuIntrinsics_advsimd_YuvToRGB.S | 31 /* v0 out R_lo / even R_lo accumulator 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) >> 1) 124 uqrshrn v0.8b, v0.8h, #6 138 zip1 v0.16b, v0 [all...] |
H A 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 [all...] |
H A D | rsCpuIntrinsics_advsimd_Resize.S | 427 shadd v0.8h, v10.8h, v8.8h 429 sub v0.8h, v9.8h, v0.8h 466 * of the four taps in v0 - v3. That's eight pixels worth of 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 [all...] |
/frameworks/native/opengl/libagl/ |
H A 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_ 73 lightTriangleDarkSmooth(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 109 lightTriangleSmooth(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 159 lightTriangleDarkSmoothFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 167 lightTriangleDarkFlatFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 177 lightTriangleSmoothFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 185 lightTriangleFlatFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 236 initTriangle( vertex_t const* v0, vertex_t const* v1, vertex_t const* v2) argument 246 initLine( vertex_t const* v0, vertex_t const* v1) argument 254 initLerp(vertex_t const* v0, uint32_t enables) argument 390 fetch_texcoord_impl(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 435 fetch_texcoord(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 532 primitive_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1) argument 574 primitive_clip_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 614 triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 631 lerp_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 715 lerp_texcoords(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 759 lerp_texcoords_w(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 850 clip_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument [all...] |
H A D | array.cpp | 569 vertex_t *v, *v0, *v1; 580 v0 = c->vc.vBuffer + 0; 590 const uint32_t cc = v0->flags & v1->flags; 592 c->prims.renderLine(c, v0, v1); 593 v0 = v1; 598 c->vc.vBuffer[0] = *v0; 599 c->arrays.cull = v0->flags & vertex_t::CLIP_ALL; 609 vertex_t* v0 = c->vc.vBuffer; local 612 const uint32_t cc = v0->flags & v1->flags; 614 c->prims.renderLine(c, v0, v 788 vertex_t* v0 = v; local 815 vertex_t* v0 = v; local 847 vertex_t* const v0 = fetch_vertex(c, read_index(type, indices)); local 870 vertex_t* v0 = v; local 917 vertex_t* const v0 = fetch_vertex(c, *p++); local 931 vertex_t* const v0 = fetch_vertex(c, *p++); local [all...] |
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A 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 v3 ) 28 void glProgramUniform1f ( GLuint program, GLint location, GLfloat v0 ) 29 void glProgramUniform2f ( GLuint program, GLint location, GLfloat v0, GLfloa [all...] |
H A 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/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | deringing_luma.cpp | 39 int v0, h0; local 80 v0 = ((v_blk - 1) >= 1) ? (v_blk - 1) : 1; 96 AdaptiveSmooth_NoMMX(Rec_Y, v0, h0, v_blk, h_blk, 134 v0 = v_blk - 1; 150 AdaptiveSmooth_NoMMX(Rec_Y, v0, h0, v_blk, h_blk, 193 v0 = v_blk - 1; 212 AdaptiveSmooth_NoMMX(Rec_Y, v0, h0, v_blk, h_blk, 215 DeringAdaptiveSmoothMMX(&Rec_Y[v0*width+h0],
|
H A D | chvr_filter.cpp | 45 int max_diff, thres, v0, h0, min_blk, max_blk; local 463 v0 = (br << 3) - 1; 467 AdaptiveSmooth_NoMMX(rec, v0, h0, v0 + 1, h0 + 1, thres, width, max_diff); 539 v0 = (br << 3) + 1; 546 AdaptiveSmooth_NoMMX(rec, v0, h0, v0 - 3, h0 - 3, thres, width, max_diff);
|
H A D | deringing_chroma.cpp | 40 int v0, h0; local 122 v0 = v_blk - 1; 133 for (v_pel = v0; v_pel < v_blk + BLKSIZE - 1; v_pel++) 201 AdaptiveSmooth_NoMMX(Rec_C, v0, h0, v_blk, h_blk, thres, width, max_diff); 203 DeringAdaptiveSmoothMMX(&Rec_C[(int32)v0*width+h0], width, thres, max_diff);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | Quaternion.java | 119 double v0 = v[0];
123 double s = x[1] * v0 + x[2] * v1 + x[3] * v2;
125 double n0 = 2 * (x[0] * (v0 * x[0] - (x[2] * v2 - x[3] * v1)) + s * x[1]) - v0;
126 double n1 = 2 * (x[0] * (v1 * x[0] - (x[3] * v0 - x[1] * v2)) + s * x[2]) - v1;
127 double n2 = 2 * (x[0] * (v2 * x[0] - (x[1] * v1 - x[2] * v0)) + s * x[3]) - v2;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES31.java | 407 // C function void glProgramUniform1i ( GLuint program, GLint location, GLint v0 ) 412 int v0 415 // C function void glProgramUniform2i ( GLuint program, GLint location, GLint v0, GLint v1 ) 420 int v0, 424 // C function void glProgramUniform3i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2 ) 429 int v0, 434 // C function void glProgramUniform4i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3 ) 439 int v0, 445 // C function void glProgramUniform1ui ( GLuint program, GLint location, GLuint v0 ) 450 int v0 417 glProgramUniform2i( int program, int location, int v0, int v1 ) argument 426 glProgramUniform3i( int program, int location, int v0, int v1, int v2 ) argument 436 glProgramUniform4i( int program, int location, int v0, int v1, int v2, int v3 ) argument 455 glProgramUniform2ui( int program, int location, int v0, int v1 ) argument 464 glProgramUniform3ui( int program, int location, int v0, int v1, int v2 ) argument 474 glProgramUniform4ui( int program, int location, int v0, int v1, int v2, int v3 ) argument 493 glProgramUniform2f( int program, int location, float v0, float v1 ) argument 502 glProgramUniform3f( int program, int location, float v0, float v1, float v2 ) argument 512 glProgramUniform4f( int program, int location, float v0, float v1, float v2, float v3 ) argument [all...] |
/frameworks/base/libs/hwui/debug/ |
H A D | nullgles.cpp | 237 void glUniform1f(GLint location, GLfloat v0) {} argument 239 void glUniform1i(GLint location, GLint v0) {} argument 241 void glUniform2f(GLint location, GLfloat v0, GLfloat v1) {} argument 243 void glUniform2i(GLint location, GLint v0, GLint v1) {} argument 245 void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) {} argument 247 void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) {} argument 249 void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) {} argument 251 void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) {} argument
|
/frameworks/native/opengl/include/GLES3/ |
H A 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, GLfloat v3); 510 typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 639 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); 641 GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); [all...] |
H A 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, GLfloat v3); 510 typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 639 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); 641 GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); [all...] |
/frameworks/native/opengl/include/GLES2/ |
H A D | gl2.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, GLfloat v3); 510 typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 639 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); 641 GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.cpp | 71 const float v0 = A[0][i]; local 74 D[0][i] = v0*B[0][0] + v1*B[0][1] + v2*B[0][2]; 75 D[1][i] = v0*B[1][0] + v1*B[1][1] + v2*B[1][2]; 76 D[2][i] = v0*B[2][0] + v1*B[2][1] + v2*B[2][2];
|
/frameworks/native/opengl/libs/GLES2/ |
H A D | gl2.cpp | 143 " move %[v0], $0\n\t" \ 148 [v0] "=&r"(_v0) \ 177 " move %[v0], $0\n\t" \ 182 [v0] "=&r"(_v0) \
|
/frameworks/native/opengl/libs/GLES_CM/ |
H A D | gl.cpp | 199 " move %[v0], $0\n\t" \ 204 [v0] "=&r"(_v0) \ 233 " move %[v0], $0\n\t" \ 238 [v0] "=&r"(_v0) \
|