Searched refs:minVal (Results 1 - 25 of 51) sorted by relevance

123

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/
H A DLineRegion.java24 private Number minVal; field in class:LineRegion
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) { argument
85 if(minVal == null) {
88 this.minVal = minVal;
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
H A DXYStepCalculator.java34 * @param minVal
38 public static XYStep getStep(XYPlot plot, XYAxisType axisType, RectF rect, Number minVal, Number maxVal) { argument
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) { argument
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/
H A DXYStepCalculatorTest.java45 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);
/external/aac/libAACenc/src/
H A Dnoisedet.cpp170 FIXP_DBL fhelp1, fhelp2, fhelp3, fhelp4, maxVal, minVal; local
190 minVal = fixMin(fhelp1, fhelp2);
191 minVal = fixMin(minVal, fhelp3);
192 minVal = fixMin(minVal, fhelp4);
197 refVal = minVal << leadingBits;
/external/deqp/framework/randomshaders/
H A DrsgUtils.cpp67 float minVal = valueRange.component(ndx).getMin().asFloat(); local
69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep);
76 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; local
78 dst.component(ndx).asBool() = rnd.getInt(minVal, maxVal) == 1;
87 int minVal = valueRange.component(ndx).getMin().asInt(); local
89 dst.component(ndx).asInt() = rnd.getInt(minVal, maxVal);
195 bool minVal = rnd.getBool(); local
196 bool maxVal = minVal ? true : rnd.getBool();
197 valueRange.getMin().component(ndx).asBool() = minVal;
210 int minVal local
228 float minVal = minFloatVal + step*(float)minStep; local
304 float minVal = valueRange.component(ndx).getMin().asFloat(); local
313 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; local
324 int minVal = valueRange.component(ndx).getMin().asInt(); local
[all...]
H A DrsgExpression.cpp187 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen); local
188 int maxVal = minVal + rangeLen;
190 valueRange.getMin().component(ndx).asInt() = minVal;
209 float minVal = minFloatVal + step*(float)minStep; local
210 float maxVal = minVal + step*(float)rangeLen;
212 valueRange.getMin().component(ndx).asFloat() = minVal;
362 float minVal = -10.0f; local
368 minVal = valueRange.getMin().component(0).asFloat();
371 if (Scalar::min<float>() == minVal)
372 minVal
393 float minVal = valueRange.getMin().asFloat(); local
420 int minVal = -16; local
448 int minVal = valueRange.getMin().asInt(); local
474 int minVal = 0; local
[all...]
H A DrsgVariableValue.hpp201 ConstValueRangeAccess (const VariableType& type, const Scalar* minVal, const Scalar* maxVal) : m_type(&type), m_min(const_cast<Scalar*>(minVal)), m_max(const_cast<Scalar*>(maxVal)) {} argument
243 ValueRangeAccess (const VariableType& type, Scalar* minVal, Scalar* maxVal) : ConstValueRangeAccess(type, minVal, maxVal) {} argument
275 ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueAccess& maxVal);
276 ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal);
H A DrsgVariableValue.cpp165 ValueRange::ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueAccess& maxVal) argument
170 getMin() = minVal.value();
174 ValueRange::ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal) argument
179 getMin() = ConstValueAccess(type, minVal).value();
/external/deqp/modules/gles2/functional/
H A Des2fShaderAlgorithmTests.cpp213 << "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
[all...]
H A Des2fBufferTestUtil.cpp547 const float minVal = 0.1f;
555 i->x() = rnd.getFloat(minVal, maxVal);
556 i->y() = rnd.getFloat(minVal, maxVal);
557 i->z() = rnd.getFloat(minVal, maxVal);
/external/deqp/framework/common/
H A DtcuTextureUtil.cpp667 static inline float linearInterpolate (float t, float minVal, float maxVal)
669 return minVal + (maxVal - minVal) * t;
795 static void fillWithComponentGradients1D (const PixelBufferAccess& access, const Vec4& minVal, const Vec4& maxVal)
802 float r = linearInterpolate(s, minVal.x(), maxVal.x());
803 float g = linearInterpolate(s, minVal.y(), maxVal.y());
804 float b = linearInterpolate(s, minVal.z(), maxVal.z());
805 float a = linearInterpolate(s, minVal.w(), maxVal.w());
811 static void fillWithComponentGradients2D (const PixelBufferAccess& access, const Vec4& minVal, const Vec4& maxVal)
820 float r = linearInterpolate(( s + t) *0.5f, minVal
[all...]
H A DtcuImageCompare.cpp46 Vec4 minVal; local
55 minVal = refMin;
65 minVal[0] = de::min(minVal[0], resMin[0]);
66 minVal[1] = de::min(minVal[1], resMin[1]);
67 minVal[2] = de::min(minVal[2], resMin[2]);
68 minVal[3] = de::min(minVal[
[all...]
H A DtcuTextureUtil.hpp118 void fillWithComponentGradients (const PixelBufferAccess& access, const Vec4& minVal, const Vec4& maxVal);
129 void estimatePixelValueRange (const ConstPixelBufferAccess& access, Vec4& minVal, Vec4& maxVal);
/external/vulkan-validation-layers/libs/glm/detail/
H A Dintrinsic_common.hpp71 __m128 sse_clp_ps(__m128 v, __m128 minVal, __m128 maxVal);
H A Dfunc_common.hpp200 /// Returns min(max(x, minVal), maxVal) for each component in x
201 /// using the floating-point values minVal and maxVal.
210 genType const & minVal,
216 typename genType::value_type const & minVal,
/external/opencv/cxcore/src/
H A Dcxminmaxloc.cpp62 *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/gles2/accuracy/
H A Des2aVaryingInterpolationTests.cpp101 InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective);
113 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective) argument
116 , m_min (minVal)
300 Vec3 minVal; member in struct:deqp::gles2::Accuracy::__anon4368
323 addChild(new InterpolationCase(m_context, baseName.c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, false));
324 addChild(new InterpolationCase(m_context, (baseName + "_proj").c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, true));
/external/deqp/modules/gles3/accuracy/
H A Des3aVaryingInterpolationTests.cpp103 InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective);
115 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective) argument
118 , m_min (minVal)
306 Vec3 minVal; member in struct:deqp::gles3::Accuracy::__anon4494
329 addChild(new InterpolationCase(m_context, baseName.c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, false));
330 addChild(new InterpolationCase(m_context, (baseName + "_proj").c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, true));
/external/valgrind/include/
H A Dpub_tool_wordfm.h113 // case, the caller must supply via minVal and maxVal, the value
124 UWord minKey, UWord minVal,
/external/vulkan-validation-layers/libs/glm/gtx/
H A Dsimd_vec4.hpp276 //! Returns min(max(x, minVal), maxVal) for each component in x
277 //! using the floating-point values minVal and maxVal.
282 detail::fvec4SIMD const & minVal,
287 float const & minVal,
/external/deqp/modules/gles3/functional/
H A Des3fFragmentOutputTests.cpp646 Vec4 minVal (range.x());
655 minVal = tcu::max(minVal, fmtInfo.valueMin);
659 m_testCtx.getLog() << TestLog::Message << "out" << curInVec << " value range: " << valueRangeToString(numScalars, minVal, maxVal) << TestLog::EndMessage;
671 Vec4 c = minVal + (maxVal-minVal)*f;
682 IVec4 minVal (range.x());
693 minVal = select(minVal, tcu::max(minVal, fmtMinVa
[all...]
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrUtil.hpp76 void fillGradient (MultiPlaneImageData* imageData, const tcu::Vec4& minVal, const tcu::Vec4& maxVal);
/external/deqp/modules/glshared/
H A DglsRandomShaderCase.cpp188 float minVal = valueRange.getMin().component(compNdx).asFloat(); local
196 dst[compNdx] = minVal + f * (maxVal-minVal);
/external/deqp/modules/gles31/functional/
H A Des31fShaderAtomicOpTests.cpp269 const int minVal = 1; local
274 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal);
424 const int minVal = isSigned ? -maxVal : 0;
427 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal);
506 const int minVal = isSigned ? -maxVal : 0;
509 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal);
/external/deqp/framework/opengl/
H A DgluTextureTestUtil.hpp384 inline LogGradientFmt formatGradient (const tcu::Vec4* minVal, const tcu::Vec4* maxVal) { return LogGradientFmt(minVal, maxVal); } argument

Completed in 3215 milliseconds

123