Lines Matching refs:var_count
580 int var_count = var_all; in cvPreprocessVarType() local
594 if( /*tm_size != var_count &&*/ tm_size != var_count + 1 ) in cvPreprocessVarType()
598 if( response_type && tm_size > var_count ) in cvPreprocessVarType()
599 *response_type = var_type->data.ptr[var_count*tm_step] != 0; in cvPreprocessVarType()
606 if( var_idx->rows + var_idx->cols - 1 > var_count ) in cvPreprocessVarType()
609 var_count = var_idx->rows + var_idx->cols - 1; in cvPreprocessVarType()
612 CV_CALL( out_var_type = cvCreateMat( 1, var_count, CV_8UC1 )); in cvPreprocessVarType()
616 for( i = 0; i < var_count; i++ ) in cvPreprocessVarType()
850 int i, j, var_count, sample_count, s_step, v_step; in cvGetTrainSamples() local
858 var_count = var_idx ? var_idx->cols + var_idx->rows - 1 : in cvGetTrainSamples()
864 *_var_count = var_count; in cvGetTrainSamples()
872 (copy_data ? 1 : 0)*var_count*sample_count*sizeof(samples[0][0])) ); in cvGetTrainSamples()
892 float* dst = samples[i] = samples[0] + i*var_count; in cvGetTrainSamples()
896 for( j = 0; j < var_count; j++ ) in cvGetTrainSamples()
899 for( j = 0; j < var_count; j++ ) in cvGetTrainSamples()
971 int sample_all = 0, sample_count = 0, var_all = 0, var_count = 0; in cvPrepareTrainData() local
1032 &var_count, &sample_count, always_copy_data )); in cvPrepareTrainData()
1053 *_var_count = var_count; in cvPrepareTrainData()