Home
last modified time | relevance | path

Searched refs:CV_ELEM_SIZE (Results 1 – 25 of 45) sorted by relevance

12

/external/opencv/cxcore/src/
Dcxarray.cpp138 min_step = CV_ELEM_SIZE(type)*cols; in cvCreateMatHeader()
193 pix_size = CV_ELEM_SIZE(type); in cvInitMatHeader()
288 int64 step = CV_ELEM_SIZE(type); in cvInitMatNDHeader()
459 matnd->dim[1].step = CV_ELEM_SIZE(mat->type); in cvGetMatND()
570 step = CV_ELEM_SIZE(hdr->type); in cvInitNArrayIterator()
876 CV_ZERO_CHAR( ptr, CV_ELEM_SIZE(mat->type)); in icvGetNodePtr()
968 step = CV_ELEM_SIZE(mat->type)*mat->cols; in cvCreateData()
1008 size_t total_size = CV_ELEM_SIZE(mat->type); in cvCreateData()
1061 pix_size = CV_ELEM_SIZE(type); in cvSetData()
1122 cur_step = CV_ELEM_SIZE(mat->type); in cvSetData()
[all …]
Dcxlogic.cpp233 iterator.size.width *= CV_ELEM_SIZE(type); in icvLogicS()
260 elem_size = CV_ELEM_SIZE(type); in icvLogicS()
398 iterator.size.width *= CV_ELEM_SIZE(type); in icvLogic()
428 elem_size = CV_ELEM_SIZE(type); in icvLogic()
656 iterator.size.width *= CV_ELEM_SIZE(type); in cvNot()
689 size.width *= CV_ELEM_SIZE(type); in cvNot()
Dcxcopy.cpp343 pix_size = CV_ELEM_SIZE(iterator.hdr[0]->type); in cvCopy()
421 pix_size = CV_ELEM_SIZE(src->type); in cvCopy()
559 pix_size = CV_ELEM_SIZE(type); in cvSet()
690 iterator.size.width *= CV_ELEM_SIZE(iterator.hdr[0]->type); in cvSetZero()
728 size.width *= CV_ELEM_SIZE(mat->type); in cvSetZero()
948 pix_size = CV_ELEM_SIZE( src->type ); in cvFlip()
1022 pix_size = CV_ELEM_SIZE( src->type ); in cvRepeat()
Dcxmatrix.cpp74 pix_size = CV_ELEM_SIZE(type); in cvSetIdentity()
471 pix_size = CV_ELEM_SIZE(type); in CV_DEF_INIT_PIXSIZE_TAB_2D()
849 int buf_size = size.width*size.height*CV_ELEM_SIZE(worktype); in cvDet()
1104 int buf_size = size.width*size.height*CV_ELEM_SIZE(worktype); in cvInvert()
1403 int buf_size = size.width*size.height*CV_ELEM_SIZE(worktype); in cvSolve()
1828 elem_size = CV_ELEM_SIZE(avg->type); in cvProjectPCA()
1957 elem_size = CV_ELEM_SIZE(avg->type); in cvBackProjectPCA()
Dcximage.cpp221 cvMemStorageAlloc( storage, rows*cols*CV_ELEM_SIZE(type) ) : 0 ); in CvMatrix()
Dcxmatmul.cpp1012 int buf_size = d_size.width*d_size.height*CV_ELEM_SIZE(type); in cvGEMM()
1027 b_step = d_size.width == 1 ? 0 : CV_ELEM_SIZE(type); in cvGEMM()
1105 int elem_size = CV_ELEM_SIZE(type); in cvGEMM()
1625 if( CV_ELEM_SIZE(src_seq->flags) != src_seq->elem_size ) in cvTransform()
1634 if( CV_ELEM_SIZE(dst_seq->flags) != dst_seq->elem_size ) in cvTransform()
1654 CV_ELEM_SIZE(src->type), src->data.ptr, in cvTransform()
1667 CV_ELEM_SIZE(dst->type), dst->data.ptr, in cvTransform()
1882 int src_elem_size = CV_ELEM_SIZE(src_seq->flags); in cvTransform()
1883 int dst_elem_size = CV_ELEM_SIZE(dst_seq->flags); in cvTransform()
2516 vec_delta = CV_ELEM_SIZE(vecmat->type); in cvCalcCovarMatrix()
[all …]
Dcxdrawing.cpp190 bt_pix0 = bt_pix = CV_ELEM_SIZE(mat->type); in cvInitLineIterator()
262 int pix_size = CV_ELEM_SIZE(mat->type); in icvLine()
571 int pix_size = CV_ELEM_SIZE( img->type ); in icvLine2()
1003 int pix_size = CV_ELEM_SIZE(img->type); in icvFillConvexPoly()
1257 int pix_size = CV_ELEM_SIZE(img->type); in icvFillEdgeCollection()
1415 int pix_size = CV_ELEM_SIZE(img->type); in icvCircle()
Dcxutils.cpp838 elem_size = CV_ELEM_SIZE(mat->type); in cvRandShuffle()
935 step = mat->step / CV_ELEM_SIZE(type); in cvRange()
1063 int type = CV_MAT_TYPE(src->type), elemSize = CV_ELEM_SIZE(type); in cvSort()
Dcxpersistence.cpp3043 comp_size = CV_ELEM_SIZE(fmt_pairs[i+1]); in icvCalcElemSize()
3049 comp_size = CV_ELEM_SIZE(fmt_pairs[1]); in icvCalcElemSize()
3120 int elem_size = CV_ELEM_SIZE(elem_type); in cvWriteRawData()
3248 int elem_size = CV_ELEM_SIZE(elem_type); in cvReadRawDataSlice()
3950 if( size.width*image->nChannels*CV_ELEM_SIZE(depth) == image->widthStep ) in icvWriteImage()
4020 if( width*CV_ELEM_SIZE(elem_type) == image->widthStep ) in icvReadImage()
4168 int full_elem_size = cvAlign(CV_ELEM_SIZE(seq->flags) + initial_elem_size, align); in icvGetFormat()
4565 if( fmt_pair_count > 2 || CV_ELEM_SIZE(fmt_pairs[2*2+1]) >= (int)sizeof(double)) in icvWriteGraph()
4702 if( fmt_pair_count > 2 && CV_ELEM_SIZE(fmt_pairs[5]) >= (int)sizeof(double)) in icvReadGraph()
Dcxarithm.cpp437 elem_size = CV_ELEM_SIZE(type);
681 elem_size = CV_ELEM_SIZE(type); in cvSubRS()
909 elem_size = CV_ELEM_SIZE(type); in cvAdd()
1153 elem_size = CV_ELEM_SIZE(type); in cvAddS()
/external/opencv/ml/src/
D_ml.h81 (vstep) = CV_ELEM_SIZE( (mat).type ); \
96 (cstep) = CV_ELEM_SIZE( (mat).type ); \
103 (sstep) = CV_ELEM_SIZE( (mat).type ); \
Dml_inner_functions.cpp386 step = matrix->step / CV_ELEM_SIZE(matrix->type); in cvCompleteSymm()
483 step = CV_IS_MAT_CONT(idx_arr->type) ? 1 : idx_arr->step/CV_ELEM_SIZE(type); in cvPreprocessIndexArray()
592 tm_step = var_type->step ? var_type->step/CV_ELEM_SIZE(var_type->type) : 1; in cvPreprocessVarType()
657 r_step = responses->step ? responses->step / CV_ELEM_SIZE(responses->type) : 1; in cvPreprocessOrderedResponses()
747 r_step = responses->step ? responses->step / CV_ELEM_SIZE(responses->type) : 1; in cvPreprocessCategoricalResponses()
1346 src_step = CV_ELEM_SIZE(src_type); in icvConvertDataToSparse()
1349 dst_step = CV_ELEM_SIZE(dst_type); in icvConvertDataToSparse()
1353 if( !idx && CV_ELEM_SIZE(src_type)*size.width == src_step && in icvConvertDataToSparse()
1354 CV_ELEM_SIZE(dst_type)*size.width == dst_step ) in icvConvertDataToSparse()
1362 int full_width = CV_ELEM_SIZE(dst_type)*size.width; in icvConvertDataToSparse()
[all …]
/external/opencv/cvaux/src/
Dcvvideo.cpp69 size.width *= CV_ELEM_SIZE( even->type ); in cvDeInterlace()
/external/opencv/cv/src/
Dcvlinefit.cpp663 CV_ELEM_SIZE(type) != ptseq->elem_size ) in cvFitLine()
681 CV_SEQ_KIND_GENERIC|type, sizeof(CvContour), CV_ELEM_SIZE(type), mat->data.ptr, in cvFitLine()
695 CV_CALL( buffer = points = (schar*)cvAlloc( ptseq->total*CV_ELEM_SIZE(type) )); in cvFitLine()
Dcvfilter.cpp108 trow_sz = cvAlign( (max_width + ksize.width - 1)*CV_ELEM_SIZE(src_type), ALIGN ); in get_work_params()
115 row_sz = cvAlign( width*CV_ELEM_SIZE(work_type), ALIGN ); in get_work_params()
173 src_pix_sz = CV_ELEM_SIZE(src_type); in init()
202 int pix_sz = CV_ELEM_SIZE(src_type), work_pix_sz = CV_ELEM_SIZE(work_type); in start_process()
344 int pix_size = CV_ELEM_SIZE(src_type); in fill_cyclic_buffer()
442 int pix_size = CV_ELEM_SIZE(src_type); in process()
537 dptr = dst->data.ptr + dst_origin.y*dst->step + dst_origin.x*CV_ELEM_SIZE(dst_type); in process()
2290 int pix_size = CV_ELEM_SIZE(src->type); in icvIPPFilterInit()
2291 …temp_size.width = cvAlign(src->cols + ksize.width - 1,8/CV_ELEM_SIZE(src->type & CV_MAT_DEPTH_MASK… in icvIPPFilterInit()
2304 int pix_size = CV_ELEM_SIZE(src->type); in icvIPPFilterNextStripe()
[all …]
Dcvtemplmatch.cpp140 buf_size = templ->cols*templ->rows*CV_ELEM_SIZE(templ_depth); in icvCrossCorr()
144 (blocksize.height + templ->rows - 1)*CV_ELEM_SIZE(depth)); in icvCrossCorr()
147 buf_size = MAX( buf_size, blocksize.width*blocksize.height*CV_ELEM_SIZE(corr_depth)); in icvCrossCorr()
Dcvutils.cpp74 sizeof(CvContour), CV_ELEM_SIZE(eltype), mat->data.ptr, in cvPointSeqFromMat()
504 pix_size = CV_ELEM_SIZE(type); in cvCopyMakeBorder()
Dcvconvhull.cpp310 sizeof(contour_header), CV_ELEM_SIZE(mat->type), mat->data.ptr, in cvConvexHull2()
588 sizeof(CvContour), CV_ELEM_SIZE(mat->type), mat->data.ptr, in cvConvexityDefects()
Dcvundistort.cpp430 sstep = _src->rows == 1 ? 1 : _src->step/CV_ELEM_SIZE(stype); in cvUndistortPoints()
431 dstep = _dst->rows == 1 ? 1 : _dst->step/CV_ELEM_SIZE(dtype); in cvUndistortPoints()
Dcvcorner.cpp279 el_anchor.x*CV_ELEM_SIZE(depth); in icvCornerEigenValsVecs()
582 el_anchor.x*CV_ELEM_SIZE(depth); in cvPreCornerDetect()
Dcvfundam.cpp358 int type = CV_MAT_TYPE(m1->type), elemSize = CV_ELEM_SIZE(type); in getSubset()
1104 elem_size = CV_ELEM_SIZE(depth); in cvComputeCorrespondEpilines()
1105 abc_elem_size = CV_ELEM_SIZE(abc_depth); in cvComputeCorrespondEpilines()
1324 elem_size = CV_ELEM_SIZE(src->type); in cvConvertPointsHomogeneous()
Dcvrotcalipers.cpp405 sizeof(CvContour), CV_ELEM_SIZE(ptseq->v_prev->flags), in cvMinAreaRect2()
/external/opencv/cxcore/include/
Dcxtypes.h614 #define CV_ELEM_SIZE(type) \ macro
630 m.step = rows > 1 ? m.cols*CV_ELEM_SIZE(type) : 0; in cvMat()
645 CV_MAT_ELEM_PTR_FAST( mat, row, col, CV_ELEM_SIZE((mat).type) )
Dcxcore.hpp323 int pix_size() const { return matrix ? CV_ELEM_SIZE(matrix->type) : 0; } in pix_size()
/external/opencv/cvaux/include/
Dcvmat.hpp891 ptr += coi * CV_ELEM_SIZE(type);
903 memcpy( ptr, elem.ptr, CV_ELEM_SIZE(type) );
917 memcpy( ptr, elem.ptr, CV_ELEM_SIZE(type) );
963 memcpy( ptr, elem.ptr, CV_ELEM_SIZE(type) );
985 memcpy( ptr, elem.ptr, CV_ELEM_SIZE(type) );
1043 int step = cols*CV_ELEM_SIZE(type), total_size = step*rows;

12