array 38 3rdparty/include/dshow/dshow.h #define NUMELMS(array) (sizeof(array)/sizeof((array)[0])) array 103 3rdparty/libwebp/enc/histogram.c static double BitsEntropy(const int* const array, int n) { array 111 3rdparty/libwebp/enc/histogram.c if (array[i] != 0) { array 112 3rdparty/libwebp/enc/histogram.c sum += array[i]; array 114 3rdparty/libwebp/enc/histogram.c retval -= VP8LFastSLog2(array[i]); array 115 3rdparty/libwebp/enc/histogram.c if (max_val < array[i]) { array 116 3rdparty/libwebp/enc/histogram.c max_val = array[i]; array 222 apps/traincascade/old_ml_precomp.hpp #define ICV_CONVERT_FLOAT_ARRAY_TO_MATRICE( array, matrice ) \ array 237 apps/traincascade/old_ml_precomp.hpp b.data.fl = (float*)array[i]; \ array 186 modules/core/src/array.cpp cvReleaseMat( CvMat** array ) array 188 modules/core/src/array.cpp if( !array ) array 191 modules/core/src/array.cpp if( *array ) array 193 modules/core/src/array.cpp CvMat* arr = *array; array 198 modules/core/src/array.cpp *array = 0; array 586 modules/core/src/array.cpp cvReleaseSparseMat( CvSparseMat** array ) array 588 modules/core/src/array.cpp if( !array ) array 591 modules/core/src/array.cpp if( *array ) array 593 modules/core/src/array.cpp CvSparseMat* arr = *array; array 598 modules/core/src/array.cpp *array = 0; array 2384 modules/core/src/array.cpp cvGetMat( const CvArr* array, CvMat* mat, array 2388 modules/core/src/array.cpp CvMat* src = (CvMat*)array; array 2712 modules/core/src/array.cpp cvReshape( const CvArr* array, CvMat* header, array 2716 modules/core/src/array.cpp CvMat *mat = (CvMat*)array; array 2789 modules/core/src/array.cpp cvGetImage( const CvArr* array, IplImage* img ) array 2792 modules/core/src/array.cpp const IplImage* src = (const IplImage*)array; array 543 modules/core/src/datastructs.cpp cvCvtSeqToArray( const CvSeq *seq, void *array, CvSlice slice ) array 547 modules/core/src/datastructs.cpp char *dst = (char*)array; array 549 modules/core/src/datastructs.cpp if( !seq || !array ) array 576 modules/core/src/datastructs.cpp return array; array 584 modules/core/src/datastructs.cpp void *array, int total, CvSeq *seq, CvSeqBlock * block ) array 591 modules/core/src/datastructs.cpp if( !seq || ((!array || !block) && total > 0) ) array 610 modules/core/src/datastructs.cpp seq->block_max = seq->ptr = (schar *) array + total * elem_size; array 618 modules/core/src/datastructs.cpp block->data = (schar *) array; array 8 modules/core/test/test_ds.cpp schar* array; array 21 modules/core/test/test_ds.cpp seq->array = (schar*)(seq + 1); array 35 modules/core/test/test_ds.cpp return seq->array + index * seq->elem_size; array 55 modules/core/test/test_ds.cpp memmove( seq->array + to_idx*elem_size, seq->array + from_idx*elem_size, array 60 modules/core/test/test_ds.cpp memcpy( seq->array + from_idx*elem_size, elem, (to_idx - from_idx)*elem_size ); array 66 modules/core/test/test_ds.cpp schar *data = seq->array, t; array 83 modules/core/test/test_ds.cpp schar* array; array 98 modules/core/test/test_ds.cpp set_header->array[i*elem_size] = 0; array 113 modules/core/test/test_ds.cpp set_header->array = (schar*)(set_header->free_stack + max_count); array 130 modules/core/test/test_ds.cpp return set_header->array[idx] ? set_header->array + idx + 1 : 0; array 141 modules/core/test/test_ds.cpp assert( set_header->array[idx2] == 0 ); array 142 modules/core/test/test_ds.cpp set_header->array[idx2] = 1; array 144 modules/core/test/test_ds.cpp memcpy( set_header->array + idx2 + 1, elem, set_header->elem_size - 1 ); array 155 modules/core/test/test_ds.cpp assert( set_header->array[index * set_header->elem_size] == 1 ); array 158 modules/core/test/test_ds.cpp set_header->array[index * set_header->elem_size] = 0; array 543 modules/core/test/test_ds.cpp Mat m( 1, MAX(sseq->count,1)*elem_size, CV_8UC1, sseq->array ); array 1129 modules/core/test/test_ds.cpp sseq->array + slice.start_index*sseq->elem_size, array 1158 modules/core/test/test_ds.cpp qsort( sseq->array, sseq->count, sseq->elem_size, icvCmpSeqElems2 ); array 1170 modules/core/test/test_ds.cpp sseq->array + slice.start_index*sseq->elem_size, array 73 modules/cudev/include/opencv2/cudev/util/type_traits.hpp T array[COUNT]; array 3287 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W Moments moments( InputArray array, bool binaryImage = false ); array 66 modules/imgproc/src/approx.cpp _CvPtInfo *array = buf, *first = 0, *current = 0, *prev_current = 0; array 115 modules/imgproc/src/approx.cpp current = current->next = array + i; array 116 modules/imgproc/src/approx.cpp array[i].s = s; array 117 modules/imgproc/src/approx.cpp array[i].pt = pt; array 140 modules/imgproc/src/approx.cpp i = (int)(current - array); array 141 modules/imgproc/src/approx.cpp pt0 = array[i].pt; array 158 modules/imgproc/src/approx.cpp dx = array[i2].pt.x - array[i1].pt.x; array 159 modules/imgproc/src/approx.cpp dy = array[i2].pt.y - array[i1].pt.y; array 165 modules/imgproc/src/approx.cpp dk_num = (pt0.x - array[i1].pt.x) * dy - (pt0.y - array[i1].pt.y) * dx; array 192 modules/imgproc/src/approx.cpp dx1 = array[i1].pt.x - pt0.x; array 193 modules/imgproc/src/approx.cpp dy1 = array[i1].pt.y - pt0.y; array 194 modules/imgproc/src/approx.cpp dx2 = array[i2].pt.x - pt0.x; array 195 modules/imgproc/src/approx.cpp dy2 = array[i2].pt.y - pt0.y; array 229 modules/imgproc/src/approx.cpp i = (int)(current - array); array 236 modules/imgproc/src/approx.cpp if( array[i2].s > s ) array 242 modules/imgproc/src/approx.cpp if( array[i2].s > s ) array 268 modules/imgproc/src/approx.cpp i = (int)(current - array); array 276 modules/imgproc/src/approx.cpp if( s <= array[i1].s || s <= array[i2].s ) array 297 modules/imgproc/src/approx.cpp if( array[0].s != 0 && array[len - 1].s != 0 ) /* specific case */ array 299 modules/imgproc/src/approx.cpp for( i1 = 1; i1 < len && array[i1].s != 0; i1++ ) array 301 modules/imgproc/src/approx.cpp array[i1 - 1].s = 0; array 307 modules/imgproc/src/approx.cpp for( i2 = len - 2; i2 > 0 && array[i2].s != 0; i2-- ) array 309 modules/imgproc/src/approx.cpp array[i2].next = 0; array 310 modules/imgproc/src/approx.cpp array[i2 + 1].s = 0; array 316 modules/imgproc/src/approx.cpp i1 = (int)(array[0].next - array); array 317 modules/imgproc/src/approx.cpp array[len] = array[0]; /* move to the end */ array 318 modules/imgproc/src/approx.cpp array[len].next = 0; array 319 modules/imgproc/src/approx.cpp array[len - 1].next = array + len; array 321 modules/imgproc/src/approx.cpp temp.next = array + i1; array 704 modules/imgproc/src/approx.cpp cvApproxPoly( const void* array, int header_size, array 717 modules/imgproc/src/approx.cpp if( CV_IS_SEQ( array )) array 719 modules/imgproc/src/approx.cpp src_seq = (CvSeq*)array; array 732 modules/imgproc/src/approx.cpp array, &contour_header, &block ); array 49 modules/imgproc/src/convhull.cpp static int Sklansky_( Point_<_Tp>** array, int start, int end, int* stack, int nsign, int sign2 ) array 57 modules/imgproc/src/convhull.cpp (array[start]->x == array[end]->x && array 58 modules/imgproc/src/convhull.cpp array[start]->y == array[end]->y) ) array 73 modules/imgproc/src/convhull.cpp _Tp cury = array[pcur]->y; array 74 modules/imgproc/src/convhull.cpp _Tp nexty = array[pnext]->y; array 79 modules/imgproc/src/convhull.cpp _Tp ax = array[pcur]->x - array[pprev]->x; array 80 modules/imgproc/src/convhull.cpp _Tp bx = array[pnext]->x - array[pcur]->x; array 81 modules/imgproc/src/convhull.cpp _Tp ay = cury - array[pprev]->y; array 395 modules/imgproc/src/convhull.cpp cvConvexHull2( const CvArr* array, void* hull_storage, array 408 modules/imgproc/src/convhull.cpp if( CV_IS_SEQ( array )) array 410 modules/imgproc/src/convhull.cpp ptseq = (CvSeq*)array; array 418 modules/imgproc/src/convhull.cpp ptseq = cvPointSeqFromMat( CV_SEQ_KIND_GENERIC, array, &contour_header, &block ); array 513 modules/imgproc/src/convhull.cpp CV_IMPL CvSeq* cvConvexityDefects( const CvArr* array, array 528 modules/imgproc/src/convhull.cpp CvSeq *ptseq = (CvSeq*)array, *hull = (CvSeq*)hullarray; array 545 modules/imgproc/src/convhull.cpp ptseq = cvPointSeqFromMat( CV_SEQ_KIND_GENERIC, array, &contour_header, &block ); array 715 modules/imgproc/src/convhull.cpp cvCheckContourConvexity( const CvArr* array ) array 719 modules/imgproc/src/convhull.cpp CvSeq* contour = (CvSeq*)array; array 730 modules/imgproc/src/convhull.cpp CV_SEQ_FLAG_CLOSED, array, &contour_header, &block ); array 624 modules/imgproc/src/linefit.cpp cvFitLine( const CvArr* array, int dist, double param, array 630 modules/imgproc/src/linefit.cpp cv::Mat points = cv::cvarrToMat(array, false, false, 0, &buf); array 392 modules/imgproc/src/rotcalipers.cpp cvMinAreaRect2( const CvArr* array, CvMemStorage* /*storage*/ ) array 395 modules/imgproc/src/rotcalipers.cpp cv::Mat points = cv::cvarrToMat(array, false, false, 0, &abuf); array 698 modules/imgproc/src/shapedescr.cpp cv::Rect cv::boundingRect(InputArray array) array 700 modules/imgproc/src/shapedescr.cpp Mat m = array.getMat(); array 707 modules/imgproc/src/shapedescr.cpp cvMinEnclosingCircle( const void* array, CvPoint2D32f * _center, float *_radius ) array 710 modules/imgproc/src/shapedescr.cpp cv::Mat points = cv::cvarrToMat(array, false, false, 0, &abuf); array 914 modules/imgproc/src/shapedescr.cpp cvContourArea( const void *array, CvSlice slice, int oriented ) array 922 modules/imgproc/src/shapedescr.cpp if( CV_IS_SEQ( array )) array 924 modules/imgproc/src/shapedescr.cpp contour = (CvSeq*)array; array 930 modules/imgproc/src/shapedescr.cpp contour = cvPointSeqFromMat( CV_SEQ_KIND_CURVE, array, &contour_header, &block ); array 950 modules/imgproc/src/shapedescr.cpp cvArcLength( const void *array, CvSlice slice, int is_closed ) array 963 modules/imgproc/src/shapedescr.cpp if( CV_IS_SEQ( array )) array 965 modules/imgproc/src/shapedescr.cpp contour = (CvSeq*)array; array 976 modules/imgproc/src/shapedescr.cpp array, &contour_header, &block ); array 1037 modules/imgproc/src/shapedescr.cpp cvFitEllipse2( const CvArr* array ) array 1040 modules/imgproc/src/shapedescr.cpp cv::Mat points = cv::cvarrToMat(array, false, false, 0, &abuf); array 1046 modules/imgproc/src/shapedescr.cpp cvBoundingRect( CvArr* array, int update ) array 1056 modules/imgproc/src/shapedescr.cpp if( CV_IS_SEQ( array )) array 1058 modules/imgproc/src/shapedescr.cpp ptseq = (CvSeq*)array; array 1070 modules/imgproc/src/shapedescr.cpp mat = cvGetMat( array, &stub ); array 7993 modules/ts/include/opencv2/ts/ts_gtest.h NativeArray(const Element* array, size_t count, RelationToSource relation) { array 7994 modules/ts/include/opencv2/ts/ts_gtest.h Init(array, count, relation); array 8023 modules/ts/include/opencv2/ts/ts_gtest.h void Init(const Element* array, size_t a_size, RelationToSource relation) { array 8025 modules/ts/include/opencv2/ts/ts_gtest.h array_ = array; array 8028 modules/ts/include/opencv2/ts/ts_gtest.h CopyArray(array, a_size, copy); array 10744 modules/ts/include/opencv2/ts/ts_gtest.h internal::ParamGenerator<T> ValuesIn(const T (&array)[N]); array 10775 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_)}; array 10776 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 10794 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 10796 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 10816 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 10818 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 10839 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 10841 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 10864 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 10867 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 10891 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 10894 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 10920 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 10923 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 10950 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 10954 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 10982 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 10986 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11016 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11020 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11051 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11056 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11089 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11094 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11128 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11133 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11168 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11174 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11212 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11218 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11257 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11263 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11303 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11310 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11351 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11358 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11401 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11408 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11453 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11461 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11507 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11515 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11563 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11571 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11620 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11629 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11679 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11688 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11740 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11749 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11803 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11813 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11868 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11878 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 11934 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 11944 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 12002 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 12013 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 12073 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 12084 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 12145 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 12156 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 12219 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 12231 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 12295 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 12307 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 12372 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 12384 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 12451 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 12464 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 12533 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 12546 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 12616 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 12629 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 12700 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 12714 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 12787 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 12801 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 12876 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 12890 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 12966 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 12981 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 13058 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 13073 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 13152 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 13167 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 13247 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 13263 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 13345 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 13361 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 13445 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 13461 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 13546 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 13563 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 13649 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 13666 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 13753 modules/ts/include/opencv2/ts/ts_gtest.h const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), array 13770 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array); array 15945 modules/ts/include/opencv2/ts/ts_gtest.h internal::ParamGenerator<T> ValuesIn(const T (&array)[N]) { array 15946 modules/ts/include/opencv2/ts/ts_gtest.h return ValuesIn(array, array + N); array 169 modules/ts/include/opencv2/ts/ts_perf.hpp static Regression& add(TestBase* test, const std::string& name, cv::InputArray array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); array 170 modules/ts/include/opencv2/ts/ts_perf.hpp static Regression& addMoments(TestBase* test, const std::string& name, const cv::Moments & array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); array 171 modules/ts/include/opencv2/ts/ts_perf.hpp static Regression& addKeypoints(TestBase* test, const std::string& name, const std::vector<cv::KeyPoint>& array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); array 172 modules/ts/include/opencv2/ts/ts_perf.hpp static Regression& addMatches(TestBase* test, const std::string& name, const std::vector<cv::DMatch>& array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); array 175 modules/ts/include/opencv2/ts/ts_perf.hpp Regression& operator() (const std::string& name, cv::InputArray array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); array 201 modules/ts/include/opencv2/ts/ts_perf.hpp void write(cv::InputArray array); array 203 modules/ts/include/opencv2/ts/ts_perf.hpp void verify(cv::FileNode node, cv::InputArray array, double eps, ERROR_TYPE err); array 207 modules/ts/include/opencv2/ts/ts_perf.hpp #define SANITY_CHECK(array, ...) ::perf::Regression::add(this, #array, array , ## __VA_ARGS__) array 208 modules/ts/include/opencv2/ts/ts_perf.hpp #define SANITY_CHECK_MOMENTS(array, ...) ::perf::Regression::addMoments(this, #array, array , ## __VA_ARGS__) array 209 modules/ts/include/opencv2/ts/ts_perf.hpp #define SANITY_CHECK_KEYPOINTS(array, ...) ::perf::Regression::addKeypoints(this, #array, array , ## __VA_ARGS__) array 210 modules/ts/include/opencv2/ts/ts_perf.hpp #define SANITY_CHECK_MATCHES(array, ...) ::perf::Regression::addMatches(this, #array, array , ## __VA_ARGS__) array 3285 modules/ts/src/ts_gtest.cpp std::vector<std::string> ArrayAsVector(const char* const (&array)[kSize]) { array 3286 modules/ts/src/ts_gtest.cpp return std::vector<std::string>(array, array + kSize); array 129 modules/ts/src/ts_perf.cpp Regression& Regression::add(TestBase* test, const std::string& name, cv::InputArray array, double eps, ERROR_TYPE err) array 132 modules/ts/src/ts_perf.cpp return instance()(name, array, eps, err); array 135 modules/ts/src/ts_perf.cpp Regression& Regression::addMoments(TestBase* test, const std::string& name, const cv::Moments& array, double eps, ERROR_TYPE err) array 138 modules/ts/src/ts_perf.cpp cv::Mat m(1, len, CV_64F, (void*)&array); array 143 modules/ts/src/ts_perf.cpp Regression& Regression::addKeypoints(TestBase* test, const std::string& name, const std::vector<cv::KeyPoint>& array, double eps, ERROR_TYPE err) array 145 modules/ts/src/ts_perf.cpp int len = (int)array.size(); array 146 modules/ts/src/ts_perf.cpp cv::Mat pt (len, 1, CV_32FC2, len ? (void*)&array[0].pt : 0, sizeof(cv::KeyPoint)); array 147 modules/ts/src/ts_perf.cpp cv::Mat size (len, 1, CV_32FC1, len ? (void*)&array[0].size : 0, sizeof(cv::KeyPoint)); array 148 modules/ts/src/ts_perf.cpp cv::Mat angle (len, 1, CV_32FC1, len ? (void*)&array[0].angle : 0, sizeof(cv::KeyPoint)); array 149 modules/ts/src/ts_perf.cpp cv::Mat response(len, 1, CV_32FC1, len ? (void*)&array[0].response : 0, sizeof(cv::KeyPoint)); array 150 modules/ts/src/ts_perf.cpp cv::Mat octave (len, 1, CV_32SC1, len ? (void*)&array[0].octave : 0, sizeof(cv::KeyPoint)); array 151 modules/ts/src/ts_perf.cpp cv::Mat class_id(len, 1, CV_32SC1, len ? (void*)&array[0].class_id : 0, sizeof(cv::KeyPoint)); array 161 modules/ts/src/ts_perf.cpp Regression& Regression::addMatches(TestBase* test, const std::string& name, const std::vector<cv::DMatch>& array, double eps, ERROR_TYPE err) array 163 modules/ts/src/ts_perf.cpp int len = (int)array.size(); array 164 modules/ts/src/ts_perf.cpp cv::Mat queryIdx(len, 1, CV_32SC1, len ? (void*)&array[0].queryIdx : 0, sizeof(cv::DMatch)); array 165 modules/ts/src/ts_perf.cpp cv::Mat trainIdx(len, 1, CV_32SC1, len ? (void*)&array[0].trainIdx : 0, sizeof(cv::DMatch)); array 166 modules/ts/src/ts_perf.cpp cv::Mat imgIdx (len, 1, CV_32SC1, len ? (void*)&array[0].imgIdx : 0, sizeof(cv::DMatch)); array 167 modules/ts/src/ts_perf.cpp cv::Mat distance(len, 1, CV_32FC1, len ? (void*)&array[0].distance : 0, sizeof(cv::DMatch)); array 398 modules/ts/src/ts_perf.cpp void Regression::write(cv::InputArray array) array 400 modules/ts/src/ts_perf.cpp write() << "kind" << array.kind(); array 401 modules/ts/src/ts_perf.cpp write() << "type" << array.type(); array 402 modules/ts/src/ts_perf.cpp if (isVector(array)) array 404 modules/ts/src/ts_perf.cpp int total = (int)array.total(); array 409 modules/ts/src/ts_perf.cpp cv::Mat m = array.getMat(idx); array 418 modules/ts/src/ts_perf.cpp if (array.total() * array.channels() < 26) //5x5 or smaller array 419 modules/ts/src/ts_perf.cpp write() << "val" << array.getMat(); array 421 modules/ts/src/ts_perf.cpp write(array.getMat()); array 449 modules/ts/src/ts_perf.cpp void Regression::verify(cv::FileNode node, cv::InputArray array, double eps, ERROR_TYPE err) array 453 modules/ts/src/ts_perf.cpp ASSERT_EQ(expected_kind, array.kind()) << " Argument \"" << node.name() << "\" has unexpected kind"; array 454 modules/ts/src/ts_perf.cpp ASSERT_EQ(expected_type, array.type()) << " Argument \"" << node.name() << "\" has unexpected type"; array 457 modules/ts/src/ts_perf.cpp if (isVector(array)) array 460 modules/ts/src/ts_perf.cpp ASSERT_EQ(expected_length, (int)array.total()) << " Vector \"" << node.name() << "\" has unexpected length"; array 463 modules/ts/src/ts_perf.cpp cv::Mat actual = array.getMat(idx); array 523 modules/ts/src/ts_perf.cpp ASSERT_LE((size_t)26, array.total() * (size_t)array.channels()) array 525 modules/ts/src/ts_perf.cpp verify(node, array.getMat(), eps, "Argument \"" + node.name() + "\"", err); array 531 modules/ts/src/ts_perf.cpp cv::Mat actual = array.getMat(); array 578 modules/ts/src/ts_perf.cpp Regression& Regression::operator() (const std::string& name, cv::InputArray array, double eps, ERROR_TYPE err) array 583 modules/ts/src/ts_perf.cpp if(!array.empty() && array.depth() == CV_USRTYPE1) array 606 modules/ts/src/ts_perf.cpp write(array); array 620 modules/ts/src/ts_perf.cpp verify(this_arg, array, eps, err); array 210 modules/viz/src/vtk/vtkCloudMatSource.cpp Vec3b* array = new Vec3b[total]; array 211 modules/viz/src/vtk/vtkCloudMatSource.cpp Vec3b* pos = array; array 238 modules/viz/src/vtk/vtkCloudMatSource.cpp scalars->SetArray(array->val, total * 3, 0); array 169 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java private static void shuffle(int[] array) { array 170 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java for (int i = array.length; i > 1; i--) { array 171 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java int temp = array[i - 1]; array 173 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java array[i - 1] = array[randIx]; array 174 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java array[randIx] = temp;