Searched refs:vec4 (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/libs/math/tests/ |
D | vec_test.cpp | 32 vec4 v4; in TEST_F() 35 EXPECT_EQ(sizeof(vec4), sizeof(float)*4); in TEST_F() 42 vec4 v0; in TEST_F() 48 vec4 v1(1); in TEST_F() 54 vec4 v2(1, 2, 3, 4); in TEST_F() 60 vec4 v3(v2); in TEST_F() 66 vec4 v4(v3.xyz, 42); in TEST_F() 72 vec4 v5(vec3(v2.xy, 42), 24); in TEST_F() 86 vec4 v0(1, 2, 3, 4); in TEST_F() 114 vec4 v0(1, 2, 3, 4); in TEST_F() [all …]
|
D | mat_test.cpp | 71 mat4 m2(vec4(2)); in TEST_F() 78 mat4 m4(vec4(1), vec4(2), vec4(3), vec4(4)); in TEST_F() 84 mat4 m2(vec4(2)); in TEST_F() 107 EXPECT_EQ(mat4(vec4(-1, 0, 0, 0), in TEST_F() 108 vec4(0, -1, 0, 0), in TEST_F() 109 vec4(0, 0, -1, 0), in TEST_F() 110 vec4(0, 0, 0, -1)), m0); in TEST_F() 121 mat4 m1(vec4(1, 2, 3, 4), vec4(5, 6, 7, 8), vec4(9, 10, 11, 12), vec4(13, 14, 15, 16)); in TEST_F() 122 mat4 m2(vec4(1, 5, 9, 13), vec4(2, 6, 10, 14), vec4(3, 7, 11, 15), vec4(4, 8, 12, 16)); in TEST_F() 125 EXPECT_EQ(vec4(1, 6, 11, 16), diag(m1)); in TEST_F() [all …]
|
/frameworks/base/core/res/res/raw/ |
D | color_fade_frag.frag | 14 vec4 p = rgb.g < rgb.b ? vec4(rgb.bg, -1.0, 2.0 / 3.0) : vec4(rgb.gb, 0.0, -1.0 / 3.0); 15 vec4 q = rgb.r < p.x ? vec4(p.xyw, rgb.r) : vec4(rgb.r, p.yzx); 38 vec4 color = texture2D(texUnit, UV); 41 gl_FragColor = vec4(rgb, 1.0);
|
D | color_fade_vert.vert | 10 vec4 transformed_uv = tex_matrix * vec4(uv.x, uv.y, 1.0, 1.0); 12 …gl_Position = vec4(scale, scale, 1.0, 1.0) * (proj_matrix * vec4(position.x, position.y, 0.0, 1.0)…
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | types.h | 34 using vec4 = vec4f; variable
|
/frameworks/native/services/surfaceflinger/Effects/ |
D | Daltonizer.cpp | 83 const vec3 lms_w((rgb2lms * vec4(1)).rgb); in update()
|
/frameworks/native/libs/math/include/math/ |
D | vec4.h | 115 typedef details::TVec4<float> vec4; typedef
|