Home
last modified time | relevance | path

Searched refs:pix_size (Results 1 – 16 of 16) sorted by relevance

/external/opencv/cxcore/src/
Dcxcopy.cpp70 const void* scalar, int pix_size ) in icvSet_8u_C1R() argument
72 int copy_len = 12*pix_size; in icvSet_8u_C1R()
295 int pix_size; in cvCopy() local
343 pix_size = CV_ELEM_SIZE(iterator.hdr[0]->type); in cvCopy()
347 iterator.size.width *= pix_size; in cvCopy()
368 CvCopyMaskFunc func = icvGetCopyMaskFunc( pix_size ); in cvCopy()
421 pix_size = CV_ELEM_SIZE(src->type); in cvCopy()
426 size.width *= pix_size; in cvCopy()
427 …MAT_CONT( src->type & dst->type ) && (src_step == dst_step) && (src_step == src->width * pix_size)) in cvCopy()
448 CvCopyMaskFunc func = icvGetCopyMaskFunc(pix_size); in cvCopy()
[all …]
Dcxarray.cpp173 int mask, pix_size, min_step; in cvInitMatHeader() local
193 pix_size = CV_ELEM_SIZE(type); in cvInitMatHeader()
194 min_step = arr->cols*pix_size & mask; in cvInitMatHeader()
649 int pix_size = pix_size1*CV_MAT_CN(type); in cvCreateSparseMat() local
653 if( pix_size == 0 ) in cvCreateSparseMat()
677 arr->idxoffset = (int)cvAlign(arr->valoffset + pix_size, sizeof(int)); in cvCreateSparseMat()
1051 int pix_size, min_step; in cvSetData() local
1061 pix_size = CV_ELEM_SIZE(type); in cvSetData()
1062 min_step = mat->cols*pix_size & ((mat->rows <= 1) - 1); in cvSetData()
1084 pix_size = ((img->depth & 255) >> 3)*img->nChannels; in cvSetData()
[all …]
Dcxdrawing.cpp262 int pix_size = CV_ELEM_SIZE(mat->type); in icvLine() local
274 CV_MEMCPY_AUTO( iterator.ptr, color, pix_size ); in icvLine()
571 int pix_size = CV_ELEM_SIZE( img->type ); in icvLine2() local
582 ptr += img->step*2 + 2*pix_size; in icvLine2()
632 if( pix_size == 3 ) in icvLine2()
674 else if( pix_size == 1 ) in icvLine2()
716 for( j = 0; j < pix_size; j++ ) \ in icvLine2()
719 tptr = ptr + ((pt2.x + (XY_ONE >> 1))>> XY_SHIFT)*pix_size + in icvLine2()
725 ptr += (pt1.x >> XY_SHIFT) * pix_size; in icvLine2()
732 ptr += pix_size; in icvLine2()
[all …]
Dcxsvd.cpp1228 int a_buf_offset = 0, u_buf_offset = 0, buf_size, pix_size; in cvSVD() local
1348 pix_size = CV_ELEM_SIZE(type); in cvSVD()
1363 buf_size *= pix_size; in cvSVD()
1378 buffer + a_buf_offset*pix_size ); in cvSVD()
1388 cvInitMatHeader( &ustub, u_cols, u_rows, type, buffer + u_buf_offset*pix_size ); in cvSVD()
1393 tw = buffer + (n + m)*pix_size; in cvSVD()
1470 int buf_size = 0, pix_size; in cvSVBkSb() local
1491 pix_size = CV_ELEM_SIZE(type); in cvSVBkSb()
1497 buf_size += u->cols*u->rows*pix_size; in cvSVBkSb()
1511 buf_size += v->cols*v->rows*pix_size; in cvSVBkSb()
[all …]
Dcxmatrix.cpp58 int type, pix_size; in cvSetIdentity() local
74 pix_size = CV_ELEM_SIZE(type); in cvSetIdentity()
75 size.width *= pix_size; in cvSetIdentity()
88 step += pix_size; in cvSetIdentity()
117 for( k = 0; k < pix_size; k++ ) in cvSetIdentity()
453 int type, pix_size; in CV_DEF_INIT_PIXSIZE_TAB_2D() local
471 pix_size = CV_ELEM_SIZE(type); in CV_DEF_INIT_PIXSIZE_TAB_2D()
500 CvFunc2D_1A func = (CvFunc2D_1A)(inp_tab.fn_2d[pix_size]); in CV_DEF_INIT_PIXSIZE_TAB_2D()
521 dst->step = dst->height == 1 ? 0 : pix_size; in CV_DEF_INIT_PIXSIZE_TAB_2D()
527 CvFunc2D_2A func = (CvFunc2D_2A)(tab.fn_2d[pix_size]); in CV_DEF_INIT_PIXSIZE_TAB_2D()
Dcxlogic.cpp113 const uchar* scalar, int pix_size ) \
115 int delta = 12*pix_size; \
Dcxmatmul.cpp56 CvSize size, int pix_size ) in icvGEMM_CopyBlock() argument
59 size.width = size.width * (pix_size / sizeof(int)); in icvGEMM_CopyBlock()
84 CvSize size, int pix_size ) in icvGEMM_TransposeBlock() argument
87 for( i = 0; i < size.width; i++, dst += dst_step, src += pix_size ) in icvGEMM_TransposeBlock()
90 switch( pix_size ) in icvGEMM_TransposeBlock()
/external/opencv/cv/src/
Dcvutils.cpp486 int pix_size, type; in cvCopyMakeBorder() local
504 pix_size = CV_ELEM_SIZE(type); in cvCopyMakeBorder()
518 offset.y, offset.x, pix_size ); in cvCopyMakeBorder()
524 offset.y, offset.x, pix_size ); in cvCopyMakeBorder()
532 offset.y, offset.x, pix_size, (uchar*)buf ); in cvCopyMakeBorder()
Dcvsamplers.cpp58 int i, coi = 0, pix_size; in cvSampleLine() local
73 pix_size = CV_ELEM_SIZE(mat->type); in cvSampleLine()
76 CV_MEMCPY_AUTO( buffer, iterator.ptr, pix_size ); in cvSampleLine()
77 buffer += pix_size; in cvSampleLine()
88 icvAdjustRect( const void* srcptr, int src_step, int pix_size, in icvAdjustRect() argument
97 src += ip.x*pix_size; in icvAdjustRect()
114 src += rect.width*pix_size; in icvAdjustRect()
141 return src - rect.x*pix_size; in icvAdjustRect()
Dcvfilter.cpp344 int pix_size = CV_ELEM_SIZE(src_type); in fill_cyclic_buffer() local
345 int width = prev_x_range.end_index - prev_x_range.start_index, width_n = width*pix_size; in fill_cyclic_buffer()
442 int pix_size = CV_ELEM_SIZE(src_type); in process() local
538 sptr = src->data.ptr + src_y1*src->step + src_x*pix_size; in process()
2290 int pix_size = CV_ELEM_SIZE(src->type); in icvIPPFilterInit() local
2293 temp_size.height = (stripe_size*2 + temp_size.width*pix_size) / (temp_size.width*pix_size*2); in icvIPPFilterInit()
2304 int pix_size = CV_ELEM_SIZE(src->type); in icvIPPFilterNextStripe() local
2343 (y == 0 ? anchor.y : 0), anchor.x, pix_size ); in icvIPPFilterNextStripe()
2392 int type, depth, pix_size; in icvIPPSepFilter() local
2430 pix_size = CV_ELEM_SIZE(type); in icvIPPSepFilter()
[all …]
Dcvmoments.cpp378 int type = 0, depth, cn, pix_size; in cvMoments() local
430 pix_size = CV_ELEM_SIZE(type); in cvMoments()
491 IPPI_CALL( func( mat->data.ptr + y*mat->step + x*pix_size, in cvMoments()
Dcvimgwarp.cpp125 uchar* dst, int dststep, CvSize dsize, int pix_size ) in icvResize_NN_8u_C1R() argument
128 int pix_size4 = pix_size / sizeof(int); in icvResize_NN_8u_C1R()
135 x_ofs[x] = t*pix_size; in icvResize_NN_8u_C1R()
145 switch( pix_size ) in icvResize_NN_8u_C1R()
185 CV_MEMCPY_INT( dst + x*pix_size, tsrc + x_ofs[x], pix_size4 ); in icvResize_NN_8u_C1R()
Dcvmorph.cpp325 int pix_size = CV_ELEM_SIZE(src_type); in fill_cyclic_buffer() local
326 int width_n = (prev_x_range.end_index - prev_x_range.start_index)*pix_size; in fill_cyclic_buffer()
Dcvinpaint.cpp51 #define CV_MAT_ELEM_PTR_FAST( mat, row, col, pix_size ) \ argument
52 ((mat).data.ptr + (size_t)(mat).step*(row) + (pix_size)*(col))
/external/opencv/cxcore/include/
Dcxcore.hpp155 int pix_size() const { return image ? ((image->depth & 255)>>3)*image->nChannels : 0; } in pix_size() function in CvImage
323 int pix_size() const { return matrix ? CV_ELEM_SIZE(matrix->type) : 0; } in pix_size() function in CvMatrix
Dcxtypes.h639 #define CV_MAT_ELEM_PTR_FAST( mat, row, col, pix_size ) \ argument
642 (mat).data.ptr + (size_t)(mat).step*(row) + (pix_size)*(col))