/external/mesa3d/src/mesa/main/ |
macros.h | 646 /** Clamp X to [MIN,MAX] */ 647 #define CLAMP( X, MIN, MAX ) ( (X)<(MIN) ? (MIN) : ((X)>(MAX) ? (MAX) : (X)) )
|
/external/opencv/cv/src/ |
cvsegmentation.cpp | 112 // MIN(a,b) = a - MAX(a-b,0) 372 termcrit.max_iter = MIN(termcrit.max_iter,100); 466 maxx = cvRound(x0 + sp); maxx = MIN(maxx, size.width-1); 467 maxy = cvRound(y0 + sp); maxy = MIN(maxy, size.height-1);
|
/external/pdfium/fpdfsdk/src/ |
fpdf_flatten.cpp | 13 enum FPDF_TYPE { MAX, MIN };
196 rcRet.left = GetMinMaxValue(*pRectArray, MIN, LEFT);
199 rcRet.bottom = GetMinMaxValue(*pRectArray, MIN, BOTTOM);
|
/external/strace/ |
defs.h | 98 #ifndef MIN 99 # define MIN(a, b) (((a) < (b)) ? (a) : (b)) 101 #define CLAMP(val, min, max) MIN(MAX(min, val), max)
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
Ruby.stg | 891 MIN = unpack( <dfa.javaCompressedMin; anchor, separator=", ", wrap="\n"> ) 899 ( 0 ... MIN.length ).zip( MIN, MAX ) do | i, a, z | [all...] |
/external/chromium_org/third_party/sqlite/src/ext/async/ |
sqlite3async.c | 28 #define MIN(x,y) ((x)<(y)?(x):(y)) 691 nRead = MIN(filesize - iOffset, iAmt64); 722 nCopy = MIN(nByte64-iBeginIn, iAmt64-iBeginOut); 799 s = MIN(s, pWrite->iOffset); 904 pLock->eLock = MIN(pLock->eLock, eLock); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.core.databinding_1.3.100.I20100601-0800.jar | |
/external/opencv/cxcore/src/ |
cxsumpixels.cpp | 245 int limit = MIN( remaining, size.width - x ); \ 317 int limit = MIN( remaining, size.width - x ); \ [all...] |
cxmean.cpp | 254 int limit = MIN( remaining, size.width - x ); \ 307 int limit = MIN( remaining, size.width - x ); \
|
cxnorm.cpp | 153 int limit = MIN( remaining, size.width - x ); \ 233 int limit = MIN( remaining, size.width - x ); \ 293 int limit = MIN( remaining, size.width - x ); \ 380 int limit = MIN( remaining, size.width - x ); \ 529 int limit = MIN( remaining, size.width - x ); \ 588 int limit = MIN( remaining, size.width - x ); \ [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpegdec_test.c | 35 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) 37 #define CLAMP(x, min, max) MIN(MAX((x), (min)), (max))
|
/external/chromium_org/third_party/angle/src/common/ |
mathutil.h | 66 return static_cast<int>(std::min(x, static_cast<unsigned int>(std::numeric_limits<int>::max()))); 72 // This assumes SrcT can properly represent DestT::min/max 74 ASSERT(static_cast<DestT>(static_cast<SrcT>(std::numeric_limits<DestT>::min())) == std::numeric_limits<DestT>::min()); 77 SrcT lo = static_cast<SrcT>(std::numeric_limits<DestT>::min()); 82 template<typename T, typename MIN, typename MAX> 83 inline T clamp(T x, MIN min, MAX max) 85 // Since NaNs fail all comparison tests, a NaN value will default to min 86 return x > min ? (x > max ? max : x) : min [all...] |
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
adm_writer_unittest.py | 259 MIN 0 MAX 2000000000 276 MIN 0 MAX 2000000000
|
/external/harfbuzz_ng/util/ |
ansi-print.cc | 55 #define MIN(a,b) ((a) < (b) ? (a) : (b)) 128 color_t *p = data + x + MIN (y + row, height - 1) * stride;
|
/external/jpeg/ |
jpegint.h | 298 #undef MIN 299 #define MIN(a,b) ((a) < (b) ? (a) : (b))
|
/external/libexif/libexif/pentax/ |
mnote-pentax-entry.c | 406 strncpy (val, (char*)entry->data, MIN(maxlen, entry->size)); 423 strncpy (val, (char *)entry->data, MIN(maxlen, entry->size));
|
/external/libhevc/decoder/ |
ihevcd_get_mv.c | 171 WORD32 ctb_size_left = MIN(ctb_size, rows_remaining); 184 WORD32 ctb_size_top = MIN(ctb_size, cols_remaining);
|
/external/pdfium/core/include/thirdparties/libjpeg/ |
jpegint.h | 268 #undef MIN
269 #define MIN(a,b) ((a) < (b) ? (a) : (b))
|
/external/pdfium/core/src/fxcodec/libjpeg/ |
jpegint.h | 268 #undef MIN
269 #define MIN(a,b) ((a) < (b) ? (a) : (b))
|
/external/qemu/distrib/jpeg-6b/ |
jpegint.h | 298 #undef MIN 299 #define MIN(a,b) ((a) < (b) ? (a) : (b))
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_RLEaccel.c | 107 #ifndef MIN 108 #define MIN(a, b) ((a) < (b) ? (a) : (b)) [all...] |
/hardware/ti/omap4-aah/camera/ |
Encoder_libjpeg.cpp | 45 #define MIN(x,y) ((x < y) ? x : y) 404 MIN(ARRAY_SIZE(ImageInfo.DateTime), value_length + 1));
|
/ndk/sources/host-tools/make-3.81/ |
make.h | 534 #ifndef MIN 535 #define MIN(_a,_b) ((_a)<(_b)?(_a):(_b))
|
/system/core/logwrapper/ |
logwrap.c | 37 #define MIN(a,b) (((a)<(b))?(a):(b)) 148 cnt = MIN(line_len, e_buf->buf_size - e_buf->write);
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_rdopt.c | 683 rd = MIN(rd1, rd2); 784 mbmi->tx_size = MIN(max_tx_size, largest_tx_size); 843 best_tx : MIN(max_tx_size, max_mode_tx_size); 852 tx_cache[ALLOW_16X16] = rd[MIN(max_tx_size, TX_16X16)][0]; 853 tx_cache[ALLOW_32X32] = rd[MIN(max_tx_size, TX_32X32)][0]; [all...] |