HomeSort by relevance Sort by last modified time
    Searched refs:Vec2 (Results 1 - 25 of 145) sorted by null

1 2 3 4 5 6

  /external/llvm/unittests/ADT/
PackedVectorTest.cpp 34 PackedVector<unsigned, 2> Vec2(3);
35 EXPECT_EQ(3U, Vec2.size());
36 EXPECT_FALSE(Vec2.empty());
52 EXPECT_FALSE(Vec == Vec2);
53 EXPECT_TRUE(Vec != Vec2);
55 Vec2.swap(Vec);
62 EXPECT_EQ(2U, Vec2[0]);
63 EXPECT_EQ(0U, Vec2[1]);
64 EXPECT_EQ(1U, Vec2[2]);
65 EXPECT_EQ(3U, Vec2[3])
    [all...]
  /development/ndk/sources/android/ndk_helper/
tapCamera.h 38 Vec2 vec_ball_center_;
42 Vec2 vec_ball_now_;
43 Vec2 vec_ball_down_;
50 Vec2 vec_pinch_start_;
51 Vec2 vec_pinch_start_center_;
65 Vec2 vec_drag_delta_;
66 Vec2 vec_last_input_;
71 Vec2 vec_flip_;
79 Vec3 PointOnSphere( Vec2& point );
85 void BeginDrag( const Vec2& vec )
    [all...]
tapCamera.cpp 54 vec_flip_ = Vec2( 1.f, -1.f );
58 vec_ball_center_ = Vec2( 0, 0 );
59 vec_ball_now_ = Vec2( 0, 0 );
60 vec_ball_down_ = Vec2( 0, 0 );
62 vec_pinch_start_ = Vec2( 0, 0 );
63 vec_pinch_start_center_ = Vec2( 0, 0 );
65 vec_flip_ = Vec2( 0, 0 );
80 vec_drag_delta_ = Vec2();
101 Vec2 v = vec_drag_delta_;
102 BeginDrag( Vec2() ); //NOTE:This call reset _VDragDelt
    [all...]
gestureDetector.h 140 bool GetPointers( Vec2& v1, Vec2& v2 );
162 bool GetPointer( Vec2& v );
vecmath.h 34 class Vec2;
43 class Vec2
55 Vec2()
60 Vec2( const float fX, const float fY )
66 Vec2( const Vec2& vec )
72 Vec2( const float* pVec )
79 Vec2 operator*( const Vec2& rhs ) const
81 Vec2 ret
    [all...]
  /cts/apps/CtsVerifier/include/colorchecker/
vec2.h 24 class Vec2{
26 Vec2(T inputX, T inputY) {
31 Vec2() {}
33 inline Vec2<T> operator+ (const Vec2<T> &param) const {
34 Vec2<T> temp(mX + param.x(), mY + param.y());
38 inline Vec2<T> operator- (const Vec2<T> &param) const {
39 Vec2<T> temp(mX - param.x(), mY - param.y());
43 inline Vec2<float> operator/ (const int param) const
    [all...]
  /external/deqp/framework/common/
tcuTexLookupVerifier.hpp 101 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec);
102 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec);
103 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec);
104 Vec2 computeCubeLodBoundsFromDerivates (const Vec3& coord, const Vec3& coordDx, const Vec3& coordDy, const int faceSize, const LodPrecision& prec);
106 Vec2 clampLodBounds (const Vec2& lodBounds, const Vec2& lodMinMax, const LodPrecision& prec);
108 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result);
109 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result)
    [all...]
tcuTexCompareVerifier.hpp 55 bool isTexCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBounds, const float cmpReference, const float result);
56 bool isTexCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result);
57 bool isTexCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result);
59 bool isGatherOffsetsCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result);
tcuVectorType.hpp 38 typedef Vector<float, 2> Vec2;
tcuTexLookupVerifier.cpp 256 const Vec2& fBounds,
294 const Vec2& xBounds,
295 const Vec2& yBounds,
321 const Vec2& xBounds,
322 const Vec2& yBounds,
323 const Vec2& zBounds,
354 const Vec2& xBounds0,
355 const Vec2& xBounds1,
356 const Vec2& zBounds,
387 const Vec2& xBounds0
    [all...]
