/external/aac/libFDK/src/mips/ |
H A D | scale.cpp | 109 FIXP_DBL maxVal = FL2FX_DBL(0.0f); local 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/ |
H A D | LineRegion.java | 25 private Number maxVal;
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()) {
92 return maxVal;
95 public void setMaxVal(Number maxVal) {
argument 96 if(maxVal == null) {
99 this.maxVal = maxVal;
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
H A D | XYStepCalculator.java | 35 * @param maxVal
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 D | 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/ |
H A D | noisedet.cpp | 170 FIXP_DBL fhelp1, fhelp2, fhelp3, fhelp4, maxVal, minVal; local 185 maxVal = fixMax(fhelp1, fhelp2); 186 maxVal = fixMax(maxVal, fhelp3); 187 maxVal = fixMax(maxVal, fhelp4); 195 leadingBits = CountLeadingBits(maxVal); 196 testVal = maxVal << leadingBits;
|
H A D | bit_cnt.h | 172 INT maxVal,
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | state_construct.c | 35 int16_t maxVal; local 53 maxVal = WebRtcIlbcfix_kFrgQuantMod[idxForMax]; 62 maxVal is in Q8 and result is in Q(-1) */ 63 *tmp1 = (int16_t)((maxVal * WebRtcIlbcfix_kStateSq3[*tmp2] + 2097152) >> 71 maxVal is in Q5 and result is in Q(-1) */ 72 *tmp1 = (int16_t)((maxVal * WebRtcIlbcfix_kStateSq3[*tmp2] + 262144) >> 80 maxVal is in Q3 and result is in Q(-1) */ 81 *tmp1 = (int16_t)((maxVal * WebRtcIlbcfix_kStateSq3[*tmp2] + 65536) >>
|
H A D | state_search.c | 37 int16_t maxVal; local 81 maxVal=WebRtcSpl_MaxAbsValueW16(sampleAr, iLBCenc_inst->state_short_len); 85 if ((((int32_t)maxVal)<<scaleRes)<23170) { 86 maxValsq=((int32_t)maxVal*maxVal)<<(2+2*scaleRes);
|
/external/aac/libFDK/src/ |
H A D | scale.cpp | 352 SHORT temp, maxVal = 0; local 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; local 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; local 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 local 451 SHORT temp, maxVal = (FIXP_SGL)0; local [all...] |
/external/deqp/framework/randomshaders/ |
H A D | rsgUtils.cpp | 68 float maxVal = valueRange.component(ndx).getMax().asFloat(); local 69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep); 77 int maxVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; local 78 dst.component(ndx).asBool() = rnd.getInt(minVal, maxVal) == 1; 88 int maxVal = valueRange.component(ndx).getMax().asInt(); local 89 dst.component(ndx).asInt() = rnd.getInt(minVal, maxVal); 196 bool maxVal = minVal ? true : rnd.getBool(); local 198 valueRange.getMax().component(ndx).asBool() = maxVal; 211 int maxVal = minVal + rangeLen; local 214 valueRange.getMax().component(ndx).asInt() = maxVal; 229 float maxVal = minVal + step*(float)rangeLen; local 305 float maxVal = valueRange.component(ndx).getMax().asFloat(); local 314 int maxVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; local 325 int maxVal = valueRange.component(ndx).getMax().asInt(); local [all...] |
H A D | rsgExpression.cpp | 188 int maxVal = minVal + rangeLen; local 191 valueRange.getMax().component(ndx).asInt() = maxVal; 210 float maxVal = minVal + step*(float)rangeLen; local 213 valueRange.getMax().component(ndx).asFloat() = maxVal; 363 float maxVal = +10.0f; local 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 const float value = deFloatClamp(minVal + step*(float)state.getRandom().getInt(0, numSteps), minVal, maxVal); 394 float maxVal = valueRange.getMax().asFloat(); local 421 int maxVal = +16; local 449 int maxVal = valueRange.getMax().asInt(); local 475 int maxVal = 1; local [all...] |
H A D | 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)) {} 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 D | rsgVariableValue.cpp | 165 ValueRange::ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueAccess& maxVal) argument 171 getMax() = maxVal.value(); 174 ValueRange::ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal) argument 180 getMax() = ConstValueAccess(type, maxVal).value();
|
/external/deqp/modules/gles2/functional/ |
H A D | 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) [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MallocOverflowSecurityChecker.cpp | 38 APSInt maxVal; member in struct:__anon1677::MallocOverflowCheck 41 : mulop(m), variable(v), maxVal(std::move(val)) {} 77 APSInt maxVal; local 80 maxVal = 0; 94 maxVal = rhs->EvaluateKnownConstInt(Context); 95 if (EvaluatesToZero(maxVal, opc)) 99 maxVal = lhs->EvaluateKnownConstInt(Context); 100 if (EvaluatesToZero(maxVal, opc)) 121 PossibleMallocOverflows.push_back(MallocOverflowCheck(mulop, e, maxVal)); 215 (numeratorKnown && (denomExtVal >= Check.maxVal [all...] |
/external/skia/src/pathops/ |
H A D | SkPathOpsCurve.cpp | 103 double maxVal = 0; local 105 maxVal = SkTMax(maxVal, SkTMax(SkTAbs(fCurve[index].fX), 110 if (roughly_zero_when_compared_to(fSweep[0].fX, maxVal) 111 && roughly_zero_when_compared_to(fSweep[0].fY, maxVal)) { 120 if (roughly_zero_when_compared_to(fSweep[0].fX, maxVal) 121 && roughly_zero_when_compared_to(fSweep[0].fY, maxVal)) {
|
/external/aac/libAACdec/src/ |
H A D | aacdec_tns.cpp | 230 FIXP_DBL maxVal=FL2FXCONST_DBL(0.0); local 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/ |
H A D | ps_main.cpp | 557 FIXP_QMF maxVal [2][PS_MAX_BANDS]; local 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[ [all...] |
/external/deqp/framework/common/ |
H A D | tcuTextureUtil.cpp | 667 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.x(), maxVal.x()); 821 float g = linearInterpolate(( s + (1.0f-t))*0.5f, minVal.y(), maxVal [all...] |
/external/aac/libSBRdec/src/arm/ |
H A D | 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 ) argument 109 r0 maxVal
|
/external/vulkan-validation-layers/libs/glm/detail/ |
H A D | intrinsic_common.hpp | 71 __m128 sse_clp_ps(__m128 v, __m128 minVal, __m128 maxVal);
|
/external/opencv/cxcore/src/ |
H A D | 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 ) \
|
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aVaryingInterpolationTests.cpp | 101 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 117 , m_max (maxVal) 301 Vec3 maxVal; 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 D | 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) argument 119 , m_max (maxVal) 307 Vec3 maxVal; 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/aac/libSBRdec/src/ |
H A D | env_calc.cpp | 1058 FIXP_DBL maxVal; local 1062 maxVal = maxSubbandSample( analysBufferReal, 1069 ov_reserve = fNorm(maxVal); 1072 maxVal = maxSubbandSample( analysBufferReal, 1079 reserve = fNorm(maxVal); 1290 FIXP_DBL maxVal = FL2FX_DBL(0.0f); local 1301 maxVal = FDK_get_maxval(maxVal, &re[l][lowSubband], &im[l][lowSubband], width); 1309 maxVal |= (FIXP_DBL)((LONG)(tmp1)^((LONG)tmp1>>(DFRACT_BITS-1))); 1310 maxVal | 1378 FIXP_DBL maxVal = FL2FX_DBL(0.0f); local 1504 FIXP_DBL maxVal = maxSubbandSample( analysBufferReal, local [all...] |