Searched defs:vec2 (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
H A Dvec2.js25 * @name vec2
27 var vec2 = {};
30 * Creates a new, empty vec2
32 * @returns {vec2} a new 2D vector
34 vec2.create = function() {
42 * Creates a new vec2 initialized with values from an existing vector
44 * @param {vec2} a vector to clone
45 * @returns {vec2} a new 2D vector
47 vec2.clone = function(a) {
55 * Creates a new vec2 initialize
[all...]
/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/chromium-trace/trace-viewer/third_party/gl-matrix/dist/
H A Dgl-matrix.js126 * @name vec2
129 var vec2 = {};
132 * Creates a new, empty vec2
134 * @returns {vec2} a new 2D vector
136 vec2.create = function() {
144 * Creates a new vec2 initialized with values from an existing vector
146 * @param {vec2} a vector to clone
147 * @returns {vec2} a new 2D vector
149 vec2.clone = function(a) {
157 * Creates a new vec2 initialize
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daudio_vector_unittest.cc47 AudioVector vec2(initial_size);
48 EXPECT_FALSE(vec2.Empty());
49 EXPECT_EQ(initial_size, vec2.Size());
97 AudioVector vec2(kLength);
102 vec2[i] = static_cast<int16_t>(i + kLength);
104 // Append vec2 to the back of vec1.
105 vec1.PushBack(vec2);
126 AudioVector vec2(kLength);
131 vec2[i] = static_cast<int16_t>(i + kLength);
133 // Prepend vec1 to the front of vec2
137 EXPECT_EQ(static_cast<int16_t>(i), vec2[i]); local
[all...]
H A Dtime_stretch.cc88 // |vec2| start at 15 ms.
89 const int16_t* vec2 = &signal[fs_mult_120]; local
90 // Calculate energies for |vec1| and |vec2|, assuming they both contain
95 WebRtcSpl_DotProductWithScale(vec2, vec2, peak_index, scaling);
97 // Calculate cross-correlation between |vec1| and |vec2|.
99 WebRtcSpl_DotProductWithScale(vec1, vec2, peak_index, scaling);
/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;
H A Dext_vector_casts.c14 float2 vec2; local
23 vec3 += vec2; // expected-error {{can't convert between vector values of different size}}
40 vec4 = (float4)vec2; // expected-error {{invalid conversion between ext-vector type 'float4' (vector of 4 'float' values) and 'float2' (vector of 2 'float' values)}}
/external/eigen/test/eigen2/
H A Deigen2_sparse_solvers.cpp47 DenseVector vec2 = vec1, vec3 = vec1; local
53 VERIFY_IS_APPROX(refMat2.template marked<LowerTriangular>().solveTriangular(vec2),
58 VERIFY_IS_APPROX(refMat2.template marked<LowerTriangular>().transpose().solveTriangular(vec2),
63 VERIFY_IS_APPROX(refMat2.template marked<UpperTriangular>().solveTriangular(vec2),
68 VERIFY_IS_APPROX(refMat2.template marked<UpperTriangular>().transpose().solveTriangular(vec2),
/external/eigen/test/
H A Deigensolver_complex.cpp19 void verify_is_approx_upto_permutation(const VectorType& vec1, const VectorType& vec2) argument
24 VERIFY(vec2.cols() == 1);
25 VERIFY(vec1.rows() == vec2.rows());
28 VERIFY_IS_APPROX(vec1.array().pow(RealScalar(k)).sum(), vec2.array().pow(RealScalar(k)).sum());
H A Dsparse_solvers.cpp47 DenseVector vec2 = vec1, vec3 = vec1; local
53 VERIFY_IS_APPROX(refMat2.template triangularView<Lower>().solve(vec2),
58 VERIFY_IS_APPROX(refMat2.template triangularView<Upper>().solve(vec2),
60 VERIFY_IS_APPROX(refMat2.conjugate().template triangularView<Upper>().solve(vec2),
66 VERIFY_IS_APPROX(refMat2.conjugate().template triangularView<Upper>().solve(vec2),
72 VERIFY_IS_APPROX(refMat2.transpose().template triangularView<Upper>().solve(vec2),
77 VERIFY_IS_APPROX(refMat2.transpose().template triangularView<Lower>().solve(vec2),
99 VERIFY_IS_APPROX(refMat2.template triangularView<Lower>().solve(vec2),
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_quad.c96 LLVMValueRef vec1, vec2; local
114 vec2 = lp_build_swizzle_aos(bld, a, swizzle2);
117 return LLVMBuildFSub(builder, vec2, vec1, "ddxddy");
119 return LLVMBuildSub(builder, vec2, vec1, "ddxddy");
131 LLVMValueRef vec1, vec2; local
151 vec2 = LLVMBuildShuffleVector(builder, a, b,
154 return LLVMBuildFSub(builder, vec2, vec1, "ddxddyddxddy");
156 return LLVMBuildSub(builder, vec2, vec1, "ddxddyddxddy");
H A Dlp_bld_arit.c384 LLVMValueRef vec1, vec2; local
391 vec2 = LLVMBuildShuffleVector(builder, vecres, vecres,
394 vecres = LLVMBuildFAdd(builder, vec1, vec2, "");
397 vecres = LLVMBuildAdd(builder, vec1, vec2, "");
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_quad.c96 LLVMValueRef vec1, vec2; local
114 vec2 = lp_build_swizzle_aos(bld, a, swizzle2);
117 return LLVMBuildFSub(builder, vec2, vec1, "ddxddy");
119 return LLVMBuildSub(builder, vec2, vec1, "ddxddy");
131 LLVMValueRef vec1, vec2; local
151 vec2 = LLVMBuildShuffleVector(builder, a, b,
154 return LLVMBuildFSub(builder, vec2, vec1, "ddxddyddxddy");
156 return LLVMBuildSub(builder, vec2, vec1, "ddxddyddxddy");
H A Dlp_bld_arit.c384 LLVMValueRef vec1, vec2; local
391 vec2 = LLVMBuildShuffleVector(builder, vecres, vecres,
394 vecres = LLVMBuildFAdd(builder, vec1, vec2, "");
397 vecres = LLVMBuildAdd(builder, vec1, vec2, "");
/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
/external/chromium_org/third_party/freetype/src/base/
H A Dftoutln.c224 FT_Vector vec1, vec2; local
237 vec2.x = SCALED( point[-1].x );
238 vec2.y = SCALED( point[-1].y );
252 vec2.x / 64.0, vec2.y / 64.0 ));
253 error = func_interface->cubic_to( &vec1, &vec2, &vec, user );
263 vec2.x / 64.0, vec2.y / 64.0 ));
264 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );
H A Dftstroke.c371 FT_Vector* vec2 = border->points + count - 1; local
374 for ( ; vec1 < vec2; vec1++, vec2-- )
380 *vec1 = *vec2;
381 *vec2 = tmp;
2188 FT_Vector vec1, vec2; local
2199 vec2 = point[-1];
2208 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &vec );
2214 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &v_start );
/external/freetype/src/base/
H A Dftoutln.c224 FT_Vector vec1, vec2; local
237 vec2.x = SCALED( point[-1].x );
238 vec2.y = SCALED( point[-1].y );
252 vec2.x / 64.0, vec2.y / 64.0 ));
253 error = func_interface->cubic_to( &vec1, &vec2, &vec, user );
263 vec2.x / 64.0, vec2.y / 64.0 ));
264 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );
H A Dftstroke.c371 FT_Vector* vec2 = border->points + count - 1; local
374 for ( ; vec1 < vec2; vec1++, vec2-- )
380 *vec1 = *vec2;
381 *vec2 = tmp;
2188 FT_Vector vec1, vec2; local
2199 vec2 = point[-1];
2208 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &vec );
2214 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &v_start );
/external/opencv/cv/src/
H A Dcvoptflowbm.cpp48 icvCmpBlocksL1_8u_C1( const uchar * vec1, const uchar * vec2, int len ) argument
54 int t0 = abs(vec1[i] - vec2[i]);
55 int t1 = abs(vec1[i + 1] - vec2[i + 1]);
56 int t2 = abs(vec1[i + 2] - vec2[i + 2]);
57 int t3 = abs(vec1[i + 3] - vec2[i + 3]);
64 int t0 = abs(vec1[i] - vec2[i]);
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftoutln.c224 FT_Vector vec1, vec2; local
237 vec2.x = SCALED( point[-1].x );
238 vec2.y = SCALED( point[-1].y );
252 vec2.x / 64.0, vec2.y / 64.0 ));
253 error = func_interface->cubic_to( &vec1, &vec2, &vec, user );
263 vec2.x / 64.0, vec2.y / 64.0 ));
264 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );
H A Dftstroke.c371 FT_Vector* vec2 = border->points + count - 1; local
374 for ( ; vec1 < vec2; vec1++, vec2-- )
380 *vec1 = *vec2;
381 *vec2 = tmp;
2188 FT_Vector vec1, vec2; local
2199 vec2 = point[-1];
2208 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &vec );
2214 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &v_start );
/external/llvm/test/Bindings/Ocaml/
H A Dvmcore.ml1018 let vec2 = build_insertelement t2 p1 p2 "Vec2" atentry in var
1023 ignore (build_shufflevector vec1 vec2 t3 "build_shufflevector" atentry);
/external/chromium_org/third_party/freetype/src/smooth/
H A Dftgrays.c1671 FT_Vector vec1, vec2; local
1684 vec2.x = SCALED( point[-1].x );
1685 vec2.y = SCALED( point[-1].y );
1699 vec2.x / 64.0, vec2.y / 64.0 ));
1700 error = func_interface->cubic_to( &vec1, &vec2, &vec, user );
1710 vec2.x / 64.0, vec2.y / 64.0 ));
1711 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );
/external/freetype/src/smooth/
H A Dftgrays.c1693 FT_Vector vec1, vec2; local
1706 vec2.x = SCALED( point[-1].x );
1707 vec2.y = SCALED( point[-1].y );
1721 vec2.x / 64.0, vec2.y / 64.0 ));
1722 error = func_interface->cubic_to( &vec1, &vec2, &vec, user );
1732 vec2.x / 64.0, vec2.y / 64.0 ));
1733 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );

Completed in 592 milliseconds

12