Home
last modified time | relevance | path

Searched refs:maxValue (Results 1 – 25 of 60) sorted by relevance

123

/external/opencv/cv/src/
Dcvadapthresh.cpp46 int maxValue, int type, int size, double delta ) in icvAdaptiveThreshold_MeanC() argument
60 if( maxValue < 0 ) in icvAdaptiveThreshold_MeanC()
76 if( maxValue > 255 ) in icvAdaptiveThreshold_MeanC()
77 maxValue = 255; in icvAdaptiveThreshold_MeanC()
81 tab[i] = (uchar)(i - 255 > -idelta ? maxValue : 0); in icvAdaptiveThreshold_MeanC()
84 tab[i] = (uchar)(i - 255 <= -idelta ? maxValue : 0); in icvAdaptiveThreshold_MeanC()
104 cvAdaptiveThreshold( const void *srcIm, void *dstIm, double maxValue, in cvAdaptiveThreshold() argument
134 CV_CALL( icvAdaptiveThreshold_MeanC( src, dst, method, cvRound(maxValue),type, in cvAdaptiveThreshold()
/external/chromium-trace/catapult/netlog_viewer/netlog_viewer/
Dtimeline_graph_view.js540 layoutLabels_: function(maxValue) { argument
542 this.layoutLabelsBasic_(maxValue, 0);
554 maxValue = maxValue / 1024;
555 while (units[unit + 1] && maxValue >= 999) {
556 maxValue /= 1024;
561 this.layoutLabelsBasic_(maxValue, 1);
577 layoutLabelsBasic_: function(maxValue, maxDecimalDigits) { argument
580 if (maxValue == 0) {
581 this.max_ = maxValue;
614 if (Math.ceil(maxValue / stepSize) + 1 <= maxLabels)
[all …]
/external/lzma/CPP/Windows/Control/
DProgressBar.h17 …signed short minValue, unsigned short maxValue) { return SendMessage(PBM_SETRANGE, 0, MAKELPARAM(m… in SetRange() argument
18 …DWORD SetRange32(int minValue, int maxValue) { return (DWORD)SendMessage(PBM_SETRANGE32, minValue,… in SetRange32() argument
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonAsmBackend.cpp256 int64_t maxValue; in fixupNeedsRelaxationAdvanced() local
260 maxValue = 1 << 8; in fixupNeedsRelaxationAdvanced()
263 maxValue = 1 << 10; in fixupNeedsRelaxationAdvanced()
266 maxValue = 1 << 16; in fixupNeedsRelaxationAdvanced()
269 maxValue = 1 << 23; in fixupNeedsRelaxationAdvanced()
272 maxValue = INT64_MAX; in fixupNeedsRelaxationAdvanced()
276 bool isFarAway = -maxValue > sValue || sValue > maxValue - 1; in fixupNeedsRelaxationAdvanced()
/external/smali/smali/src/main/java/org/jf/smali/
DLiteralTools.java75 byte maxValue = (byte)(Byte.MAX_VALUE / (radix / 2)); in parseByte()
83 if (result > maxValue) { in parseByte()
145 short maxValue = (short)(Short.MAX_VALUE / (radix / 2)); in parseShort() local
153 if (result > maxValue) { in parseShort()
209 int maxValue = Integer.MAX_VALUE / (radix / 2); in parseInt() local
217 if (result > maxValue) { in parseInt()
279 long maxValue = Long.MAX_VALUE / (radix / 2); in parseLong() local
287 if (result > maxValue) { in parseLong()
/external/deqp/modules/glshared/
DglsLongStressCase.hpp67 Value maxValue; member
79 maxValue.f[0] = maxValue_; in set()
87 vecToArr(maxValue_, maxValue.f); in set()
95 matToArr(maxValue_, maxValue.f); in set()
102 maxValue.i[0] = maxValue_; in set()
110 vecToArr(maxValue_, maxValue.i); in set()
147 tcu::Vec4 maxValue; member
176 , maxValue (maxValue_) in TextureSpec()
DglsStateQueryUtil.cpp1174 void verifyIntegerMax (tcu::ResultCollector& result, QueriedState& state, int maxValue) in verifyIntegerMax() argument
1180 if (maxValue < 0 && state.getBoolAccess() != true) in verifyIntegerMax()
1191 if (state.getIntAccess() > maxValue) in verifyIntegerMax()
1194 buf << "Expected less or equal to " << maxValue << ", got " << state.getIntAccess(); in verifyIntegerMax()
1202 if (state.getInt64Access() > maxValue) in verifyIntegerMax()
1205 buf << "Expected less or equal to " << maxValue << ", got " << state.getInt64Access(); in verifyIntegerMax()
1213 …if (state.getFloatAccess() > deInt32ToFloatRoundToPosInf(maxValue) || deIsNaN(state.getFloatAccess… in verifyIntegerMax()
1216 buf << "Expected less or equal to " << maxValue << ", got " << state.getFloatAccess(); in verifyIntegerMax()
1376 void verifyFloatMax (tcu::ResultCollector& result, QueriedState& state, float maxValue) in verifyFloatMax() argument
1382 if (maxValue < 0.0f && state.getBoolAccess() != true) in verifyFloatMax()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Ddenseranges.cpp106 int32_t maxValue=values[length-1]; // Assume minValue<=maxValue. in uprv_makeDenseRanges() local
109 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; in uprv_makeDenseRanges()
113 ranges[0][1]=maxValue; in uprv_makeDenseRanges()
156 ranges[num-1][1]=maxValue; in uprv_makeDenseRanges()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DPreconditions.java153 public static void checkValueArg(int valueArg, int maxValue) { in checkValueArg() argument
154 if (valueArg > maxValue) { in checkValueArg()
155 if (maxValue == 0) { in checkValueArg()
162 valueArg, maxValue)); in checkValueArg()
/external/llvm/utils/lit/lit/
Dutil.py117 maxValue = max([v for _,v in items])
120 power = int(math.ceil(math.log(maxValue, 10)))
123 N = int(math.ceil(maxValue / barH))
131 bin = min(int(N * v/maxValue), N-1)
142 pDigits = int(math.ceil(math.log(maxValue, 10)))
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DFingerPrintGraph.java97 double maxValue = 0.0; field in FingerPrintGraph
223 double max = kind == TIME_LOG ? Math.log(this.maxValue) : this.maxValue; in drawBars()
413 int n = (int) (this.maxValue / gridValue);
429 n = (int) (this.maxValue / gridValue);
431 int gridWidth = (int) (this.graphWidth * gridValue / this.maxValue);
463 double max = Math.log(this.maxValue);
576 this.maxValue = 0.0;
583 if (value < 1000000 && value > this.maxValue) {
584 this.maxValue = value;
593 if (value < 1000000 && value > this.maxValue) {
[all …]
/external/guava/guava/src/com/google/common/collect/
DDiscreteDomain.java79 @Override public Integer maxValue() { in maxValue() method in DiscreteDomain.IntegerDomain
133 @Override public Long maxValue() { in maxValue() method in DiscreteDomain.LongDomain
259 public C maxValue() { in maxValue() method in DiscreteDomain
/external/parameter-framework/upstream/parameter/
DIntegerParameterType.cpp401 type minValue, type maxValue, in checkValueAgainstRange() argument
405 if (value < minValue || value > maxValue) { in checkValueAgainstRange()
418 stream << maxValue; in checkValueAgainstRange()
422 stream << minValue << ", " << maxValue; in checkValueAgainstRange()
/external/clang/test/CodeGenObjC/
Dprotocols.m6 +(int) maxValue; class
56 return [P1Object maxValue];
/external/mesa3d/src/mesa/main/
Dimage.c781 GLint maxValue) in clip_right_or_top() argument
785 if (*dstX1 > maxValue) { in clip_right_or_top()
787 ASSERT(*dstX0 < maxValue); /* X0 should be inside right edge */ in clip_right_or_top()
788 t = (GLfloat) (maxValue - *dstX0) / (GLfloat) (*dstX1 - *dstX0); in clip_right_or_top()
791 *dstX1 = maxValue; in clip_right_or_top()
795 else if (*dstX0 > maxValue) { in clip_right_or_top()
797 ASSERT(*dstX1 < maxValue); /* X1 should be inside right edge */ in clip_right_or_top()
798 t = (GLfloat) (maxValue - *dstX1) / (GLfloat) (*dstX0 - *dstX1); in clip_right_or_top()
801 *dstX0 = maxValue; in clip_right_or_top()
/external/skia/src/effects/
DSkColorMatrix.cpp20 SkScalar maxValue = row[4] / 255; in component_needs_clamping() local
24 maxValue += row[i]; in component_needs_clamping()
28 return (maxValue > 1) || (minValue < 0); in component_needs_clamping()
/external/deqp/modules/gles31/functional/
Des31fAtomicCounterTests.cpp674 deUint32 maxValue = 0; in checkUniquenessAndLinearity() local
683 maxValue = std::max(maxValue, values[valueNdx]); in checkUniquenessAndLinearity()
687 counts.resize(maxValue - minValue + 1, 0); in checkUniquenessAndLinearity()
721 deUint32 maxValue = 0; in checkPath() local
728 maxValue = std::max(maxValue, increments[valueNdx]); in checkPath()
737 maxValue = std::max(maxValue, decrements[valueNdx]); in checkPath()
742 maxValue = std::max(maxValue, (deUint32)initialValue); in checkPath()
744 incrementCounts.resize(maxValue - minValue + 1, 0); in checkPath()
745 decrementCounts.resize(maxValue - minValue + 1, 0); in checkPath()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DISO8601Converter.java470 public int gatherInt(String errorMsg, int maxValue) throws XMPException in gatherInt() argument
485 if (value > maxValue) in gatherInt()
487 return maxValue; in gatherInt()
/external/skia/src/core/
DSkAntiRun.h49 U8CPU maxValue, int offsetX) { in add() argument
83 alpha[0] = SkToU8(alpha[0] + maxValue); in add()
/external/skia/tools/lua/
Dbbh_filter.lua81 maxValue = meta[1].value
87 verbWeights[v.key] = v.value / maxValue
/external/deqp/modules/gles2/performance/
Des2pShaderControlStatementTests.cpp325 float maxValue = (float)getViewportWidth()*0.5f; in init() local
327 Vec4(maxValue, 0.0f, 0.0f, 0.0f), in init()
329 Vec4(maxValue, 0.0f, 0.0f, 0.0f))); in init()
601 float maxValue = (float)getViewportWidth()*0.5f; in init() local
603 Vec4(maxValue, 0.0f, 0.0f, 0.0f), in init()
605 Vec4(maxValue, 0.0f, 0.0f, 0.0f))); in init()
/external/deqp/modules/gles3/performance/
Des3pShaderControlStatementTests.cpp329 float maxValue = (float)getViewportWidth()*0.5f; in init() local
331 Vec4(maxValue, 0.0f, 0.0f, 0.0f), in init()
333 Vec4(maxValue, 0.0f, 0.0f, 0.0f))); in init()
609 float maxValue = (float)getViewportWidth()*0.5f; in init() local
611 Vec4(maxValue, 0.0f, 0.0f, 0.0f), in init()
613 Vec4(maxValue, 0.0f, 0.0f, 0.0f))); in init()
/external/dng_sdk/source/
Ddng_utils.cpp434 uint32 maxValue, in HistogramArea() argument
440 DoZeroBytes (hist, (maxValue + 1) * (uint32) sizeof (uint32)); in HistogramArea()
479 if (maxValue == 0x0FFFF && step2 == 1) in HistogramArea()
503 if (x <= maxValue) in HistogramArea()
/external/aac/libSBRenc/src/
Dps_main.cpp558 FIXP_QMF maxValue = FL2FXCONST_DBL(0.f); in psFindBestScaling() local
606 maxValue = fixMax(maxValue,fixMax(maxVal[0][band],maxVal[1][band])); in psFindBestScaling()
612 *dmxScale = fixMin(DFRACT_BITS, CountLeadingBits(maxValue)); in psFindBestScaling()
614 *dmxScale = fixMax(0,fixMin(FRACT_BITS, CountLeadingBits(FX_QMF2FX_DBL(maxValue)))); in psFindBestScaling()
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp68 template<typename T> T randomScalar (de::Random& rnd, T minValue, T maxValue);
69 …ndomScalar (de::Random& rnd, float minValue, float maxValue) { return rnd.getFloat(minValue, maxV… in randomScalar() argument
70 …mScalar (de::Random& rnd, deInt32 minValue, deInt32 maxValue) { return rnd.getInt(minValue, maxVal… in randomScalar() argument
71 …r (de::Random& rnd, deUint32 minValue, deUint32 maxValue) { return minValue + rnd.getUint32() % (m… in randomScalar() argument
74 …ector (de::Random& rnd, const tcu::Vector<T, Size>& minValue, const tcu::Vector<T, Size>& maxValue) in randomVector() argument
78 res[ndx] = randomScalar<T>(rnd, minValue[ndx], maxValue[ndx]); in randomVector()
83 … rnd, const tcu::Vector<T, Size>& minValue, const tcu::Vector<T, Size>& maxValue, void* dst, int n… in fillRandomVectors() argument
87 access[offset + ndx] = randomVector<T, Size>(rnd, minValue, maxValue); in fillRandomVectors()
91 static void fillRandomScalars (de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, i… in fillRandomScalars() argument
95 typedPtr[offset + ndx] = randomScalar<T>(rnd, minValue, maxValue); in fillRandomScalars()

123