tcuTexCompareVerifier.cpp 171 const Vec2& depths,
172 const Vec2& fBounds,
267 const Vec2& xBounds,
268 const Vec2& yBounds,
340 const Vec2& xBounds,
341 const Vec2& yBounds,
401 const Vec2& xBounds0,
402 const Vec2& yBounds0,
403 const Vec2& xBounds1,
404 const Vec2& yBounds1
    [all...]
  /external/deqp/modules/gles31/functional/
es31fTextureFilteringTests.cpp 138 tcu::Vec2 bottomLeft;
139 tcu::Vec2 topRight;
140 tcu::Vec2 layerRange;
147 FilterCase (const glu::TextureCubeArray* tex_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_, const tcu::Vec2& layerRange_)
270 m_cases.push_back(FilterCase(tex0, tcu::Vec2(-0.8f, -0.8f), tcu::Vec2(0.8f, 0.8f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); // minification
271 m_cases.push_back(FilterCase(tex0, tcu::Vec2(0.5f, 0.65f), tcu::Vec2(0.8f, 0.8f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); // magnificatio
    [all...]
es31fMultisampleTests.cpp 44 using tcu::Vec2;
137 tcu::Vec2 samplePos = tcu::Vec2(-1, -1);
174 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const;
175 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& color) const;
176 void renderQuad (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec2& p3, const Vec4& c0, const Vec4& c1, const Vec4& c (…)
    [all...]
  /external/deqp/modules/gles2/functional/
es2fMultisampleTests.cpp 50 using tcu::Vec2;
65 Vec2 p0;
66 Vec2 p1;
67 Vec2 p2;
68 Vec2 p3;
70 QuadCorners(const Vec2& p0_, const Vec2& p1_, const Vec2& p2_, const Vec2& p3_) : p0(p0_), p1(p1_), p2(p2_), p3(p3_) {}
189 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const
    [all...]
es2fVertexTextureTests.cpp 44 using tcu::Vec2;
106 static inline Vec2 safe2DTexCoords (const Vec2& raw, const IVec2& textureSize)
108 return safeCoords(raw, textureSize, Vec2(0.5f));
146 Vec2 scale;
147 Vec2 bias;
149 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {}
155 Vec2 scale;
156 Vec2 bias
    [all...]
es2fTextureMipmapTests.cpp 53 using tcu::Vec2;
190 Vec2 bottomLeft;
191 Vec2 topRight;
194 { Vec2(-0.1f, 0.1f), Vec2( 0.8f, 1.0f) },
195 { Vec2(-0.3f, -0.6f), Vec2( 0.7f, 0.4f) },
196 { Vec2(-0.3f, 0.6f), Vec2( 0.7f, -0.9f) },
197 { Vec2(-0.8f, 0.6f), Vec2( 0.7f, -0.9f) }
    [all...]
  /external/deqp/modules/gles3/functional/
es3fMultisampleTests.cpp 51 using tcu::Vec2;
67 Vec2 p0;
68 Vec2 p1;
69 Vec2 p2;
70 Vec2 p3;
72 QuadCorners(const Vec2& p0_, const Vec2& p1_, const Vec2& p2_, const Vec2& p3_) : p0(p0_), p1(p1_), p2(p2_), p3(p3_) {}
213 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const
    [all...]
es3fShaderPackingFunctionTests.cpp 160 std::vector<tcu::Vec2> inputs;
167 inputs.push_back(tcu::Vec2(0.0f, 0.0f));
168 inputs.push_back(tcu::Vec2(-1.0f, 1.0f));
169 inputs.push_back(tcu::Vec2(0.5f, -0.5f));
170 inputs.push_back(tcu::Vec2(-1.5f, 1.5f));
171 inputs.push_back(tcu::Vec2(0.25f, -0.75f));
178 inputs.push_back(tcu::Vec2(x, y));
186 inputs.push_back(tcu::Vec2(x, y));
265 std::vector<tcu::Vec2> outputs;
313 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")
    [all...]
  /external/deqp/modules/gles2/accuracy/
es2aTextureMipmapTests.cpp 52 using tcu::Vec2;
186 Vec2 bottomLeft;
187 Vec2 topRight;
190 { Vec2(-0.1f, 0.1f), Vec2( 0.8f, 1.0f) },
191 { Vec2(-0.3f, -0.6f), Vec2( 0.7f, 0.4f) },
192 { Vec2(-0.3f, 0.6f), Vec2( 0.7f, -0.9f) },
193 { Vec2(-0.8f, 0.6f), Vec2( 0.7f, -0.9f) }
    [all...]
  /external/deqp/modules/gles3/accuracy/
es3aTextureMipmapTests.cpp 50 using tcu::Vec2;
178 Vec2 bottomLeft;
179 Vec2 topRight;
182 { Vec2(-0.1f, 0.1f), Vec2( 0.8f, 1.0f) },
183 { Vec2(-0.3f, -0.6f), Vec2( 0.7f, 0.4f) },
184 { Vec2(-0.3f, 0.6f), Vec2( 0.7f, -0.9f) },
185 { Vec2(-0.8f, 0.6f), Vec2( 0.7f, -0.9f) }
    [all...]
es3aTextureFilteringTests.cpp 230 computeQuadTexCoord2D(texCoord, tcu::Vec2(-4.0f, -4.5f), tcu::Vec2(4.0f, 2.5f));
241 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f));
270 computeQuadTexCoord2D(texCoord, tcu::Vec2(sMin, tMin), tcu::Vec2(sMin+sRange, tMin+tRange));
281 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f));
485 const tcu::Vec2& bottomLeft,
486 const tcu::Vec2& topRight
    [all...]
  /external/deqp/modules/glshared/
