HomeSort by relevance Sort by last modified time
    Searched refs:maxVal (Results 1 - 25 of 84) sorted by null

1 2 3 4

  /external/aac/libFDK/src/mips/
scale.cpp 109 FIXP_DBL maxVal = FL2FX_DBL(0.0f);
112 maxVal |= __builtin_mips_absq_s_w(*vector++);
115 return fixMax((INT)0,(CntLeadingZeros(maxVal) - 1));
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/
LineRegion.java 25 private Number maxVal;
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()) {
92 return maxVal;
95 public void setMaxVal(Number maxVal) {
96 if(maxVal == null) {
99 this.maxVal = maxVal;
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
XYStepCalculator.java 35 * @param maxVal
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 46 double maxVal = 100;
47 XYStep step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal);
54 maxVal = 2000000000;
55 step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal);
  /external/aac/libAACenc/src/
noisedet.cpp 170 FIXP_DBL fhelp1, fhelp2, fhelp3, fhelp4, maxVal, minVal;
185 maxVal = fixMax(fhelp1, fhelp2);
186 maxVal = fixMax(maxVal, fhelp3);
187 maxVal = fixMax(maxVal, fhelp4);
195 leadingBits = CountLeadingBits(maxVal);
196 testVal = maxVal << leadingBits;
bit_cnt.h 172 INT maxVal,
  /external/aac/libFDK/src/
scale.cpp 352 SHORT temp, maxVal = 0;
356 maxVal |= (temp^(temp>>(SHORT_BITS-1)));
359 return fixmax_I((INT)0,(INT)(fixnormz_D((INT)maxVal) - (INT)1 - (INT)(DFRACT_BITS - SHORT_BITS)));
379 INT_PCM temp, maxVal = 0;
383 maxVal |= (temp^(temp>>((sizeof(INT_PCM)*8)-1)));
385 return fixmax_I((INT)0,(INT)(fixnormz_D((INT)maxVal) - (INT)1 - (INT)(DFRACT_BITS - SAMPLE_BITS)));
405 SHORT temp, maxVal = 0;
409 maxVal |= (temp^(temp>>(SHORT_BITS-1)));
412 return fixmax_I((INT)0,(INT)(fixnormz_D((INT)maxVal) - (INT)1 - (INT)(DFRACT_BITS - SHORT_BITS)));
433 FIXP_DBL temp, maxVal = (FIXP_DBL)0
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
OldAndroidTreeMapTest.java 46 int maxVal = Integer.MIN_VALUE;
54 if (val > maxVal) {
55 maxVal = val;
69 if (SPEW) System.out.println("maxVal = " + maxVal);
71 assertEquals(maxVal, tm.lastKey().intValue());
  /external/deqp/framework/randomshaders/
rsgUtils.cpp 68 float maxVal = valueRange.component(ndx).getMax().asFloat();
69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep);
77 int maxVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0;
78 dst.component(ndx).asBool() = rnd.getInt(minVal, maxVal) == 1;
88 int maxVal = valueRange.component(ndx).getMax().asInt();
89 dst.component(ndx).asInt() = rnd.getInt(minVal, maxVal);
196 bool maxVal = minVal ? true : rnd.getBool();
198 valueRange.getMax().component(ndx).asBool() = maxVal;
211 int maxVal = minVal + rangeLen;
214 valueRange.getMax().component(ndx).asInt() = maxVal;
    [all...]
rsgExpression.cpp 188 int maxVal = minVal + rangeLen;
191 valueRange.getMax().component(ndx).asInt() = maxVal;
210 float maxVal = minVal + step*rangeLen;
213 valueRange.getMax().component(ndx).asFloat() = maxVal;
363 float maxVal = +10.0f;
369 maxVal = valueRange.getMax().component(0).asFloat();
374 if (Scalar::max<float>() == maxVal)
375 maxVal = +10.0f;
378 int numSteps = (int)((maxVal-minVal)/step) + 1;
380 float value = deFloatClamp(minVal + step*state.getRandom().getInt(0, numSteps), minVal, maxVal);
    [all...]
rsgVariableValue.hpp 201 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)) {}
243 ValueRangeAccess (const VariableType& type, Scalar* minVal, Scalar* maxVal) : ConstValueRangeAccess(type, minVal, maxVal) {}
275 ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueAccess& maxVal);
276 ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal);
rsgVariableValue.cpp 165 ValueRange::ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueAccess& maxVal)
171 getMax() = maxVal.value();
174 ValueRange::ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal)
180 getMax() = ConstValueAccess(type, maxVal).value();
  /external/deqp/modules/gles2/functional/
es2fShaderAlgorithmTests.cpp 214 << "mediump float maxVal = max(max(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);"
228 << " if (r == maxVal) H = (g - b) * ooDiff;"
229 << " else if (g == maxVal) H = 2.0 + (b - r) * ooDiff;
    [all...]
  /external/skia/src/utils/
