Home
last modified time | relevance | path

Searched refs:minval (Results 1 – 25 of 34) sorted by relevance

12

/external/libopus/celt/
Dmathops.h51 opus_val16 minval = 0; in celt_maxabs16() local
55 minval = MIN16(minval, x[i]); in celt_maxabs16()
57 return MAX32(EXTEND32(maxval),-EXTEND32(minval)); in celt_maxabs16()
67 opus_val32 minval = 0; in celt_maxabs32() local
71 minval = MIN32(minval, x[i]); in celt_maxabs32()
73 return MAX32(maxval, -minval); in celt_maxabs32()
/external/opencv3/modules/core/src/opencl/
Dminmaxloc.cl70 if (minval > temp.p) \
72 minval = temp.p; \
77 minval = MIN(minval, temp.p);
140 dstT1 minval = MAX_VAL;
213 if (minval > temp)
215 minval = temp;
219 minval = MIN(minval, temp);
268 localmem_min[lid] = minval;
290 if (localmem_min[lid3] >= minval)
292 if (localmem_min[lid3] == minval)
[all …]
/external/libvorbis/vq/
Dbookutil.c29 int minval=book->minval; in _best() local
38 int v = ((int)rint(a[o])-minval+(del>>1))/del; in _best()
44 int v = (int)rint(a[o])-minval; in _best()
55 int maxval = book->minval + book->delta*(book->quantvals-1); in _best()
Dlocalcodebook.h78 int minval; member
/external/opencv3/modules/core/src/
Ddownhill_simplex.cpp331 double minval, maxval; in innerDownhillSimplex() local
332 minval = maxval = p.at<double>(0, j); in innerDownhillSimplex()
336 minval = std::min(minval, pval); in innerDownhillSimplex()
339 range = std::max(range, fabs(maxval - minval)); in innerDownhillSimplex()
Dstat.cpp1888 static void minMaxIdx_8u(const uchar* src, const uchar* mask, int* minval, int* maxval, in minMaxIdx_8u() argument
1890 { minMaxIdx_(src, mask, minval, maxval, minidx, maxidx, len, startidx ); } in minMaxIdx_8u()
1892 static void minMaxIdx_8s(const schar* src, const uchar* mask, int* minval, int* maxval, in minMaxIdx_8s() argument
1894 { minMaxIdx_(src, mask, minval, maxval, minidx, maxidx, len, startidx ); } in minMaxIdx_8s()
1896 static void minMaxIdx_16u(const ushort* src, const uchar* mask, int* minval, int* maxval, in minMaxIdx_16u() argument
1898 { minMaxIdx_(src, mask, minval, maxval, minidx, maxidx, len, startidx ); } in minMaxIdx_16u()
1900 static void minMaxIdx_16s(const short* src, const uchar* mask, int* minval, int* maxval, in minMaxIdx_16s() argument
1902 { minMaxIdx_(src, mask, minval, maxval, minidx, maxidx, len, startidx ); } in minMaxIdx_16s()
1904 static void minMaxIdx_32s(const int* src, const uchar* mask, int* minval, int* maxval, in minMaxIdx_32s() argument
1906 { minMaxIdx_(src, mask, minval, maxval, minidx, maxidx, len, startidx ); } in minMaxIdx_32s()
[all …]
Darithm.cpp1786 int i = 0, minval = INT_MAX, maxval = INT_MIN; in actualScalarDepth() local
1792 minval = MIN(minval, ival); in actualScalarDepth()
1796 minval >= 0 && maxval <= (int)UCHAR_MAX ? CV_8U : in actualScalarDepth()
1797 minval >= (int)SCHAR_MIN && maxval <= (int)SCHAR_MAX ? CV_8S : in actualScalarDepth()
1798 minval >= 0 && maxval <= (int)USHRT_MAX ? CV_16U : in actualScalarDepth()
1799 minval >= (int)SHRT_MIN && maxval <= (int)SHRT_MAX ? CV_16S : in actualScalarDepth()
5636 int minval = cvRound(getMinVal(sdepth)), maxval = cvRound(getMaxVal(sdepth)); in ocl_inRange() local
5640 if( ilbuf[k] > iubuf[k] || ilbuf[k] > maxval || iubuf[k] < minval ) in ocl_inRange()
5641 ilbuf[k] = minval+1, iubuf[k] = minval; in ocl_inRange()
5747 int minval = cvRound(getMinVal(depth)), maxval = cvRound(getMaxVal(depth)); in inRange() local
[all …]
/external/opencv3/modules/core/test/
Dtest_arithm.cpp25 virtual void getValueRange(int depth, double& minval, double& maxval) in getValueRange()
27 minval = depth < CV_32S ? cvtest::getMinVal(depth) : depth == CV_32S ? -1000000 : -1000.; in getValueRange()
197 void getValueRange(int depth, double& minval, double& maxval) in getValueRange()
199 minval = depth < CV_32S ? cvtest::getMinVal(depth) : depth == CV_32S ? -1000000 : -1000.; in getValueRange()
201 minval = std::max(minval, -30000.); in getValueRange()
960 void getValueRange(int depth, double& minval, double& maxval) in getValueRange()
963 minval = -maxval; in getValueRange()
987 void getValueRange(int depth, double& minval, double& maxval) in getValueRange()
990 minval = -maxval; in getValueRange()
1287 double minval, double maxval, Mat& dst) in saveOutput()
[all …]
Dtest_operations.cpp1001 double minval = 0, maxval = 0; in operations1() local
1002 minMaxIdx(A, &minval, &maxval, minidx, maxidx); in operations1()
1005 minval == -7 && maxval == 12)) in operations1()
1008 minMaxIdx(B, &minval, &maxval, minidx, maxidx); in operations1()
1011 minval == -7 && maxval == 12)) in operations1()
/external/fio/
Dparse.c65 if (!o->minval && !o->maxval) in show_option_range()
68 logger("%20s: min=%d", "range", o->minval); in show_option_range()
530 if (o->minval && ull < o->minval) { in __handle_option()
532 " (%u min)\n", ull, o->minval); in __handle_option()
796 if (o->minval && il < o->minval) { in __handle_option()
798 il, o->minval); in __handle_option()
1208 o->minval = 0; in option_init()
Doptions.c1562 .minval = 1,
1577 .minval = 1,
1591 .minval = 0,
1647 .minval = 1,
1706 .minval = 1,
1723 .minval = 1,
1742 .minval = 1,
2267 .minval = 0,
2373 .minval = 0,
2385 .minval = 2 * sizeof(struct verify_header),
[all …]
Dparse.h53 int minval; member
/external/opencv3/modules/photo/src/
Dcontrast_preserve.hpp417 float minval = FLT_MAX; in grayImContruct() local
423 if(Gray.at<float>(i,j) < minval) in grayImContruct()
424 minval = Gray.at<float>(i,j); in grayImContruct()
430 Gray -= minval; in grayImContruct()
431 Gray /= maxval - minval; in grayImContruct()
/external/libvorbis/lib/
Dres0.c331 int minval=book->minval; in local_book_besterror() local
341 int v = (a[--o]-minval+(del>>1))/del; in local_book_besterror()
344 p[o]=v*del+minval; in local_book_besterror()
348 int v = a[--o]-minval; in local_book_besterror()
351 p[o]=v*del+minval; in local_book_besterror()
360 int maxval = book->minval + book->delta*(book->quantvals-1); in local_book_besterror()
Dcodebook.h78 int minval; member
/external/opencv3/modules/shape/src/
Dsc_dis.cpp738 double minval; in hungarian() local
739 minMaxIdx(trueCostMatrix.row(nrow), &minval); in hungarian()
740 leftcost+=float(minval); in hungarian()
747 double minval; in hungarian() local
748 minMaxIdx(trueCostMatrix.col(ncol), &minval); in hungarian()
749 rightcost+=float(minval); in hungarian()
/external/opencv3/3rdparty/libjasper/
Djas_seq.c276 void jas_matrix_clip(jas_matrix_t *matrix, jas_seqent_t minval, jas_seqent_t maxval) in jas_matrix_clip() argument
292 if (v < minval) { in jas_matrix_clip()
293 *data = minval; in jas_matrix_clip()
/external/opencv3/modules/imgproc/src/
Dshapedescr.cpp503 __m128i minval, maxval; in pointSetBoundingRect() local
504 minval = maxval = _mm_loadl_epi64((const __m128i*)(&pt)); //min[0]=pt.x, min[1]=pt.y in pointSetBoundingRect()
509 minval = _mm_min_epi32(ptXY, minval); in pointSetBoundingRect()
512 xmin = _mm_cvtsi128_si32(minval); in pointSetBoundingRect()
513 ymin = _mm_cvtsi128_si32(_mm_srli_si128(minval, 4)); in pointSetBoundingRect()
/external/opencv/ml/src/
Dmlrtrees.cpp350 double minval, maxval; in grow_forest() local
352 cvMinMaxLoc( &responses, &minval, &maxval ); in grow_forest()
353 maximal_response = (float)MAX( MAX( fabs(minval), fabs(maxval) ), 0 ); in grow_forest()
/external/opencv3/modules/ts/src/
Dts_func.cpp975 _Tp maxval = saturate_cast<_Tp>(*_maxval), minval = saturate_cast<_Tp>(*_minval); in minMaxLoc_()
983 if( minval > val ) in minMaxLoc_()
985 minval = val; in minMaxLoc_()
1000 if( minval > val && mask[i] ) in minMaxLoc_()
1002 minval = val; in minMaxLoc_()
1014 *_minval = minval; in minMaxLoc_()
1053 double minval = depth < CV_32F ? INT_MAX : depth == CV_32F ? FLT_MAX : DBL_MAX; in minMaxLoc() local
1065 &minval, &maxval, &minidx, &maxidx, mptr); in minMaxLoc()
1069 &minval, &maxval, &minidx, &maxidx, mptr); in minMaxLoc()
1073 &minval, &maxval, &minidx, &maxidx, mptr); in minMaxLoc()
[all …]
/external/chromium-trace/catapult/third_party/Paste/paste/util/
Dintset.py178 def _iterranges(self,r1,r2,minval=_MININF,maxval=_MAXINF): argument
179 curval = minval
/external/fio/engines/
De4defrag.c57 .minval = 0,
Dnet.c91 .minval = 1,
176 .minval = 0,
187 .minval = 0,
199 .minval = 0,
/external/opencv3/3rdparty/libjasper/jasper/
Djas_seq.h209 void jas_matrix_clip(jas_matrix_t *matrix, jas_seqent_t minval,
/external/opencv3/modules/videoio/src/
Dcap_dc1394.cpp782 unsigned int minval,maxval; in icvSetFeatureCAM_DC1394() local
833 …CV_DC1394_CALL( dc1394_get_min_value(capture->handle, capture->camera->node, feature_id, &minval)); in icvSetFeatureCAM_DC1394()
835 val = (int)MIN(maxval, MAX((unsigned)val, minval)); in icvSetFeatureCAM_DC1394()

12