/external/deqp/modules/gles3/accuracy/ |
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/framework/common/ |
tcuTexCompareVerifier.cpp | 194 const Vec2& depths, 195 const Vec2& fBounds, 290 const Vec2& xBounds, 291 const Vec2& yBounds, 363 const Vec2& xBounds, 364 const Vec2& yBounds, 424 const Vec2& xBounds0, 425 const Vec2& yBounds0, 426 const Vec2& xBounds1, 427 const Vec2& yBounds1 [all...] |
/external/deqp/modules/gles3/functional/ |
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...] |
es3fVertexTextureTests.cpp | 44 using tcu::Vec2; 124 static inline Vec2 safe2DTexCoords (const Vec2& raw, const IVec2& textureSize) 126 return safeCoords(raw, textureSize, Vec2(0.5f)); 180 Vec2 scale; 181 Vec2 bias; 183 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {} 189 Vec2 scale; 190 Vec2 bias [all...] |
es3fTextureFilteringTests.cpp | 95 tcu::Vec2 minCoord; 96 tcu::Vec2 maxCoord; 103 FilterCase (const glu::Texture2D* tex_, const tcu::Vec2& minCoord_, const tcu::Vec2& maxCoord_) 236 m_cases.push_back(FilterCase(m_textures[texNdx], tcu::Vec2(oX, oY), tcu::Vec2(oX+sX, oY+sY))); 372 tcu::Vec2 bottomLeft; 373 tcu::Vec2 topRight; 380 FilterCase (const glu::TextureCube* tex_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_ [all...] |
es3fShaderCommonFunctionTests.cpp | 45 using tcu::Vec2; 432 const Vec2 floatRanges[] = 434 Vec2(-2.0f, 2.0f), // lowp 435 Vec2(-1e3f, 1e3f), // mediump 436 Vec2(-1e7f, 1e7f) // highp 514 const Vec2 floatRanges[] = 516 Vec2(-2.0f, 2.0f), // lowp 517 Vec2(-1e4f, 1e4f), // mediump - note: may end up as inf 518 Vec2(-1e8f, 1e8f) // highp - note: may end up as inf 620 const Vec2 ranges[] [all...] |
/external/deqp/modules/gles2/functional/ |
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...] |
es2fBufferTestUtil.cpp | 283 "attribute highp vec2 a_position;\n" 315 static void computePositions (vector<tcu::Vec2>& positions, int gridSizeX, int gridSizeY) 332 positions[baseNdx+0] = tcu::Vec2(fx0, fy0); 333 positions[baseNdx+1] = tcu::Vec2(fx0, fy1); 334 positions[baseNdx+2] = tcu::Vec2(fx1, fy0); 335 positions[baseNdx+3] = tcu::Vec2(fx1, fy1); 420 vector<tcu::Vec2> positions; 493 "attribute highp vec2 a_position;\n" 525 static void computeIndexVerifierPositions (std::vector<tcu::Vec2>& dst) 539 dst[y*numPosX + x] = tcu::Vec2(2.0f*xf - 1.0f, 2.0f*yf - 1.0f) [all...] |
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
MoreTeapotsRenderer.h | 98 std::vector<ndk_helper::Vec2> vec_rotations_; 99 std::vector<ndk_helper::Vec2> vec_current_rotations_;
|
/external/deqp/modules/gles2/performance/ |
es2pTextureFilteringTests.cpp | 77 tcu::Mat3 minTransform = tcu::translationMatrix(tcu::Vec2(-0.3f, -0.6f)) * tcu::Mat3(tcu::Vec3(1.7f, 2.3f, 1.0f)); 78 tcu::Mat3 magTransform = tcu::translationMatrix(tcu::Vec2( 0.3f, 0.4f)) * tcu::Mat3(tcu::Vec3(0.3f, 0.2f, 1.0f));
|
es2pTextureCases.cpp | 45 using tcu::Vec2; 112 Vec2 p00 = (m_coordTransform * Vec3(0.0f, 0.0f, 1.0f)).swizzle(0,1); 113 Vec2 p10 = (m_coordTransform * Vec3(1.0f, 0.0f, 1.0f)).swizzle(0,1); 114 Vec2 p01 = (m_coordTransform * Vec3(0.0f, 1.0f, 1.0f)).swizzle(0,1); 115 Vec2 p11 = (m_coordTransform * Vec3(1.0f, 1.0f, 1.0f)).swizzle(0,1); 135 "attribute mediump vec2 a_coords;\n" 136 "varying mediump vec2 v_coords;\n" 144 fragSrc << "varying mediump vec2 v_coords;\n";
|
/external/deqp/modules/gles3/performance/ |
es3pTextureFilteringTests.cpp | 78 tcu::Mat3 minTransform = tcu::translationMatrix(tcu::Vec2(-0.3f, -0.6f)) * tcu::Mat3(tcu::Vec3(1.7f, 2.3f, 1.0f)); 79 tcu::Mat3 magTransform = tcu::translationMatrix(tcu::Vec2( 0.3f, 0.4f)) * tcu::Mat3(tcu::Vec3(0.3f, 0.2f, 1.0f));
|
es3pTextureCases.cpp | 46 using tcu::Vec2; 120 Vec2 p00 = (m_coordTransform * Vec3(0.0f, 0.0f, 1.0f)).swizzle(0,1); 121 Vec2 p10 = (m_coordTransform * Vec3(1.0f, 0.0f, 1.0f)).swizzle(0,1); 122 Vec2 p01 = (m_coordTransform * Vec3(0.0f, 1.0f, 1.0f)).swizzle(0,1); 123 Vec2 p11 = (m_coordTransform * Vec3(1.0f, 1.0f, 1.0f)).swizzle(0,1); 144 "in mediump vec2 a_coords;\n" 145 "out mediump vec2 v_coords;\n" 155 fragSrc << "in mediump vec2 v_coords;\n";
|
/external/deqp/modules/glshared/ |
glsCalibration.hpp | 49 LineParameters theilSenLinearRegression (const std::vector<tcu::Vec2>& dataPoints); 66 LineParametersWithConfidence theilSenSiegelLinearRegression (const std::vector<tcu::Vec2>& dataPoints, float reportedConfidence);
|
glsFragmentOpUtil.hpp | 47 tcu::Vec2 posA; 48 tcu::Vec2 posB;
|
glsCalibration.cpp | 36 using tcu::Vec2; 60 LineParameters theilSenLinearRegression (const std::vector<tcu::Vec2>& dataPoints) 72 const Vec2& ptA = dataPoints[i]; 76 const Vec2& ptB = dataPoints[j]; 120 LineParametersWithConfidence theilSenSiegelLinearRegression (const std::vector<tcu::Vec2>& dataPoints, float reportedConfidence) 135 const tcu::Vec2& ptA = dataPoints[i]; 142 const tcu::Vec2& ptB = dataPoints[j]; 351 vector<Vec2> dataPoints; 355 dataPoints.push_back(Vec2((float)m_calibrateIterations[i].numDrawCalls, m_calibrateIterations[i].frameTime)); 359 dataPoints.push_back(Vec2(0.0f, 0.0f)); // If there's just one measurement so far, this will help in getting the next estima (…) [all...] |
glsTextureTestUtil.cpp | [all...] |
/development/ndk/sources/android/ndk_helper/ |
gestureDetector.cpp | 225 bool PinchDetector::GetPointers( Vec2& v1, Vec2& v2 ) 244 v1 = Vec2( x, y ); 245 v2 = Vec2( x2, y2 ); 332 bool DragDetector::GetPointer( Vec2& v ) 344 v = Vec2( x, y );
|
/external/deqp/modules/gles2/accuracy/ |
es2aTextureFilteringTests.cpp | 239 computeQuadTexCoord2D(texCoord, tcu::Vec2(-4.0f, -4.5f), tcu::Vec2(4.0f, 2.5f)); 250 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f)); 279 computeQuadTexCoord2D(texCoord, tcu::Vec2(sMin, tMin), tcu::Vec2(sMin+sRange, tMin+tRange)); 290 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f)); 475 const tcu::Vec2& bottomLeft, 476 const tcu::Vec2& topRight [all...] |
/external/deqp/modules/gles31/functional/ |
es31fShaderCommonFunctionTests.cpp | 49 using tcu::Vec2; 510 const Vec2 floatRanges[] = 512 Vec2(-2.0f, 2.0f), // lowp 513 Vec2(-1e3f, 1e3f), // mediump 514 Vec2(-1e7f, 1e7f) // highp 592 const Vec2 floatRanges[] = 594 Vec2(-2.0f, 2.0f), // lowp 595 Vec2(-1e4f, 1e4f), // mediump - note: may end up as inf 596 Vec2(-1e8f, 1e8f) // highp - note: may end up as inf 698 const Vec2 ranges[] [all...] |
/external/opencv3/3rdparty/openexr/Imath/ |
ImathFrustum.h | 156 Line3<T> projectScreenToRay( const Vec2<T> & ) const; 157 Vec2<T> projectPointToScreen( const Vec3<T> & ) const; 169 Vec2<T> screenToLocal( const Vec2<T> & ) const; 170 Vec2<T> localToScreen( const Vec2<T> & ) const; 454 Vec2<T> bl = screenToLocal( Vec2<T>(l,b) ); 455 Vec2<T> tr = screenToLocal( Vec2<T>(r,t) ) [all...] |
ImathMatrixAlgo.h | 307 Vec2<T> &scl, 319 Vec2<T> &scl, 333 Vec2<T> &scl, 342 Vec2<T> &s, 345 Vec2<T> &t, 350 const Vec2<T> &row, 1060 extractScaling (const Matrix33<T> &mat, Vec2<T> &scl, bool exc) 1076 Vec2<T> scl; 1079 Vec2<T> tran; 1098 Vec2<T> scl [all...] |
/external/deqp/modules/gles2/scripts/ |
genutil.py | 204 def toVec2(self): return Vec2(self.x, self.x) 261 elif isinstance(val, Vec2): 262 return Vec2(self.x * val.x, self.x * val.y) 273 elif isinstance(val, Vec2): 274 return Vec2(self.x / val.x, self.x / val.y) 287 elif (len(lst) == 2): return Vec2(lst[0], lst[1]) 309 class Vec2(Vec): 315 def applyUnary(self, func): return Vec2(func(self.x), func(self.y)) 316 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y)) 320 def toVec2(self): return Vec2(self.x, self.y [all...] |
/external/deqp/modules/gles3/scripts/ |
genutil.py | 217 def toVec2(self): return Vec2(self.x, self.x) 293 elif isinstance(val, Vec2): 294 return Vec2(self.x * val.x, self.x * val.y) 305 elif isinstance(val, Vec2): 306 return Vec2(self.x / val.x, self.x / val.y) 345 elif (len(lst) == 2): return Vec2(lst[0], lst[1]) 373 class Vec2(Vec): 379 def applyUnary(self, func): return Vec2(func(self.x), func(self.y)) 380 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y)) 384 def toVec2(self): return Vec2(self.x, self.y [all...] |
/external/deqp/modules/gles31/scripts/ |
genutil.py | 217 def toVec2(self): return Vec2(self.x, self.x) 295 elif isinstance(val, Vec2): 296 return Vec2(self.x * val.x, self.x * val.y) 307 elif isinstance(val, Vec2): 308 return Vec2(self.x / val.x, self.x / val.y) 347 elif (len(lst) == 2): return Vec2(lst[0], lst[1]) 375 class Vec2(Vec): 381 def applyUnary(self, func): return Vec2(func(self.x), func(self.y)) 382 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y)) 386 def toVec2(self): return Vec2(self.x, self.y [all...] |