/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ |
LineRegion.java | 24 private Number minVal;
42 return maxVal.doubleValue() - minVal.doubleValue();
51 return value.doubleValue() >= minVal.doubleValue() && value.doubleValue() <= maxVal.doubleValue();
74 if(line2Min.doubleValue() <= this.minVal.doubleValue() && line2Max.doubleValue() >= this.maxVal.doubleValue()) {
81 return minVal;
84 public void setMinVal(Number minVal) {
85 if(minVal == null) {
88 this.minVal = minVal;
|
/external/opencv3/modules/core/perf/ |
perf_minmaxloc.cpp | 19 double minVal, maxVal; 31 TEST_CYCLE() minMaxLoc(src, &minVal, &maxVal, &minLoc, &maxLoc); 33 SANITY_CHECK(minVal, 1e-12);
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
XYStepCalculator.java | 34 * @param minVal
38 public static XYStep getStep(XYPlot plot, XYAxisType axisType, RectF rect, Number minVal, Number maxVal) {
42 step = getStep(plot.getDomainStepMode(), rect.width(), plot.getDomainStepValue(), minVal, maxVal);
45 step = getStep(plot.getRangeStepMode(), rect.height(), plot.getRangeStepValue(), minVal, maxVal);
51 public static XYStep getStep(XYStepMode typeXY, float plotPixelSize, double stepValue, Number minVal, Number maxVal) {
59 stepPix = (float)(stepValue/ ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize));
65 stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*stepPix;
70 stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*stepPix;
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/ |
XYStepCalculatorTest.java | 45 double minVal = 0;
47 XYStep step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal);
53 minVal = 1000000000;
55 step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libmkv/ |
EbmlWriter.c | 26 int64_t minVal = 0xff; 29 if (val < minVal) 32 minVal = (minVal << 7); 87 unsigned long minVal; 90 minVal = 0x7fLU; /* mask to compare for byte size */ 93 if (ui < minVal) { 97 minVal <<= 7;
|
/external/opencv3/samples/cpp/tutorial_code/calib3d/stereoBM/ |
SBM_Sample.cpp | 49 double minVal; double maxVal; 51 minMaxLoc( imgDisparity16S, &minVal, &maxVal ); 53 printf("Min disp: %f Max value: %f \n", minVal, maxVal); 56 imgDisparity16S.convertTo( imgDisparity8U, CV_8UC1, 255/(maxVal - minVal));
|
/external/deqp/framework/randomshaders/ |
rsgUtils.cpp | 67 float minVal = valueRange.component(ndx).getMin().asFloat(); 69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep); 76 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; 78 dst.component(ndx).asBool() = rnd.getInt(minVal, maxVal) == 1; 87 int minVal = valueRange.component(ndx).getMin().asInt(); 89 dst.component(ndx).asInt() = rnd.getInt(minVal, maxVal); 195 bool minVal = rnd.getBool(); 196 bool maxVal = minVal ? true : rnd.getBool(); 197 valueRange.getMin().component(ndx).asBool() = minVal; 210 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen) [all...] |
/external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/ |
pointPolygonTest_demo.cpp | 53 double minVal; double maxVal; 54 minMaxLoc( raw_dist, &minVal, &maxVal, 0, 0, Mat() ); 55 minVal = abs(minVal); maxVal = abs(maxVal); 64 { drawing.at<Vec3b>(j,i)[0] = (uchar)(255 - abs(raw_dist.at<float>(j,i))*255/minVal); }
|
/external/opencv3/modules/core/src/opencl/ |
minmaxloc.cl | 70 if (minval > temp.p) \ 72 minval = temp.p; \ 77 minval = MIN(minval, temp.p); 140 dstT1 minval = MAX_VAL; 213 if (minval > temp) 215 minval = temp; 219 minval = MIN(minval, temp); 268 localmem_min[lid] = minval; [all...] |
/external/opencv3/modules/ts/include/opencv2/ts/ |
ocl_test.hpp | 204 int randomInt(int minVal, int maxVal) 206 return rng.uniform(minVal, maxVal); 209 double randomDouble(double minVal, double maxVal) 211 return rng.uniform(minVal, maxVal); 214 double randomDoubleLog(double minVal, double maxVal) 216 double logMin = log((double)minVal + 1); 220 CV_Assert(v >= minVal && (v < maxVal || (v == minVal && v == maxVal))); 224 Size randomSize(int minVal, int maxVal) 227 return cv::Size((int)randomDoubleLog(minVal, maxVal), (int)randomDoubleLog(minVal, maxVal)) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldAndroidTreeMapTest.java | 45 int minVal = Integer.MAX_VALUE; 51 if (val < minVal) { 52 minVal = val; 67 if (SPEW) System.out.println("minVal = " + minVal); 70 assertEquals(minVal, tm.firstKey().intValue());
|
/external/deqp/modules/gles2/functional/ |
es2fShaderAlgorithmTests.cpp | 213 << "mediump float minVal = min(min(r, g), b);" 215 << "mediump float L = (minVal + maxVal) * 0.5;" 216 << "if (minVal == maxVal)" 223 << " S = (maxVal - minVal) / (maxVal + minVal);" 225 << " S = (maxVal - minVal) / (2.0 - maxVal - minVal);" 227 << " mediump float ooDiff = 1.0 / (maxVal - minVal);" 239 float minVal = min(min(r, g), b); 241 float L = (minVal + maxVal) * 0.5f [all...] |
/external/opencv3/samples/cpp/ |
mask_tmpl.cpp | 56 double minVal, maxVal; 59 minMaxLoc(res, &minVal, &maxVal, &minLoc, &maxLoc);
|
/external/opencv3/modules/ts/src/ |
cuda_test.cpp | 62 int randomInt(int minVal, int maxVal) 65 return rng.uniform(minVal, maxVal); 68 double randomDouble(double minVal, double maxVal) 71 return rng.uniform(minVal, maxVal); 74 Size randomSize(int minVal, int maxVal) 76 return Size(randomInt(minVal, maxVal), randomInt(minVal, maxVal)); 79 Scalar randomScalar(double minVal, double maxVal) 81 return Scalar(randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, maxVal)) [all...] |
/external/opencv3/modules/cudaarithm/test/ |
test_reductions.cpp | 397 double minVal, maxVal; 398 cv::cuda::minMax(loadMat(src), &minVal, &maxVal); 407 double minVal, maxVal; 408 cv::cuda::minMax(loadMat(src, useRoi), &minVal, &maxVal); 413 EXPECT_DOUBLE_EQ(minVal_gold, minVal); 449 double minVal, maxVal; 450 cv::cuda::minMax(loadMat(src), &minVal, &maxVal, loadMat(mask)); 459 double minVal, maxVal; 460 cv::cuda::minMax(loadMat(src, useRoi), &minVal, &maxVal, loadMat(mask, useRoi)); 465 EXPECT_DOUBLE_EQ(minVal_gold, minVal); [all...] |
/external/libopus/celt/ |
mathops.h | 51 opus_val16 minval = 0; local 55 minval = MIN16(minval, x[i]); 57 return MAX32(EXTEND32(maxval),-EXTEND32(minval)); 67 opus_val32 minval = 0; local 71 minval = MIN32(minval, x[i]); 73 return MAX32(maxval, -minval);
|
/external/opencv3/modules/cudaimgproc/test/ |
test_match_template.cpp | 253 double minVal, maxVal; 254 cv::minMaxLoc(dst, &minVal, &maxVal, &minLoc, &maxLoc); 266 ASSERT_GE(minVal, -1.0); 303 double minVal; 305 cv::minMaxLoc(result, &minVal, 0, &minLoc, 0); 307 ASSERT_GE(minVal, 0); 308 ASSERT_LT(minVal, 1e-3); 328 double minVal; 330 cv::minMaxLoc(result, &minVal, 0, &minLoc, 0); 332 ASSERT_GE(minVal, 0) [all...] |
/external/mesa3d/src/glsl/builtins/profiles/ |
100.glsl | 143 float clamp(float x, float minVal, float maxVal); 144 vec2 clamp(vec2 x, vec2 minVal, vec2 maxVal); 145 vec3 clamp(vec3 x, vec3 minVal, vec3 maxVal); 146 vec4 clamp(vec4 x, vec4 minVal, vec4 maxVal); 148 vec2 clamp(vec2 x, float minVal, float maxVal); 149 vec3 clamp(vec3 x, float minVal, float maxVal); 150 vec4 clamp(vec4 x, float minVal, float maxVal);
|
130.glsl | 237 float clamp(float x, float minVal, float maxVal); 238 vec2 clamp(vec2 x, vec2 minVal, vec2 maxVal); 239 vec3 clamp(vec3 x, vec3 minVal, vec3 maxVal); 240 vec4 clamp(vec4 x, vec4 minVal, vec4 maxVal); 242 vec2 clamp(vec2 x, float minVal, float maxVal); 243 vec3 clamp(vec3 x, float minVal, float maxVal); 244 vec4 clamp(vec4 x, float minVal, float maxVal); 246 int clamp(int x, int minVal, int maxVal); 247 ivec2 clamp(ivec2 x, ivec2 minVal, ivec2 maxVal); 248 ivec3 clamp(ivec3 x, ivec3 minVal, ivec3 maxVal) [all...] |
/external/opencv3/doc/py_tutorials/py_imgproc/py_canny/ |
py_canny.markdown | 54 threshold values, minVal and maxVal. Any edges with intensity gradient more than maxVal are sure to 55 be edges and those below minVal are sure to be non-edges, so discarded. Those who lie between these 64 although it is above minVal and is in same region as that of edge C, it is not connected to any 65 "sure-edge", so that is discarded. So it is very important that we have to select minVal and maxVal 76 argument is our input image. Second and third arguments are our minVal and maxVal respectively.
|
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
minmaxloc.hpp | 60 __global__ void minMaxLoc_pass_1(const SrcPtr src, ResType* minVal, ResType* maxVal, int* minLoc, int* maxLoc, const MaskPtr mask, const int rows, const int cols, const int patch_y, const int patch_x) 109 minVal[bid] = myMin; 156 __host__ void minMaxLoc(const SrcPtr& src, ResType* minVal, ResType* maxVal, int* minLoc, int* maxLoc, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) 164 minMaxLoc_pass_1<Policy::block_size_x * Policy::block_size_y><<<grid, block, 0, stream>>>(src, minVal, maxVal, minLoc, maxLoc, mask, rows, cols, patch_y, patch_x); 167 minMaxLoc_pass_2<Policy::block_size_x * Policy::block_size_y><<<1, Policy::block_size_x * Policy::block_size_y, 0, stream>>>(minVal, maxVal, minLoc, maxLoc, grid.x * grid.y);
|
/external/vulkan-validation-layers/libs/glm/detail/ |
func_common.inl | 406 genType const & minVal, 414 return min(maxVal, max(minVal, x)); 421 T const & minVal, 430 clamp(x.x, minVal, maxVal), 431 clamp(x.y, minVal, maxVal)); 438 T const & minVal, 447 clamp(x.x, minVal, maxVal), 448 clamp(x.y, minVal, maxVal), 449 clamp(x.z, minVal, maxVal)); 456 T const & minVal, [all...] |
/external/skia/src/utils/ |
SkTextureCompressor_LATC.cpp | 131 uint8_t minVal = 255; 134 minVal = SkTMin(pixels[i], minVal); 138 SkASSERT(!is_extremal(minVal)); 142 generate_latc_palette(palette, maxVal, minVal); 165 (static_cast<uint64_t>(minVal) << 8) | 173 uint8_t minVal = 255; 180 minVal = SkTMin(pixels[i], minVal); 184 SkASSERT(!is_extremal(minVal)); [all...] |
/external/opencv3/modules/cudalegacy/src/cuda/ |
gmg.cu | 62 void loadConstants(int width, int height, float minVal, float maxVal, int quantizationLevels, float backgroundPrior, 67 cudaSafeCall( cudaMemcpyToSymbol(c_minVal, &minVal, sizeof(minVal)) ); 120 float minVal = numeric_limits<float>::max(); 124 if (w < minVal) 126 minVal = w;
|
/external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/ |
MatchTemplate_Demo.cpp | 71 double minVal; double maxVal; Point minLoc; Point maxLoc; 74 minMaxLoc( result, &minVal, &maxVal, &minLoc, &maxLoc, Mat() );
|