/external/swiftshader/third_party/marl/tools/cmd/benchdiff/ |
D | main.go | 116 absDiff := diff 117 if absDiff < 0 { 118 absDiff = -absDiff 120 if absDiff < *minDiff {
|
/external/oboe/apps/OboeTester/app/src/main/cpp/analyzer/ |
D | GlitchAnalyzer.h | 192 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/ |
D | functions.test | 2433 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/ |
D | functions.test | 1912 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/ |
D | functions.test | 2449 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/ |
D | aacenc_tns.cpp | 965 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/ |
D | vktApiImageClearingTests.cpp | 366 …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/ |
D | tcuVectorUtil.hpp | 362 static inline Vector<T, Size> absDiff (const Vector<T, Size>& a, const Vector<T, Size>& b) in absDiff() function
|
D | tcuTexLookupVerifier.cpp | 85 …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/ |
D | vktPipelineColorWriteEnableTests.cpp | 979 …bool match = tcu::boolAll(tcu::lessThan(tcu::absDiff(colorPixel, m_testConfig.expectedColor[attach… in iterate()
|
D | vktPipelineExtendedDynamicStateTests.cpp | 1968 match = tcu::boolAll(tcu::lessThan(tcu::absDiff(colorPixel, expectedPixel), kColorThreshold)); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTests.cpp | 2997 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/ |
D | es31fTextureGatherTests.cpp | 623 tcu::greaterThan(tcu::absDiff(resultPix, idealPix), in verifyGatherOffsets()
|
D | es31fTextureBorderClampTests.cpp | 1139 tcu::greaterThan(tcu::absDiff(resultPixel, referencePixel), in verifyTextureGatherResult()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureGatherTests.cpp | 654 tcu::greaterThan(tcu::absDiff(resultPix, idealPix), in verifyGatherOffsets()
|