Home
last modified time | relevance | path

Searched refs:submat (Results 1 – 2 of 2) sorted by relevance

/external/opencv/cxcore/src/
Dcxarray.cpp1464 cvGetSubRect( const CvArr* arr, CvMat* submat, CvRect rect ) in cvGetSubRect() argument
1477 if( !submat ) in cvGetSubRect()
1496 submat->data.ptr = mat->data.ptr + (size_t)rect.y*mat->step + in cvGetSubRect()
1498 submat->step = mat->step & (rect.height > 1 ? -1 : 0); in cvGetSubRect()
1499 submat->type = (mat->type & (rect.width < mat->cols ? ~CV_MAT_CONT_FLAG : -1)) | in cvGetSubRect()
1500 (submat->step == 0 ? CV_MAT_CONT_FLAG : 0); in cvGetSubRect()
1501 submat->rows = rect.height; in cvGetSubRect()
1502 submat->cols = rect.width; in cvGetSubRect()
1503 submat->refcount = 0; in cvGetSubRect()
1504 res = submat; in cvGetSubRect()
[all …]
/external/opencv/cxcore/include/
Dcxcore.h197 CVAPI(CvMat*) cvGetSubRect( const CvArr* arr, CvMat* submat, CvRect rect );
202 CVAPI(CvMat*) cvGetRows( const CvArr* arr, CvMat* submat,
206 CV_INLINE CvMat* cvGetRow( const CvArr* arr, CvMat* submat, int row ) in cvGetRow() argument
208 return cvGetRows( arr, submat, row, row + 1, 1 ); in cvGetRow()
214 CVAPI(CvMat*) cvGetCols( const CvArr* arr, CvMat* submat,
217 CV_INLINE CvMat* cvGetCol( const CvArr* arr, CvMat* submat, int col ) in cvGetCol() argument
219 return cvGetCols( arr, submat, col, col + 1 ); in cvGetCol()
226 CVAPI(CvMat*) cvGetDiag( const CvArr* arr, CvMat* submat,