/frameworks/av/tools/resampler_tools/ |
fir.cpp | 32 static inline int64_t toint(double x, int64_t maxval) { 35 v = static_cast<int64_t>(floor(x * maxval + 0.5)); 36 if (v >= maxval) { 37 return maxval - 1; // error!
|
/toolchain/binutils/binutils-2.25/opcodes/ |
ip2k-ibld.c | 157 unsigned long maxval = mask; 159 if ((value > 0 && (unsigned long) value > maxval) 165 value, minval, maxval); 171 unsigned long maxval = mask; 181 if (val > maxval) 186 val, maxval); 195 long maxval = (1L << (length - 1)) - 1; 197 if (value < minval || value > maxval) 202 value, minval, maxval); 156 unsigned long maxval = mask; local 170 unsigned long maxval = mask; local 194 long maxval = (1L << (length - 1)) - 1; local
|
lm32-ibld.c | 157 unsigned long maxval = mask; 159 if ((value > 0 && (unsigned long) value > maxval) 165 value, minval, maxval); 171 unsigned long maxval = mask; 181 if (val > maxval) 186 val, maxval); 195 long maxval = (1L << (length - 1)) - 1; 197 if (value < minval || value > maxval) 202 value, minval, maxval); 156 unsigned long maxval = mask; local 170 unsigned long maxval = mask; local 194 long maxval = (1L << (length - 1)) - 1; local
|
m32r-ibld.c | 157 unsigned long maxval = mask; 159 if ((value > 0 && (unsigned long) value > maxval) 165 value, minval, maxval); 171 unsigned long maxval = mask; 181 if (val > maxval) 186 val, maxval); 195 long maxval = (1L << (length - 1)) - 1; 197 if (value < minval || value > maxval) 202 value, minval, maxval); 156 unsigned long maxval = mask; local 170 unsigned long maxval = mask; local 194 long maxval = (1L << (length - 1)) - 1; local [all...] |
or1k-ibld.c | 157 unsigned long maxval = mask; 159 if ((value > 0 && (unsigned long) value > maxval) 165 value, minval, maxval); 171 unsigned long maxval = mask; 181 if (val > maxval) 186 val, maxval); 195 long maxval = (1L << (length - 1)) - 1; 197 if (value < minval || value > maxval) 202 value, minval, maxval); 156 unsigned long maxval = mask; local 170 unsigned long maxval = mask; local 194 long maxval = (1L << (length - 1)) - 1; local
|
xstormy16-ibld.c | 157 unsigned long maxval = mask; 159 if ((value > 0 && (unsigned long) value > maxval) 165 value, minval, maxval); 171 unsigned long maxval = mask; 181 if (val > maxval) 186 val, maxval); 195 long maxval = (1L << (length - 1)) - 1; 197 if (value < minval || value > maxval) 202 value, minval, maxval); 156 unsigned long maxval = mask; local 170 unsigned long maxval = mask; local 194 long maxval = (1L << (length - 1)) - 1; local [all...] |
/external/ImageMagick/coders/ |
mat.c | 185 double MaxVal,ExceptionInfo *exception) 194 if (MaxVal == 0) 195 MaxVal = 1; 204 f = (*p / MaxVal) * (QuantumRange-GetPixelRed(image,q)); 222 f = (*p / MaxVal) * (QuantumRange-GetPixelBlue(image,q)); 248 double MaxVal,ExceptionInfo *exception) 256 if (MaxVal == 0) 257 MaxVal = 1; 266 f = (*p / MaxVal) * (QuantumRange-GetPixelRed(image,q)); 284 f = (*p / MaxVal) * (QuantumRange - GetPixelBlue(image,q)) [all...] |
/external/fonttools/Lib/fontTools/misc/ |
xmlReader.py | 121 def __init__(self, title, maxval=100): 124 def set(self, val, maxval=None):
|
/external/gemmlowp/public/ |
bit_depth.h | 33 // dst = (src * maxval + rounding_offset) / 255; 34 // Where dst and src are uint8, maxval is 2^(dstbits)-1,
|
/external/opencv3/modules/ml/src/ |
inner_functions.cpp | 45 ParamGrid::ParamGrid() { minVal = maxVal = 0.; logStep = 1; } 49 maxVal = std::max(_minVal, _maxVal);
|
svm.cpp | 97 if( pg.minVal > pg.maxVal ) 371 grid.maxVal = 500; 377 grid.maxVal = 0.6; 383 grid.maxVal = 100; 389 grid.maxVal = 0.2; 395 grid.maxVal = 300; 401 grid.maxVal = 4; [all...] |
/hardware/intel/img/psb_video/src/ |
psb_overlay.c | 289 int maxVal, icoeff, res; 294 maxVal = 1 << mantSize; 302 if ((icoeff = (int)(c * 4 * maxVal + 0.5)) < maxVal) { 305 *coeff = (double)icoeff / (double)(4 * maxVal); 306 } else if ((icoeff = (int)(c * 2 * maxVal + 0.5)) < maxVal) { 309 *coeff = (double)icoeff / (double)(2 * maxVal); 310 } else if ((icoeff = (int)(c * maxVal + 0.5)) < maxVal) { [all...] |
/external/opencv3/modules/core/src/ |
downhill_simplex.cpp | 331 double minval, maxval; local 332 minval = maxval = p.at<double>(0, j); 337 maxval = std::max(maxval, pval); 339 range = std::max(range, fabs(maxval - minval));
|
mathfuncs.cpp | [all...] |
/external/deqp/modules/gles3/functional/ |
es3fFragmentOutputTests.cpp | 647 Vec4 maxVal (range.y()); 656 maxVal = tcu::min(maxVal, fmtInfo.valueMax); 659 m_testCtx.getLog() << TestLog::Message << "out" << curInVec << " value range: " << valueRangeToString(numScalars, minVal, maxVal) << TestLog::EndMessage; 671 Vec4 c = minVal + (maxVal-minVal)*f; 683 IVec4 maxVal (range.y()); 694 maxVal = select(maxVal, tcu::min(maxVal, fmtMaxVal), isZero); 697 m_testCtx.getLog() << TestLog::Message << "out" << curInVec << " value range: " << valueRangeToString(numScalars, minVal, maxVal) << TestLog::EndMessage [all...] |
/external/chromium-trace/catapult/telemetry/third_party/png/ |
png.py | 335 maxval=None, [all...] |
/external/fio/ |
goptions.c | 506 guint maxval, interval; local 516 maxval = o->maxval; 517 if (!maxval) 518 maxval = UINT_MAX; 534 i->spin = gtk_spin_button_new_with_range(o->minval, maxval, interval); 714 gint maxval; local 725 maxval = o->maxval; 726 if (!maxval) [all...] |
/external/opencv3/doc/tutorials/imgproc/histograms/template_matching/ |
template_matching.markdown | 165 double minVal; double maxVal; Point minLoc; Point maxLoc; 168 minMaxLoc( result, &minVal, &maxVal, &minLoc, &maxLoc, Mat() ); 173 - **&minVal** and **&maxVal:** Variables to save the minimum and maximum values in **result**
|
/external/opencv3/modules/cudaimgproc/test/ |
test_match_template.cpp | 253 double minVal, maxVal; 254 cv::minMaxLoc(dst, &minVal, &maxVal, &minLoc, &maxLoc); 265 ASSERT_LE(maxVal, 1.0);
|
/external/opencv3/modules/imgproc/src/opencl/ |
pyr_down.cl | 151 #define EXTRAPOLATE_(val, maxVal) val 183 #define EXTRAPOLATE_(val, maxVal) EXTRAPOLATE(val, maxVal)
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
dyn_bits.c | 45 Word16 sfbWidth, maxVal; 52 maxVal = sfbMax[i]; 53 bitCount(quantSpectrum + sfbOffset[i], sfbWidth, maxVal, bitLookUp[i]);
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_reduce.java | 125 float maxVal = Float.NEGATIVE_INFINITY; 133 if (input[idx] > maxVal) { 134 maxVal = input[idx];
|
UT_reduce_backward.java | 125 float maxVal = Float.NEGATIVE_INFINITY; 133 if (input[idx] > maxVal) { 134 maxVal = input[idx];
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_reduce_backward.java | 135 float maxVal = Float.NEGATIVE_INFINITY; 143 if (input[idx] > maxVal) { 144 maxVal = input[idx];
|
/system/extras/verity/fec/ |
main.cpp | 118 static uint64_t parse_arg(const char *arg, const char *name, uint64_t maxval) 129 if (value > maxval) { 130 FATAL("value of roots too large (max. %" PRIu64 ")\n", maxval);
|