Home
last modified time | relevance | path

Searched refs:absDiff (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/third_party/marl/tools/cmd/benchdiff/
Dmain.go116 absDiff := diff
117 if absDiff < 0 {
118 absDiff = -absDiff
120 if absDiff < *minDiff {
/external/oboe/apps/OboeTester/app/src/main/cpp/analyzer/
DGlitchAnalyzer.h192 double absDiff = fabs(diff); in processInputFrame() local
193 mMaxGlitchDelta = std::max(mMaxGlitchDelta, absDiff); in processInputFrame()
194 if (absDiff > mScaledTolerance) { in processInputFrame()
230 double absDiff = fabs(diff); in processInputFrame() local
231 mMaxGlitchDelta = std::max(mMaxGlitchDelta, absDiff); in processInputFrame()
232 if (absDiff < mScaledTolerance) { // close enough? in processInputFrame()
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/
Dfunctions.test2433 float absDiff (vec4 a, vec4 b) { vec4 d = abs(a - b); return max(max(d.x, d.y), max(d.z, d.w)); }
2437 bool test (in float arr[4], vec4 ref) { return (absDiff(get(arr), ref) < 0.1); }
2438 bool isEqual (in float a[4], in float b[4]) { return (absDiff(get(a), get(b)) < 0.1); }
2477 float absDiff (vec4 a, vec4 b) { vec4 d = abs(a - b); return max(max(d.x, d.y), max(d.z, d.w)); }
2481 bool test (in float arr[4], vec4 ref) { return (absDiff(get(arr), ref) < 0.1); }
2482 bool isEqual (in float a[4], in float b[4]) { return (absDiff(get(a), get(b)) < 0.1); }
2522 float absDiff (vec4 a, vec4 b) { vec4 d = abs(a - b); return max(max(d.x, d.y), max(d.z, d.w)); }
2526 bool test (in float arr[4], vec4 ref) { return (absDiff(get(arr), ref) < 0.1); }
2527 bool isEqual (in float a[4], in float b[4]) { return (absDiff(get(a), get(b)) < 0.1); }
2567 float absDiff (vec4 a, vec4 b) { vec4 d = abs(a - b); return max(max(d.x, d.y), max(d.z, d.w)); }
[all …]
/external/deqp/data/gles2/shaders/
Dfunctions.test1912 float absDiff (vec4 a, vec4 b) { vec4 d = abs(a - b); return max(max(d.x, d.y), max(d.z, d.w)); }
1916 bool test (in float arr[4], vec4 ref) { return (absDiff(get(arr), ref) < 0.1); }
1917 bool isEqual (in float a[4], in float b[4]) { return (absDiff(get(a), get(b)) < 0.1); }
1954 float absDiff (vec4 a, vec4 b) { vec4 d = abs(a - b); return max(max(d.x, d.y), max(d.z, d.w)); }
1958 bool test (in float arr[4], vec4 ref) { return (absDiff(get(arr), ref) < 0.1); }
1959 bool isEqual (in float a[4], in float b[4]) { return (absDiff(get(a), get(b)) < 0.1); }
1997 float absDiff (vec4 a, vec4 b) { vec4 d = abs(a - b); return max(max(d.x, d.y), max(d.z, d.w)); }
2001 bool test (in float arr[4], vec4 ref) { return (absDiff(get(arr), ref) < 0.1); }
2002 bool isEqual (in float a[4], in float b[4]) { return (absDiff(get(a), get(b)) < 0.1); }
2040 float absDiff (vec4 a, vec4 b) { vec4 d = abs(a - b); return max(max(d.x, d.y), max(d.z, d.w)); }
[all …]
/external/deqp/data/gles3/shaders/
Dfunctions.test2449 float absDiff (vec4 a, vec4 b) { vec4 d = abs(a - b); return max(max(d.x, d.y), max(d.z, d.w)); }
2453 bool test (in float arr[4], vec4 ref) { return (absDiff(get(arr), ref) < 0.1); }
2454 bool isEqual (in float a[4], in float b[4]) { return (absDiff(get(a), get(b)) < 0.1); }
2493 float absDiff (vec4 a, vec4 b) { vec4 d = abs(a - b); return max(max(d.x, d.y), max(d.z, d.w)); }
2497 bool test (in float arr[4], vec4 ref) { return (absDiff(get(arr), ref) < 0.1); }
2498 bool isEqual (in float a[4], in float b[4]) { return (absDiff(get(a), get(b)) < 0.1); }
2538 float absDiff (vec4 a, vec4 b) { vec4 d = abs(a - b); return max(max(d.x, d.y), max(d.z, d.w)); }
2542 bool test (in float arr[4], vec4 ref) { return (absDiff(get(arr), ref) < 0.1); }
2543 bool isEqual (in float a[4], in float b[4]) { return (absDiff(get(a), get(b)) < 0.1); }
2583 float absDiff (vec4 a, vec4 b) { vec4 d = abs(a - b); return max(max(d.x, d.y), max(d.z, d.w)); }
[all …]
/external/aac/libAACenc/src/
Daacenc_tns.cpp965 int i, w, absDiff, nWindows; in FDKaacEnc_TnsSync() local
995 absDiff = fAbs(tnsInfoDest->coef[w][HIFILT][i] - in FDKaacEnc_TnsSync()
997 absDiffSum += absDiff; in FDKaacEnc_TnsSync()
1000 if ((absDiff > 1) || (absDiffSum > 2)) { in FDKaacEnc_TnsSync()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp366 …const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold… in comparePixelToColorClearValue()
387 …const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold… in comparePixelToColorClearValue()
408 …const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold… in comparePixelToColorClearValue()
/external/deqp/framework/common/
DtcuVectorUtil.hpp362 static inline Vector<T, Size> absDiff (const Vector<T, Size>& a, const Vector<T, Size>& b) in absDiff() function
DtcuTexLookupVerifier.cpp85 …return boolAll(logicalOr(lessThanEqual(absDiff(ref, result).asUint(), prec.colorThreshold), logica… in isColorValid()
90 …return boolAll(logicalOr(lessThanEqual(absDiff(ref, result), prec.colorThreshold), logicalNot(prec… in isColorValid()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineColorWriteEnableTests.cpp979 …bool match = tcu::boolAll(tcu::lessThan(tcu::absDiff(colorPixel, m_testConfig.expectedColor[attach… in iterate()
DvktPipelineExtendedDynamicStateTests.cpp1968 match = tcu::boolAll(tcu::lessThan(tcu::absDiff(colorPixel, expectedPixel), kColorThreshold)); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTests.cpp2997 const tcu::Vec4 diff = tcu::absDiff(referenceValue, realValue); in verifyVertexWriteResults()
3106 const tcu::Vec4 diff = tcu::absDiff(referenceValue, realValue); in verifyVertexWriteResults()
/external/deqp/modules/gles31/functional/
Des31fTextureGatherTests.cpp623 tcu::greaterThan(tcu::absDiff(resultPix, idealPix), in verifyGatherOffsets()
Des31fTextureBorderClampTests.cpp1139 tcu::greaterThan(tcu::absDiff(resultPixel, referencePixel), in verifyTextureGatherResult()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp654 tcu::greaterThan(tcu::absDiff(resultPix, idealPix), in verifyGatherOffsets()