/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ |
D | LineRegion.java | 24 private Number minVal; field in LineRegion 42 return maxVal.doubleValue() - minVal.doubleValue(); in length() 51 … return value.doubleValue() >= minVal.doubleValue() && value.doubleValue() <= maxVal.doubleValue(); in contains() 74 …if(line2Min.doubleValue() <= this.minVal.doubleValue() && line2Max.doubleValue() >= this.maxVal.do… in intersects() 81 return minVal; in getMinVal() 84 public void setMinVal(Number minVal) { in setMinVal() argument 85 if(minVal == null) { in setMinVal() 88 this.minVal = minVal; in setMinVal()
|
/external/deqp/framework/randomshaders/ |
D | rsgUtils.cpp | 67 float minVal = valueRange.component(ndx).getMin().asFloat(); in computeRandomValue() local 69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep); in computeRandomValue() 76 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; in computeRandomValue() local 78 dst.component(ndx).asBool() = rnd.getInt(minVal, maxVal) == 1; in computeRandomValue() 87 int minVal = valueRange.component(ndx).getMin().asInt(); in computeRandomValue() local 89 dst.component(ndx).asInt() = rnd.getInt(minVal, maxVal); in computeRandomValue() 195 bool minVal = rnd.getBool(); in computeRandomValueRange() local 196 bool maxVal = minVal ? true : rnd.getBool(); in computeRandomValueRange() 197 valueRange.getMin().component(ndx).asBool() = minVal; in computeRandomValueRange() 210 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen); in computeRandomValueRange() local [all …]
|
D | rsgExpression.cpp | 187 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen); in computeRandomValueRangeForInfElements() local 188 int maxVal = minVal + rangeLen; in computeRandomValueRangeForInfElements() 190 valueRange.getMin().component(ndx).asInt() = minVal; in computeRandomValueRangeForInfElements() 209 float minVal = minFloatVal + step*(float)minStep; in computeRandomValueRangeForInfElements() local 210 float maxVal = minVal + step*(float)rangeLen; in computeRandomValueRangeForInfElements() 212 valueRange.getMin().component(ndx).asFloat() = minVal; in computeRandomValueRangeForInfElements() 362 float minVal = -10.0f; in FloatLiteral() local 368 minVal = valueRange.getMin().component(0).asFloat(); in FloatLiteral() 371 if (Scalar::min<float>() == minVal) in FloatLiteral() 372 minVal = -10.0f; in FloatLiteral() [all …]
|
/external/opencv3/modules/ts/include/opencv2/ts/ |
D | ocl_test.hpp | 204 int randomInt(int minVal, int maxVal) in randomInt() 206 return rng.uniform(minVal, maxVal); in randomInt() 209 double randomDouble(double minVal, double maxVal) in randomDouble() 211 return rng.uniform(minVal, maxVal); in randomDouble() 214 double randomDoubleLog(double minVal, double maxVal) in randomDoubleLog() 216 double logMin = log((double)minVal + 1); in randomDoubleLog() 220 CV_Assert(v >= minVal && (v < maxVal || (v == minVal && v == maxVal))); in randomDoubleLog() 224 Size randomSize(int minVal, int maxVal) in randomSize() 227 return cv::Size((int)randomDoubleLog(minVal, maxVal), (int)randomDoubleLog(minVal, maxVal)); in randomSize() 229 return cv::Size(randomInt(minVal, maxVal), randomInt(minVal, maxVal)); in randomSize() [all …]
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | XYStepCalculator.java | 38 …public static XYStep getStep(XYPlot plot, XYAxisType axisType, RectF rect, Number minVal, Number m… in getStep() argument 42 … step = getStep(plot.getDomainStepMode(), rect.width(), plot.getDomainStepValue(), minVal, maxVal); in getStep() 45 … step = getStep(plot.getRangeStepMode(), rect.height(), plot.getRangeStepValue(), minVal, maxVal); in getStep() 51 …p getStep(XYStepMode typeXY, float plotPixelSize, double stepValue, Number minVal, Number maxVal) { in getStep() argument 59 …stepPix = (float)(stepValue/ ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(),… in getStep() 65 …stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*ste… in getStep() 70 …stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*ste… in getStep()
|
/external/aac/libAACenc/src/ |
D | noisedet.cpp | 170 FIXP_DBL fhelp1, fhelp2, fhelp3, fhelp4, maxVal, minVal; in FDKaacEnc_noiseDetect() local 190 minVal = fixMin(fhelp1, fhelp2); in FDKaacEnc_noiseDetect() 191 minVal = fixMin(minVal, fhelp3); in FDKaacEnc_noiseDetect() 192 minVal = fixMin(minVal, fhelp4); in FDKaacEnc_noiseDetect() 197 refVal = minVal << leadingBits; in FDKaacEnc_noiseDetect()
|
/external/opencv3/modules/ts/src/ |
D | cuda_test.cpp | 62 int randomInt(int minVal, int maxVal) in randomInt() argument 65 return rng.uniform(minVal, maxVal); in randomInt() 68 double randomDouble(double minVal, double maxVal) in randomDouble() argument 71 return rng.uniform(minVal, maxVal); in randomDouble() 74 Size randomSize(int minVal, int maxVal) in randomSize() argument 76 return Size(randomInt(minVal, maxVal), randomInt(minVal, maxVal)); in randomSize() 79 Scalar randomScalar(double minVal, double maxVal) in randomScalar() argument 81 …return Scalar(randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, max… in randomScalar() 84 Mat randomMat(Size size, int type, double minVal, double maxVal) in randomMat() argument 86 return randomMat(TS::ptr()->get_rng(), size, type, minVal, maxVal, false); in randomMat() [all …]
|
/external/opencv3/modules/cudaarithm/test/ |
D | test_reductions.cpp | 397 double minVal, maxVal; in CUDA_TEST_P() local 398 cv::cuda::minMax(loadMat(src), &minVal, &maxVal); in CUDA_TEST_P() 407 double minVal, maxVal; in CUDA_TEST_P() local 408 cv::cuda::minMax(loadMat(src, useRoi), &minVal, &maxVal); in CUDA_TEST_P() 413 EXPECT_DOUBLE_EQ(minVal_gold, minVal); in CUDA_TEST_P() 449 double minVal, maxVal; in CUDA_TEST_P() local 450 cv::cuda::minMax(loadMat(src), &minVal, &maxVal, loadMat(mask)); in CUDA_TEST_P() 459 double minVal, maxVal; in CUDA_TEST_P() local 460 cv::cuda::minMax(loadMat(src, useRoi), &minVal, &maxVal, loadMat(mask, useRoi)); in CUDA_TEST_P() 465 EXPECT_DOUBLE_EQ(minVal_gold, minVal); in CUDA_TEST_P() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderAlgorithmTests.cpp | 239 float minVal = min(min(r, g), b); in init() 241 float L = (minVal + maxVal) * 0.5f; in init() 244 if (minVal == maxVal) in init() 251 S = (maxVal - minVal) / (maxVal + minVal); in init() 253 S = (maxVal - minVal) / (2.0f - maxVal - minVal); in init() 255 float ooDiff = 1.0f / (maxVal - minVal); in init()
|
/external/skia/src/utils/ |
D | SkTextureCompressor_LATC.cpp | 131 uint8_t minVal = 255; in compress_latc_block_bb() local 134 minVal = SkTMin(pixels[i], minVal); in compress_latc_block_bb() 138 SkASSERT(!is_extremal(minVal)); in compress_latc_block_bb() 142 generate_latc_palette(palette, maxVal, minVal); in compress_latc_block_bb() 165 (static_cast<uint64_t>(minVal) << 8) | in compress_latc_block_bb() 173 uint8_t minVal = 255; in compress_latc_block_bb_ignore_extremal() local 180 minVal = SkTMin(pixels[i], minVal); in compress_latc_block_bb_ignore_extremal() 184 SkASSERT(!is_extremal(minVal)); in compress_latc_block_bb_ignore_extremal() 188 generate_latc_palette(palette, minVal, maxVal); in compress_latc_block_bb_ignore_extremal() 220 static_cast<uint64_t>(minVal) | in compress_latc_block_bb_ignore_extremal()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/ |
D | XYStepCalculatorTest.java | 45 double minVal = 0; in testSubdivide() local 47 …XYStep step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal… in testSubdivide() 53 minVal = 1000000000; in testSubdivide() 55 … step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal); in testSubdivide()
|
/external/opencv3/samples/cpp/tutorial_code/calib3d/stereoBM/ |
D | SBM_Sample.cpp | 49 double minVal; double maxVal; in main() local 51 minMaxLoc( imgDisparity16S, &minVal, &maxVal ); in main() 53 printf("Min disp: %f Max value: %f \n", minVal, maxVal); in main() 56 imgDisparity16S.convertTo( imgDisparity8U, CV_8UC1, 255/(maxVal - minVal)); in main()
|
/external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/ |
D | pointPolygonTest_demo.cpp | 53 double minVal; double maxVal; in main() local 54 minMaxLoc( raw_dist, &minVal, &maxVal, 0, 0, Mat() ); in main() 55 minVal = abs(minVal); maxVal = abs(maxVal); in main() 64 … { drawing.at<Vec3b>(j,i)[0] = (uchar)(255 - abs(raw_dist.at<float>(j,i))*255/minVal); } in main()
|
/external/deqp/framework/common/ |
D | tcuTextureUtil.cpp | 649 static inline float linearInterpolate (float t, float minVal, float maxVal) in linearInterpolate() argument 651 return minVal + (maxVal - minVal) * t; in linearInterpolate() 777 static void fillWithComponentGradients1D (const PixelBufferAccess& access, const Vec4& minVal, cons… in fillWithComponentGradients1D() argument 784 float r = linearInterpolate(s, minVal.x(), maxVal.x()); in fillWithComponentGradients1D() 785 float g = linearInterpolate(s, minVal.y(), maxVal.y()); in fillWithComponentGradients1D() 786 float b = linearInterpolate(s, minVal.z(), maxVal.z()); in fillWithComponentGradients1D() 787 float a = linearInterpolate(s, minVal.w(), maxVal.w()); in fillWithComponentGradients1D() 793 static void fillWithComponentGradients2D (const PixelBufferAccess& access, const Vec4& minVal, cons… in fillWithComponentGradients2D() argument 802 float r = linearInterpolate(( s + t) *0.5f, minVal.x(), maxVal.x()); in fillWithComponentGradients2D() 803 float g = linearInterpolate(( s + (1.0f-t))*0.5f, minVal.y(), maxVal.y()); in fillWithComponentGradients2D() [all …]
|
D | tcuImageCompare.cpp | 46 Vec4 minVal; in computeScaleAndBias() local 55 minVal = refMin; in computeScaleAndBias() 65 minVal[0] = de::min(minVal[0], resMin[0]); in computeScaleAndBias() 66 minVal[1] = de::min(minVal[1], resMin[1]); in computeScaleAndBias() 67 minVal[2] = de::min(minVal[2], resMin[2]); in computeScaleAndBias() 68 minVal[3] = de::min(minVal[3], resMin[3]); in computeScaleAndBias() 78 if (maxVal[c] - minVal[c] < eps) in computeScaleAndBias() 81 bias[c] = (c == 3) ? (1.0f - maxVal[c]*scale[c]) : (0.0f - minVal[c]*scale[c]); in computeScaleAndBias() 85 scale[c] = 1.0f / (maxVal[c] - minVal[c]); in computeScaleAndBias() 86 bias[c] = 0.0f - minVal[c]*scale[c]; in computeScaleAndBias()
|
/external/opencv3/modules/cudaimgproc/test/ |
D | test_match_template.cpp | 253 double minVal, maxVal; in CUDA_TEST_P() local 254 cv::minMaxLoc(dst, &minVal, &maxVal, &minLoc, &maxLoc); in CUDA_TEST_P() 266 ASSERT_GE(minVal, -1.0); in CUDA_TEST_P() 303 double minVal; in CUDA_TEST_P() local 305 cv::minMaxLoc(result, &minVal, 0, &minLoc, 0); in CUDA_TEST_P() 307 ASSERT_GE(minVal, 0); in CUDA_TEST_P() 308 ASSERT_LT(minVal, 1e-3); in CUDA_TEST_P() 328 double minVal; in CUDA_TEST_P() local 330 cv::minMaxLoc(result, &minVal, 0, &minLoc, 0); in CUDA_TEST_P() 332 ASSERT_GE(minVal, 0); in CUDA_TEST_P()
|
/external/opencv3/modules/core/perf/ |
D | perf_minmaxloc.cpp | 19 double minVal, maxVal; in PERF_TEST_P() local 31 TEST_CYCLE() minMaxLoc(src, &minVal, &maxVal, &minLoc, &maxLoc); in PERF_TEST_P() 33 SANITY_CHECK(minVal, 1e-12); in PERF_TEST_P()
|
/external/chromium-trace/catapult/telemetry/third_party/WebKit/PerformanceTests/resources/ |
D | statistics.js | 37 var minVal = values[0]; 39 minVal = Math.min(minVal, values[i]); 41 return minVal;
|
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
D | minmaxloc.hpp | 60 …__global__ void minMaxLoc_pass_1(const SrcPtr src, ResType* minVal, ResType* maxVal, int* minLoc, … in minMaxLoc_pass_1() argument 109 minVal[bid] = myMin; in minMaxLoc_pass_1() 156 …__host__ void minMaxLoc(const SrcPtr& src, ResType* minVal, ResType* maxVal, int* minLoc, int* max… in minMaxLoc() argument 164 …y::block_size_x * Policy::block_size_y><<<grid, block, 0, stream>>>(src, minVal, maxVal, minLoc, m… in minMaxLoc() 167 …k_size_y><<<1, Policy::block_size_x * Policy::block_size_y, 0, stream>>>(minVal, maxVal, minLoc, m… in minMaxLoc()
|
/external/vulkan-validation-layers/libs/glm/detail/ |
D | func_common.inl | 406 genType const & minVal, 414 return min(maxVal, max(minVal, x)); 421 T const & minVal, argument 430 clamp(x.x, minVal, maxVal), 431 clamp(x.y, minVal, maxVal)); 438 T const & minVal, argument 447 clamp(x.x, minVal, maxVal), 448 clamp(x.y, minVal, maxVal), 449 clamp(x.z, minVal, maxVal)); 456 T const & minVal, argument [all …]
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
D | gmg.cu | 62 …void loadConstants(int width, int height, float minVal, float maxVal, int quantizationLevels, floa… in loadConstants() argument 67 cudaSafeCall( cudaMemcpyToSymbol(c_minVal, &minVal, sizeof(minVal)) ); in loadConstants() 120 float minVal = numeric_limits<float>::max(); in insertFeature() local 124 if (w < minVal) in insertFeature() 126 minVal = w; in insertFeature()
|
/external/opencv3/modules/cudaarithm/src/cuda/ |
D | minmax.cu | 74 void minMaxImpl(const GpuMat& src, const GpuMat& mask, double* minVal, double* maxVal) in minMaxImpl() argument 118 void cv::cuda::minMax(InputArray _src, double* minVal, double* maxVal, InputArray _mask) in minMax() argument 130 if (minVal) in minMax() 131 *minVal = vals[0]; in minMax()
|
/external/opencv/cxcore/src/ |
D | cxminmaxloc.cpp | 62 *minVal = _fin_cast_macro_(min_val); \ 90 extrtype* minVal, extrtype* maxVal, CvPoint* minLoc, CvPoint* maxLoc ), \ 91 (src, step, size, minVal, maxVal, minLoc, maxLoc) ) \ 109 extrtype* minVal, extrtype* maxVal, \ 218 extrtype* minVal, extrtype* maxVal, CvPoint* minLoc, CvPoint* maxLoc ), \ 219 ( src, step, mask, maskStep, size, minVal, maxVal, minLoc, maxLoc) ) \ 238 extrtype* minVal, extrtype* maxVal, CvPoint* minLoc, CvPoint* maxLoc ) \
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 103 …char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& … 115 …char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& … in InterpolationCase() argument 118 , m_min (minVal) in InterpolationCase() 306 Vec3 minVal; in init() member 329 …aseName.c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coord… in init() 330 …+ "_proj").c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coord… in init()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 100 …char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& … 112 …char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& … in InterpolationCase() argument 115 , m_min (minVal) in InterpolationCase() 299 Vec3 minVal; in init() member 322 …aseName.c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coord… in init() 323 …+ "_proj").c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coord… in init()
|