Searched refs:vec2 (Results 1 - 25 of 107) sorted by relevance

12345

/external/autotest/client/deps/glbench/src/
H A Dyuv2rgb_2.glslv36 varying vec2 lineCounter;
37 varying vec2 yPlane;
38 varying vec2 uPlane;
39 varying vec2 vPlane;
43 lineCounter = vec2(c.y * imageHeight / 4.0, 0.0);
44 yPlane = vec2(c.x, 1. - (2.0 * c.y + 1.0) / 3.0);
45 uPlane = vec2(c.x / 2.0, 1. - (c.y + 1.0) / 6.0);
46 vPlane = vec2(c.x / 2.0, 1. - c.y / 6.0);
H A Dyuv2rgb_34.glslv33 varying vec2 yPlane;
34 varying vec2 uvPlane;
38 yPlane = uvPlane = vec2(c.x, 1. - c.y);
H A Dyuv2rgb_2.glslf41 varying vec2 lineCounter;
42 varying vec2 yPlane;
43 varying vec2 uPlane;
44 varying vec2 vPlane;
54 vec2 offset_even = vec2(texture2D(paritySampler, lineCounter).x * 0.5, 0.0);
55 vec2 offset_odd = vec2(0.5 - offset_even.x, 0.0);
H A Dyuv2rgb_1.glslf138 vec2 t = vec2(v1.x, (1. - v1.y));
160 vec2 y = t * vec2(1., 2./3.);
163 t *= vec2(.5, 1./6.);
166 vec2 u = t + vec2(uside, 2./3.); // ...to U section
167 vec2 v = t + vec2(vside, 5./6.); // ...to V section
H A Dyuv2rgb_4.glslf44 varying vec2 yPlane;
45 varying vec2 uvPlane;
49 vec2 uvChannel = texture2D(uvSampler, uvPlane).ra;
H A Dyuv2rgb_3.glslf45 varying vec2 yPlane;
46 varying vec2 uvPlane;
/external/eigen/doc/snippets/
H A DTutorial_AdvancedInitialization_Join.cpp5 RowVectorXd vec2(4);
6 vec2 << 1, 4, 9, 16;
7 std::cout << "vec2 = " << vec2 << std::endl;
10 joined << vec1, vec2; variable
/external/vulkan-validation-layers/libs/glm/detail/
H A Dfunc_packing.hpp58 GLM_FUNC_DECL uint packUnorm2x16(vec2 const & v);
71 GLM_FUNC_DECL uint packSnorm2x16(vec2 const & v);
110 GLM_FUNC_DECL vec2 unpackUnorm2x16(uint const & p);
123 GLM_FUNC_DECL vec2 unpackSnorm2x16(uint const & p);
178 GLM_FUNC_DECL uint packHalf2x16(vec2 const & v);
188 GLM_FUNC_DECL vec2 unpackHalf2x16(uint const & v);
H A Ddummy.cpp87 void func(GLuint LocationMVP, float Translate, glm::vec2 const & Rotate)
99 #include <glm/vec2.hpp>// glm::vec2
105 std::size_t const PositionSizeF32 = VertexCount * sizeof(glm::vec2);
106 glm::vec2 const PositionDataF32[VertexCount] =
108 glm::vec2(-1.0f,-1.0f),
109 glm::vec2( 1.0f,-1.0f),
110 glm::vec2( 1.0f, 1.0f),
111 glm::vec2(-1.0f, 1.0f)
117 glm::uint(glm::packUnorm2x16(glm::vec2(
[all...]
/external/clang/test/Sema/
H A Dext_vector_components.c11 float2 vec2, vec2_2; local
17 vec2.z; // expected-error {{vector component access exceeds type 'float2'}}
18 vec2.xyzw; // expected-error {{vector component access exceeds type 'float2'}}
22 vec2 = vec4.s01; // legal, shorten
23 vec2 = vec4.S01; // legal, shorten
26 f = vec2.x; // legal, shorten
32 vec2.x = f;
33 vec2.xx = vec2_2.xy; // expected-error {{vector is not assignable (contains duplicate components)}}
34 vec2.yx = vec2_2.xy;
43 vec2
[all...]
/external/eigen/unsupported/test/
H A Dcxx11_tensor_math.cpp22 Tensor<float, 1> vec2 = vec1.tanh(); local
25 VERIFY_IS_APPROX(vec2(i), tanhf(vec1(i)));
34 Tensor<float, 1> vec2 = vec1.sigmoid(); local
37 VERIFY_IS_APPROX(vec2(i), 1.0f / (1.0f + std::exp(-vec1(i))));
H A Dcxx11_tensor_mixed_indices.cpp18 Tensor<float, 1, ColMajor, int> vec2(6);
20 vec1(0) = 4.0; vec2(0) = 0.0;
21 vec1(1) = 8.0; vec2(1) = 1.0;
22 vec1(2) = 15.0; vec2(2) = 2.0;
23 vec1(3) = 16.0; vec2(3) = 3.0;
24 vec1(4) = 23.0; vec2(4) = 4.0;
25 vec1(5) = 42.0; vec2(5) = 5.0;
32 vec4 = vec2.square();
H A Dcxx11_tensor_fixed_size.cpp50 TensorFixedSize<float, Sizes<6>, RowMajor> vec2; local
56 vec1(0) = 4.0; vec2(0) = 0.0;
57 vec1(1) = 8.0; vec2(1) = 1.0;
58 vec1(2) = 15.0; vec2(2) = 2.0;
59 vec1(3) = 16.0; vec2(3) = 3.0;
60 vec1(4) = 23.0; vec2(4) = 4.0;
61 vec1(5) = 42.0; vec2(5) = 5.0;
76 TensorFixedSize<float, Sizes<6>, RowMajor> vec4 = vec2.sqrt();
97 vec3 = vec1 + vec2;
109 TensorFixedSize<float, Sizes<6>, RowMajor> vec2; local
[all...]
H A Dcxx11_tensor_assign.cpp20 Tensor<int, 1, RowMajor> vec2(6);
21 vec1(0) = 4; vec2(0) = 0;
22 vec1(1) = 8; vec2(1) = 1;
23 vec1(2) = 15; vec2(2) = 2;
24 vec1(3) = 16; vec2(3) = 3;
25 vec1(4) = 23; vec2(4) = 4;
26 vec1(5) = 42; vec2(5) = 5;
36 vec4 = vec2;
53 vec2.setZero();
55 vec2
[all...]
H A Dcxx11_tensor_simple.cpp49 Tensor<int, 1, RowMajor> vec2(6);
56 vec1(0) = 4; vec2(0) = 0; vec3(0) = 5;
57 vec1(1) = 8; vec2(1) = 1; vec3(1) = 4;
58 vec1(2) = 15; vec2(2) = 2; vec3(2) = 3;
59 vec1(3) = 16; vec2(3) = 3; vec3(3) = 2;
60 vec1(4) = 23; vec2(4) = 4; vec3(4) = 1;
61 vec1(5) = 42; vec2(5) = 5; vec3(5) = 0;
75 VERIFY_IS_EQUAL((vec2[0]), 0);
76 VERIFY_IS_EQUAL((vec2[1]), 1);
77 VERIFY_IS_EQUAL((vec2[
[all...]
/external/libmojo/mojo/public/cpp/bindings/tests/
H A Dwtf_array_unittest.cc39 WTF::Vector<CopyableType> vec2(arr.PassStorage());
40 ASSERT_EQ(1u, vec2.size());
41 ASSERT_FALSE(vec2[0].copied());
53 WTF::Vector<MoveOnlyType> vec2(arr.PassStorage());
54 ASSERT_EQ(1u, vec2.size());
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/
H A Dpush_back_exception_safety.pass.cpp75 std::deque<CMyClass> vec2(vec);
84 assert(vec==vec2);
91 C vec2(vec);
99 assert(vec==vec2);
H A Dpush_front_exception_safety.pass.cpp75 std::deque<CMyClass> vec2(vec);
84 assert(vec==vec2);
91 C vec2(vec);
99 assert(vec==vec2);
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_quad.c93 LLVMValueRef vec1, vec2; local
107 vec2 = lp_build_swizzle_aos(bld, a, swizzle2);
110 return LLVMBuildFSub(builder, vec2, vec1, "ddxddy");
112 return LLVMBuildSub(builder, vec2, vec1, "ddxddy");
130 LLVMValueRef vec1, vec2; local
150 vec2 = LLVMBuildShuffleVector(builder, a, b,
153 return LLVMBuildFSub(builder, vec2, vec1, "ddxddyddxddy");
155 return LLVMBuildSub(builder, vec2, vec1, "ddxddyddxddy");
/external/clang/test/PCH/
H A Dexprs.h79 extern double2 vec2, vec2b;
80 typedef typeof(vec2.x) ext_vector_element;
103 typedef typeof(__builtin_shufflevector(vec2, vec2b, 2, 1)) shuffle_expr;
107 typedef typeof(__builtin_convertvector(vec2, float2)) convert_expr;
/external/vulkan-validation-layers/libs/glm/gtc/
H A Dpacking.hpp61 /// @see uint16 packUnorm2x8(vec2 const & v)
73 /// @see vec2 unpackUnorm2x8(uint16 p)
93 GLM_FUNC_DECL uint16 packUnorm2x8(vec2 const & v);
109 GLM_FUNC_DECL vec2 unpackUnorm2x8(uint16 const & p);
118 /// @see uint16 packSnorm2x8(vec2 const & v)
131 /// @see vec2 unpackSnorm2x8(uint16 p)
151 GLM_FUNC_DECL uint16 packSnorm2x8(vec2 const & v);
167 GLM_FUNC_DECL vec2 unpackSnorm2x8(uint16 const & p);
189 /// @see vec2 unpackUnorm2x16(uint32 p)
206 /// @see uint32 packUnorm2x16(vec2 cons
[all...]
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/
H A Dpush_back_exception_safety.pass.cpp74 std::vector<CMyClass> vec2(vec);
76 assert(is_contiguous_container_asan_correct(vec2));
85 assert(vec==vec2);
/external/libvpx/libvpx/vpx_dsp/mips/
H A Didct32x32_msa.c43 v8i16 vec0, vec1, vec2, vec3, loc0, loc1, loc2, loc3; local
52 BUTTERFLY_4(reg1, reg7, reg3, reg5, vec1, vec3, vec2, vec0);
53 DOTP_CONST_PAIR(vec2, vec0, cospi_16_64, cospi_16_64, loc2, loc3);
60 BUTTERFLY_4(reg4, reg0, reg2, reg6, vec1, vec3, vec2, vec0);
62 BUTTERFLY_4(vec2, vec3, loc3, loc2, stp2, stp1, stp6, stp5);
127 v8i16 vec0, vec1, vec2, vec3, loc0, loc1, loc2, loc3; local
166 BUTTERFLY_4(reg0, reg7, reg6, reg1, vec0, vec1, vec2, vec3);
169 DOTP_CONST_PAIR(vec2, vec3, cospi_24_64, cospi_8_64, vec2, vec3);
170 ST_SH2(vec2, vec
242 v8i16 vec0, vec1, vec2, vec3, loc0, loc1, loc2, loc3; local
353 v8i16 vec0, vec1, vec2, vec3, loc0, loc1, loc2, loc3; local
433 v8i16 vec0, vec1, vec2, vec3, loc0, loc1, loc2, loc3; local
541 v8i16 vec0, vec1, vec2, vec3, loc0, loc1, loc2, loc3; local
[all...]
/external/webrtc/webrtc/modules/audio_coding/neteq/
H A Daudio_multi_vector_unittest.cc79 AudioMultiVector vec2(num_channels_, initial_size);
80 EXPECT_FALSE(vec2.Empty());
81 EXPECT_EQ(num_channels_, vec2.Channels());
82 EXPECT_EQ(initial_size, vec2.Size());
136 AudioMultiVector vec2(num_channels_, array_length());
144 vec2[channel][i] =
148 // Append vec2 to the back of vec1.
149 vec1.PushBack(vec2);
162 AudioMultiVector vec2(num_channels_);
164 // Append vec1 to the back of vec2 (whic
[all...]
/external/clang/test/CodeGen/
H A Dext-vector.c20 float2 vec2, vec2_2; variable
31 vec2 = vec4.xy; // shorten
32 f = vec2.x; // extract elt
35 vec2.x = f; // insert one.
36 vec2.yx = vec2; // reverse
315 vec2 = vec4.rg;
324 vec2.r = f;
326 vec2.gr = vec2;
[all...]

Completed in 3603 milliseconds

12345