Lines Matching refs:var_idx
565 cvPreprocessVarType( const CvMat* var_type, const CvMat* var_idx, in cvPreprocessVarType() argument
601 if( var_idx ) in cvPreprocessVarType()
603 if( !CV_IS_MAT(var_idx) || CV_MAT_TYPE(var_idx->type) != CV_32SC1 || in cvPreprocessVarType()
604 var_idx->rows != 1 && var_idx->cols != 1 || !CV_IS_MAT_CONT(var_idx->type) ) in cvPreprocessVarType()
606 if( var_idx->rows + var_idx->cols - 1 > var_count ) in cvPreprocessVarType()
608 map = var_idx->data.i; in cvPreprocessVarType()
609 var_count = var_idx->rows + var_idx->cols - 1; in cvPreprocessVarType()
840 const CvMat* var_idx, const CvMat* sample_idx, in cvGetTrainSamples() argument
858 var_count = var_idx ? var_idx->cols + var_idx->rows - 1 : in cvGetTrainSamples()
869 copy_data = tflag != CV_ROW_SAMPLE || var_idx || always_copy_data; in cvGetTrainSamples()
877 v_idx = var_idx ? var_idx->data.i : 0; in cvGetTrainSamples()
955 const CvMat* var_idx, in cvPrepareTrainData() argument
1010 if( var_idx ) in cvPrepareTrainData()
1011 CV_CALL( _var_idx = cvPreprocessIndexArray( var_idx, var_all )); in cvPrepareTrainData()