SkTextureCompressor_LATC.cpp 132 uint8_t maxVal = 0;
135 maxVal = SkTMax(pixels[i], maxVal);
139 SkASSERT(!is_extremal(maxVal));
142 generate_latc_palette(palette, maxVal, minVal);
164 static_cast<uint64_t>(maxVal) |
174 uint8_t maxVal = 0;
181 maxVal = SkTMax(pixels[i], maxVal);
185 SkASSERT(!is_extremal(maxVal));
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/inc/
bit_cnt.h 96 Word16 maxVal,
  /external/aac/libAACdec/src/
aacdec_tns.cpp 230 FIXP_DBL maxVal=FL2FXCONST_DBL(0.0);
238 maxVal = fixMax(maxVal,fixp_abs(spec[i]));
241 if ( maxVal > FL2FXCONST_DBL(0.03125*0.70710678118) )
242 s = fixMax(CntLeadingZeros(maxVal)-6,0);
244 s = fixMax(CntLeadingZeros(maxVal)-5,0);
  /external/aac/libSBRenc/src/
ps_main.cpp 557 FIXP_QMF maxVal [2][PS_MAX_BANDS];
560 FDKmemclear(maxVal, sizeof(maxVal));
574 FIXP_QMF tmp = maxVal[0][bin];
584 maxVal[0][bin] = tmp;
586 tmp = maxVal[1][bin];
595 maxVal[1][bin] = tmp;
602 dynBandScale[band] = CountLeadingBits(fixMax(maxVal[0][band],maxBandValue[band]));
604 dynBandScale[band] = fixMax(0,CountLeadingBits(fixMax(maxVal[0][band],maxBandValue[band]))-FRACT_BITS);
606 maxValue = fixMax(maxValue,fixMax(maxVal[0][band],maxVal[1][band]))
    [all...]
  /external/deqp/framework/common/
tcuTextureUtil.cpp 447 static inline float linearInterpolate (float t, float minVal, float maxVal)
449 return minVal + (maxVal - minVal) * t;
575 static void fillWithComponentGradients1D (const PixelBufferAccess& access, const Vec4& minVal, const Vec4& maxVal)
582 float r = linearInterpolate(s, minVal.x(), maxVal.x());
583 float g = linearInterpolate(s, minVal.y(), maxVal.y());
584 float b = linearInterpolate(s, minVal.z(), maxVal.z());
585 float a = linearInterpolate(s, minVal.w(), maxVal.w());
591 static void fillWithComponentGradients2D (const PixelBufferAccess& access, const Vec4& minVal, const Vec4& maxVal)
600 float r = linearInterpolate(( s + t) *0.5f, minVal.x(), maxVal.x());
601 float g = linearInterpolate(( s + (1.0f-t))*0.5f, minVal.y(), maxVal.y())
    [all...]
tcuImageCompare.cpp 47 Vec4 maxVal;
56 maxVal = refMax;
70 maxVal[0] = de::max(maxVal[0], resMax[0]);
71 maxVal[1] = de::max(maxVal[1], resMax[1]);
72 maxVal[2] = de::max(maxVal[2], resMax[2]);
73 maxVal[3] = de::max(maxVal[3], resMax[3])
    [all...]
  /external/aac/libSBRdec/src/arm/
env_calc_arm.cpp 98 \param maxVal Preset maximal value
105 __asm FIXP_DBL FDK_get_maxval (FIXP_DBL maxVal, FIXP_DBL *reTmp, FIXP_DBL *imTmp, int width )
109 r0 maxVal
  /external/opencv/cxcore/src/
cxminmaxloc.cpp 63 *maxVal = _fin_cast_macro_(max_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 ) \
  /hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
OverlayPlaneBase.cpp 842 int maxVal, icoeff, res;
847 maxVal = 1 << mantSize;
855 if ((icoeff = (int)(c * 4 * maxVal + 0.5)) < maxVal) {
858 *coeff = (double)icoeff / (double)(4 * maxVal);
859 } else if ((icoeff = (int)(c * 2 * maxVal + 0.5)) < maxVal) {
862 *coeff = (double)icoeff / (double)(2 * maxVal);
863 } else if ((icoeff = (int)(c * maxVal + 0.5)) < maxVal) {
    [all...]
  /external/deqp/modules/gles2/accuracy/
es2aVaryingInterpolationTests.cpp 100 InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective);
112 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective)
116 , m_max (maxVal)
300 Vec3 maxVal;
322 addChild(new InterpolationCase(m_context, baseName.c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, false));
323 addChild(new InterpolationCase(m_context, (baseName + "_proj").c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, true));
  /external/deqp/modules/gles3/accuracy/
es3aVaryingInterpolationTests.cpp 103 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)
119 , m_max (maxVal)
307 Vec3 maxVal;
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/aac/libSBRdec/src/
env_calc.cpp     [all...]

Completed in 1154 milliseconds

1 2 3 4