glsRasterizationTestUtil.cpp 86 const tcu::Vec2 u (p1.x() / p1.w() - p0.x() / p0.w(), p1.y() / p1.w() - p0.y() / p0.w());
87 const tcu::Vec2 v (p2.x() / p2.w() - p0.x() / p0.w(), p2.y() / p2.w() - p0.y() / p0.w());
104 bool pixelNearLineSegment (const tcu::IVec2& pixel, const tcu::Vec2& p0, const tcu::Vec2& p1)
106 const tcu::Vec2 pixelCenterPosition = tcu::Vec2(pixel.x() + 0.5f, pixel.y() + 0.5f);
114 const tcu::Vec2 line = p1 - p0;
115 const tcu::Vec2 v = pixelCenterPosition - p0;
145 const tcu::Vec2 triangleNormalizedDeviceSpace[3] =
147 tcu::Vec2(triangle.positions[0].x() / triangle.positions[0].w(), triangle.positions[0].y() / triangle.positi (…)
    [all...]
  /development/ndk/platforms/android-17/samples/Teapot/jni/
TeapotNativeActivity.cpp 64 void TransformPosition( ndk_helper::Vec2& vec );
234 ndk_helper::Vec2 v;
241 ndk_helper::Vec2 v;
255 ndk_helper::Vec2 v1;
256 ndk_helper::Vec2 v2;
266 ndk_helper::Vec2 v1;
267 ndk_helper::Vec2 v2;
391 void Engine::TransformPosition( ndk_helper::Vec2& vec )
393 vec = ndk_helper::Vec2( 2.0f, 2.0f ) * vec
394 / ndk_helper::Vec2( gl_context_->GetScreenWidth(), gl_context_->GetScreenHeight()
    [all...]
  /development/ndk/platforms/android-18/samples/MoreTeapots/jni/
MoreTeapotsNativeActivity.cpp 74 void TransformPosition( ndk_helper::Vec2& vec );
245 ndk_helper::Vec2 v;
252 ndk_helper::Vec2 v;
266 ndk_helper::Vec2 v1;
267 ndk_helper::Vec2 v2;
277 ndk_helper::Vec2 v1;
278 ndk_helper::Vec2 v2;
402 void Engine::TransformPosition( ndk_helper::Vec2& vec )
404 vec = ndk_helper::Vec2( 2.0f, 2.0f ) * vec
405 / ndk_helper::Vec2( gl_context_->GetScreenWidth(), gl_context_->GetScreenHeight()
    [all...]
  /external/ceres-solver/examples/
libmv_homography.cc 71 typedef Eigen::Matrix<double, 2, 1> Vec2;
136 const Vec2 &x1,
137 const Vec2 &x2) {
138 Vec2 forward_error, backward_error;
247 HomographySymmetricGeometricCostFunctor(const Vec2 &x,
248 const Vec2 &y)
254 typedef Eigen::Matrix<T, 2, 1> Vec2;
257 Vec2 x(T(x_(0)), T(x_(1)));
258 Vec2 y(T(y_(0)), T(y_(1)));
268 const Vec2 x_
    [all...]

Completed in 1024 milliseconds

1 2 3 4 5 6