Searched refs:min_step (Results 1 – 1 of 1) sorted by relevance
132 int min_step; in cvCreateMatHeader() local138 min_step = CV_ELEM_SIZE(type)*cols; in cvCreateMatHeader()139 if( min_step <= 0 ) in cvCreateMatHeader()144 arr->step = rows == 1 ? 0 : cvAlign(min_step, CV_DEFAULT_MAT_ROW_ALIGN); in cvCreateMatHeader()146 (arr->step == 0 || arr->step == min_step ? CV_MAT_CONT_FLAG : 0); in cvCreateMatHeader()173 int mask, pix_size, min_step; in cvInitMatHeader() local194 min_step = arr->cols*pix_size & mask; in cvInitMatHeader()198 if( step < min_step ) in cvInitMatHeader()204 arr->step = min_step; in cvInitMatHeader()208 (arr->step == min_step ? CV_MAT_CONT_FLAG : 0); in cvInitMatHeader()[all …]