/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.cpp | 531 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestSampleResultValid() 532 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestSampleResultValid() 558 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestSampleResultValid() 559 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestSampleResultValid() 560 const int minJ = deFloorFloatToInt32(vBounds.x()); in isNearestSampleResultValid() 561 const int maxJ = deFloorFloatToInt32(vBounds.y()); in isNearestSampleResultValid() 593 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestSampleResultValid() 594 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestSampleResultValid() 595 const int minJ = deFloorFloatToInt32(vBounds.x()); in isNearestSampleResultValid() 596 const int maxJ = deFloorFloatToInt32(vBounds.y()); in isNearestSampleResultValid() [all …]
|
D | tcuTexCompareVerifier.cpp | 553 const int minI = deFloorFloatToInt32(uBounds.x()); in isNearestCompareResultValid() 554 const int maxI = deFloorFloatToInt32(uBounds.y()); in isNearestCompareResultValid() 555 const int minJ = deFloorFloatToInt32(vBounds.x()); in isNearestCompareResultValid() 556 const int maxJ = deFloorFloatToInt32(vBounds.y()); in isNearestCompareResultValid() 588 const int minI = deFloorFloatToInt32(uBounds.x()-0.5f); in isLinearCompareResultValid() 589 const int maxI = deFloorFloatToInt32(uBounds.y()-0.5f); in isLinearCompareResultValid() 590 const int minJ = deFloorFloatToInt32(vBounds.x()-0.5f); in isLinearCompareResultValid() 591 const int maxJ = deFloorFloatToInt32(vBounds.y()-0.5f); in isLinearCompareResultValid() 665 const int minI0 = deFloorFloatToInt32(uBounds0.x()); in isNearestMipmapLinearCompareResultValid() 666 const int maxI0 = deFloorFloatToInt32(uBounds0.y()); in isNearestMipmapLinearCompareResultValid() [all …]
|
D | tcuTexture.cpp | 1688 int x = deFloorFloatToInt32(u)+offset.x(); in sampleNearest1D() 1704 int x = deFloorFloatToInt32(u)+offset.x(); in sampleNearest2D() 1705 int y = deFloorFloatToInt32(v)+offset.y(); in sampleNearest2D() 1724 int x = deFloorFloatToInt32(u)+offset.x(); in sampleNearest3D() 1725 int y = deFloorFloatToInt32(v)+offset.y(); in sampleNearest3D() 1726 int z = deFloorFloatToInt32(w)+offset.z(); in sampleNearest3D() 1745 int x0 = deFloorFloatToInt32(u-0.5f)+offset.x(); in sampleLinear1D() 1769 int x0 = deFloorFloatToInt32(u-0.5f)+offset.x(); in sampleLinear2D() 1771 int y0 = deFloorFloatToInt32(v-0.5f)+offset.y(); in sampleLinear2D() 1804 int x0 = deFloorFloatToInt32(u-0.5f)+offset.x(); in sampleLinear1DCompare() [all …]
|
D | tcuFuzzyImageCompare.cpp | 129 int x0 = deFloorFloatToInt32(u-0.5f); in bilinearSample() 131 int y0 = deFloorFloatToInt32(v-0.5f); in bilinearSample()
|
D | tcuTextureUtil.cpp | 1216 int expp = de::max(-eBias - 1, deFloorFloatToInt32(deFloatLog2(maxc))) + 1 + eBias; in packRGB999E5() 1218 int maxs = deFloorFloatToInt32(maxc / e + 0.5f); in packRGB999E5() 1221 deUint32 rs = (deUint32)deClamp32(deFloorFloatToInt32(rc / e + 0.5f), 0, (1<<9)-1); in packRGB999E5() 1222 deUint32 gs = (deUint32)deClamp32(deFloorFloatToInt32(gc / e + 0.5f), 0, (1<<9)-1); in packRGB999E5() 1223 deUint32 bs = (deUint32)deClamp32(deFloorFloatToInt32(bc / e + 0.5f), 0, (1<<9)-1); in packRGB999E5()
|
D | tcuImageCompare.cpp | 340 …int score = deClamp32(deFloorFloatToInt32(100.0f - (de::max(sum-(float)bestScoreDiff, 0.0f) /… in measurePixelDiffAccuracy()
|
/external/deqp/framework/delibs/deimage/ |
D | deImage.c | 130 int xFixed = deFloorFloatToInt32(xFloat * 256.0f); in deImage_scale() 131 int yFixed = deFloorFloatToInt32(yFloat * 256.0f); in deImage_scale()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFlushFinishTests.cpp | 327 curIterCount = de::clamp(deFloorFloatToInt32(est), 1, int(MAX_SHADER_ITER_COUNT)); in calibrate() 381 curDrawCount = de::clamp(deFloorFloatToInt32(est), 1, int(MAX_DRAW_CALL_COUNT)); in calibrate()
|
D | es3fFragmentOutputTests.cpp | 407 const int cellX = de::clamp(deFloorFloatToInt32((float)x / cellW), 0, gridWidth-2); in renderFloatReference() 408 const int cellY = de::clamp(deFloorFloatToInt32((float)y / cellH), 0, gridHeight-2); in renderFloatReference() 437 int cellX = de::clamp(deFloorFloatToInt32((float)x / cellW), 0, gridWidth-2); in renderIntReference() 438 int cellY = de::clamp(deFloorFloatToInt32((float)y / cellH), 0, gridHeight-2); in renderIntReference()
|
D | es3fClippingTests.cpp | 359 …= tcu::Vector<deInt64, 3>(deFloorFloatToInt32(p.x() * fixedScale), deFloorFloatToInt32(p.y() * fix… in twoPointClippedTriangleInvisible()
|
/external/deqp/framework/platform/android/ |
D | tcuAndroidUtil.cpp | 510 const int widthDp = deFloorFloatToInt32(float(widthP) / dpScale); in getScreenClass() 511 const int heightDp = deFloorFloatToInt32(float(heightP) / dpScale); in getScreenClass()
|
/external/deqp/framework/delibs/debase/ |
D | deMath.h | 212 DE_INLINE deInt32 deFloorFloatToInt32 (float x) { return (deInt32)(deFloatFloor(x)); } in deFloorFloatToInt32() function
|
/external/deqp/modules/glshared/ |
D | glsRasterizationTestUtil.cpp | 1056 int lineWidth = deFloorFloatToInt32(scene.lineWidth + 0.5f); in verifySinglesampleLineGroupRasterization() 2141 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[0].x() * (float)numSubPixels), deFloorFloatToInt32… in calculateTriangleCoverage() 2142 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[1].x() * (float)numSubPixels), deFloorFloatToInt32… in calculateTriangleCoverage() 2143 …I64Vec2(deFloorFloatToInt32(triangleScreenSpace[2].x() * (float)numSubPixels), deFloorFloatToInt32… in calculateTriangleCoverage()
|
D | glsShaderLibraryCase.cpp | 1294 const int maxY = deFloorFloatToInt32(((+quadSize / w) * 0.5f + 0.5f) * (float)height - 0.5f); in execute() 1296 const int maxX = deFloorFloatToInt32(((+quadSize / w) * 0.5f + 0.5f) * (float)width - 0.5f); in execute()
|
D | glsTextureTestUtil.cpp | 3245 const int minX = deFloorFloatToInt32(((float)x-0.5f) / dstW * srcW); in compareGenMipmapVeryLenient() 3246 const int minY = deFloorFloatToInt32(((float)y-0.5f) / dstH * srcH); in compareGenMipmapVeryLenient()
|
/external/deqp/modules/gles2/functional/ |
D | es2fFlushFinishTests.cpp | 300 curDrawCount = de::clamp(deFloorFloatToInt32(est), 1, int(MAX_DRAW_CALL_COUNT)); in calibrate()
|
D | es2fClippingTests.cpp | 356 …= tcu::Vector<deInt64, 3>(deFloorFloatToInt32(p.x() * fixedScale), deFloorFloatToInt32(p.y() * fix… in twoPointClippedTriangleInvisible()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 3231 dst.setPixel(src.getPixelInt(deFloorFloatToInt32(sX), deFloorFloatToInt32(sY)), xo, yo); in blitFramebuffer() 3252 …, sampleNdx, xo, yo, src.raw().getPixDepth(sampleNdx, deFloorFloatToInt32(sX), deFloorFloatToInt32… in blitFramebuffer() 3272 …Uint32 srcStencil = src.raw().getPixelUint(sampleNdx, deFloorFloatToInt32(sX), deFloorFloatToInt32… in blitFramebuffer()
|
/external/deqp/modules/gles31/functional/ |
D | es31fPrimitiveBoundingBoxTests.cpp | 116 pixelBox.x() = deFloorFloatToInt32(vertexBox.x() - size/2.0f); in getViewportBoundingBoxArea() 117 pixelBox.y() = deFloorFloatToInt32(vertexBox.y() - size/2.0f); in getViewportBoundingBoxArea() 4627 …eBorder (deCeilFloatToInt32(0.25f * (float)result.getWidth()) + 1, deFloorFloatToInt32(0.5f * (flo… in verifyImage() 4628 …const tcu::IVec2 outsideBorder (deFloorFloatToInt32(0.25f * (float)result.getWidth()) - 1, deCeilF… in verifyImage()
|
/external/deqp/framework/referencerenderer/ |
D | rrRasterizer.cpp | 929 …const deInt32 lineWidth = (m_lineWidth > 1.0f) ? deFloorFloatToInt32(m_lineWidth + 0.5f) … in rasterize()
|