Home | History | Annotate | Download | only in src

Lines Matching refs:COUNT

268                         int count, CvSize winSize, int level,
354 if( count == 0 )
360 if( count < 0 )
374 CV_CALL( status = _status = (char*)cvAlloc( count*sizeof(_status[0]) ));
399 CV_CALL( error = _error = (float*)cvAlloc( count*sizeof(_error[0]) ));
401 for( i = 0; i < count; i++ )
405 (const float*)featuresA, (float*)featuresB, status, error, count,
409 for( i = 0; i < count; i++ )
428 memset( status, 1, count );
430 memset( error, 0, count*sizeof(error[0]) );
433 memcpy( featuresB, featuresA, count*sizeof(featuresA[0]));
447 for( i = 0; i < count; i++ )
659 float *matrices, int count,
752 if( count == 0 )
762 if( count < 0 )
775 CV_CALL( status = _status = (char*)cvAlloc(count) );
783 memset( status, 1, count );
787 memcpy( featuresB, featuresA, count * sizeof( featuresA[0] ));
788 for( i = 0; i < count * 4; i += 4 )
795 for( i = 0; i < count; i++ )
809 for( i = 0; i < count; i++ )
1036 int count, CvMat* M, int full_affine )
1049 for( i = 0; i < count; i++ )
1094 for( i = 0; i < count; i++ )
1138 const int COUNT = 15;
1161 int count_x, count_y, count;
1225 count_y = COUNT;
1226 count_x = cvRound((double)COUNT*sz1.width/sz1.height);
1227 count = count_x * count_y;
1229 CV_CALL( pA = (CvPoint2D32f*)cvAlloc( count*sizeof(pA[0]) ));
1230 CV_CALL( pB = (CvPoint2D32f*)cvAlloc( count*sizeof(pB[0]) ));
1231 CV_CALL( status = (char*)cvAlloc( count*sizeof(status[0]) ));
1241 cvCalcOpticalFlowPyrLK( A, B, 0, 0, pA, pB, count, cvSize(10,10), 3,
1245 for( i = 0, k = 0; i < count; i++ )
1256 count = k;
1260 count = A->cols*A->rows;
1272 CV_CALL( pA = (CvPoint2D32f*)cvAlloc( count*sizeof(pA[0]) ));
1273 CV_CALL( pB = (CvPoint2D32f*)cvAlloc( count*sizeof(pB[0]) ));
1283 CV_CALL( good_idx = (int*)cvAlloc( count*sizeof(good_idx[0]) ));
1285 if( count < RANSAC_SIZE0 )
1304 idx[i] = cvRandInt(&rng) % count;
1350 for( i = 0, good_count = 0; i < count; i++ )
1357 if( good_count >= count*RANSAC_GOOD_RATIO )
1364 if( good_count < count )