Lines Matching refs:var_type
565 cvPreprocessVarType( const CvMat* var_type, const CvMat* var_idx,
582 if( !CV_IS_MAT(var_type) )
583 CV_ERROR( var_type ? CV_StsBadArg : CV_StsNullPtr, "Invalid or absent var_type array" );
585 if( var_type->rows != 1 && var_type->cols != 1 )
586 CV_ERROR( CV_StsBadSize, "var_type array must be 1-dimensional" );
588 if( !CV_IS_MASK_ARR(var_type))
591 tm_size = var_type->rows + var_type->cols - 1;
592 tm_step = var_type->step ? var_type->step/CV_ELEM_SIZE(var_type->type) : 1;
599 *response_type = var_type->data.ptr[var_count*tm_step] != 0;
613 src = var_type->data.ptr;