/external/libpng/tests/ |
pngvalid-gamma-threshold | 2 exec ./pngvalid --strict --gamma-threshold
|
/external/antlr/tool/src/main/java/org/antlr/misc/ |
Barrier.java | 36 protected int threshold; field in class:Barrier 40 threshold = t; 49 if ( count==threshold ) { 50 // notify blocked threads that threshold has been reached 54 else while ( count<threshold ) {
|
/frameworks/av/media/libaaudio/src/fifo/ |
FifoControllerBase.cpp | 26 FifoControllerBase::FifoControllerBase(fifo_frames_t capacity, fifo_frames_t threshold) 28 , mThreshold(threshold) 61 void FifoControllerBase::setThreshold(fifo_frames_t threshold) { 62 if (threshold > mCapacity) { 63 threshold = mCapacity; 64 } else if (threshold < 0) { 65 threshold = 0; 67 mThreshold = threshold;
|
FifoControllerBase.h | 42 * @param threshold Number of frames to fill. Must be less than capacity. 44 FifoControllerBase(fifo_frames_t capacity, fifo_frames_t threshold); 106 * The threshold will be clipped between zero and the buffer capacity. 108 * @param threshold effective size of the buffer 110 void setThreshold(fifo_frames_t threshold);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
CompareUtils.java | 9 public static boolean verifyPixelWithThreshold(int color, int expectedColor, int threshold) { 13 return diff <= threshold; 17 * @param threshold Per channel differences for R / G / B channel against the average of these 3 21 public static boolean verifyPixelGrayScale(int color, int threshold) { 24 return Math.abs(Color.red(color) - average) <= threshold 25 && Math.abs(Color.green(color) - average) <= threshold 26 && Math.abs(Color.blue(color) - average) <= threshold;
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/util/ |
CompareUtils.java | 9 public static boolean verifyPixelWithThreshold(int color, int expectedColor, int threshold) { 13 return diff <= threshold; 17 * @param threshold Per channel differences for R / G / B channel against the average of these 3 21 public static boolean verifyPixelGrayScale(int color, int threshold) { 24 return Math.abs(Color.red(color) - average) <= threshold 25 && Math.abs(Color.green(color) - average) <= threshold 26 && Math.abs(Color.blue(color) - average) <= threshold;
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
StandardDeviationVerificationTest.java | 49 float[] threshold = {2, 2, 4}; local 50 runVerification(threshold, values, true, standardDeviations); 52 threshold = new float[]{1, 2, 4}; 53 runVerification(threshold, values, false, standardDeviations); 55 threshold = new float[]{2, 1, 4}; 56 runVerification(threshold, values, false, standardDeviations); 58 threshold = new float[]{2, 2, 3}; 59 runVerification(threshold, values, false, standardDeviations); 62 private void runVerification(float[] threshold, float[][] values, boolean pass, 65 StandardDeviationVerification verification = getVerification(threshold, values) [all...] |
/art/tools/dexfuzz/src/dexfuzz/ |
Log.java | 23 private static LogTag threshold = LogTag.ERROR; field in class:Log 37 threshold = tag; 41 return (threshold.ordinal() < LogTag.ERROR.ordinal()); 65 if (tag.ordinal() >= threshold.ordinal()) {
|
/external/deqp/framework/common/ |
tcuBilinearImageCompare.hpp | 35 bool bilinearCompare (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA threshold);
|
tcuImageCompare.hpp | 47 bool pixelThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& result, const RGBA& threshold, CompareLogMode logMode); 48 bool fuzzyCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& result, float threshold, CompareLogMode logMode); 51 bool fuzzyCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode logMode); 52 bool floatUlpThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode logMode); 53 bool floatThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode logMode); 54 bool floatThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const Vec4& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode logMode); 55 bool intThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode logMode); 56 bool intThresholdPositionDeviationCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec3& maxPositionDeviation, bool acceptOutOfBoundsAsAnyValue, CompareLogMode logMode); 57 bool intThresholdPositionDeviationErrorThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec3& maxPositionDeviation, bool acceptOutOfBoundsAsAnyValue, int maxAllowedFailingPixels, CompareLogMode logMode); 59 bool bilinearCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, CompareLogMode logMode) [all...] |
/external/libaom/libaom/av1/common/ |
cdef.h | 28 static INLINE int constrain(int diff, int threshold, int damping) { 29 if (!threshold) return 0; 31 const int shift = AOMMAX(0, damping - get_msb(threshold)); 33 AOMMIN(abs(diff), AOMMAX(0, threshold - (abs(diff) >> shift)));
|
/external/skia/src/gpu/gradients/ |
GrDualIntervalGradientColorizer.fp | 8 // Models two intervals (so 4 colors), that are connected at a specific threshold point. 10 // Bias and scale for 0 to threshold 14 // Bias and scale for threshold to 1 18 layout(tracked) in uniform half threshold; 24 if (t < threshold) { 40 float threshold); 45 const SkPMColor4f& c0, const SkPMColor4f& c1, const SkPMColor4f& c2, const SkPMColor4f& c3, float threshold) { 46 // Derive scale and biases from the 4 colors and threshold 49 auto scale01 = (vc1 - vc0) / threshold; 54 auto scale23 = (vc3 - vc2) / (1 - threshold); [all...] |
/external/skqp/src/gpu/gradients/ |
GrDualIntervalGradientColorizer.fp | 8 // Models two intervals (so 4 colors), that are connected at a specific threshold point. 10 // Bias and scale for 0 to threshold 14 // Bias and scale for threshold to 1 18 layout(tracked) in uniform half threshold; 24 if (t < threshold) { 40 float threshold); 45 const SkPMColor4f& c0, const SkPMColor4f& c1, const SkPMColor4f& c2, const SkPMColor4f& c3, float threshold) { 46 // Derive scale and biases from the 4 colors and threshold 49 auto scale01 = (vc1 - vc0) / threshold; 54 auto scale23 = (vc3 - vc2) / (1 - threshold); [all...] |
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/ |
AppenderSkeleton.java | 31 public void setThreshold(Priority threshold) {
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
params.cc | 42 if (depth >= param.threshold().threshold()) { 43 return param.threshold().on_value(); 45 return param.threshold().off_value();
|
/external/libxcam/modules/isp/iq/ |
x3a_ciq_tnr_tuning_handler.cpp | 93 config.threshold[0] = linear_interpolate_p2 (tuning[i_prev].y_threshold, tuning[i_curr].y_threshold, 96 config.threshold[1] = linear_interpolate_p2 (tuning[i_prev].uv_threshold, tuning[i_curr].uv_threshold, 99 config.threshold[2] = 0.0; 101 config.gain, config.threshold[0], config.threshold[1]); 111 config.threshold[0] = linear_interpolate_p2 (tuning[i_prev].r_threshold, tuning[i_curr].r_threshold, 114 config.threshold[1] = linear_interpolate_p2 (tuning[i_prev].g_threshold, tuning[i_curr].g_threshold, 117 config.threshold[2] = linear_interpolate_p2 (tuning[i_prev].b_threshold, tuning[i_curr].b_threshold, 121 config.gain, config.threshold[0], config.threshold[1]) [all...] |
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
SensorCalibratedUncalibratedVerifier.java | 45 float threshold) { 50 mThreshold = threshold; 74 float threshold) { 95 threshold); 111 float threshold) { 119 + "Uncalibrated=%s, Bias=%s, Threshold=%s", 126 threshold); 127 Assert.assertEquals(message, calibrated, uncalibrated - bias, threshold);
|
/external/autotest/client/cros/image_comparison/ |
upload_on_fail_comparer.py | 23 def __init__(self, local_comparer, remote_comparer, threshold=0): 27 @param threshold: int, a value which the pixel difference between test 34 self.threshold = threshold 77 if (diffpx > self.threshold): 78 logging.debug('Threshold diff pixels is %d', self.threshold) 79 logging.debug('Diff pxls > threshold. Using remote comparer.')
|
/cts/suite/audio_quality/test_description/processing/ |
playback_sample.py | 22 # pass level threshold (double) 45 threshold = inputData[2] 49 print "Expected Freq ", signalFrequency, "Actual Freq ", freq, "Threshold % ", threshold 51 if (diff < threshold):
|
/external/autotest/client/site_tests/platform_TempFS/ |
platform_TempFS.py | 24 # TempFS allows 1/2 of Total Memory for each temp fs. Our threshold 27 threshold = utils.memtotal()/4 35 if avail < threshold: 38 (threshold, avail))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
log.py | 16 def __init__(self, threshold=WARN):
17 self.threshold = threshold
23 if level >= self.threshold:
60 # return the old threshold for use from tests
61 old = _global_log.threshold
62 _global_log.threshold = level
|
/external/python/cpython2/Lib/distutils/ |
log.py | 16 def __init__(self, threshold=WARN): 17 self.threshold = threshold 23 if level >= self.threshold: 60 # return the old threshold for use from tests 61 old = _global_log.threshold 62 _global_log.threshold = level
|
/external/v8/tools/clusterfuzz/ |
v8_fuzz_config.py | 36 threshold = self.rng.random() * 100 39 if acc > threshold:
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_NFLOG.h | 29 __u16 threshold; member in struct:xt_nflog_info
|
/bionic/libc/kernel/uapi/linux/netfilter_bridge/ |
ebt_nflog.h | 30 __u16 threshold; member in struct:ebt_nflog_info
|