Home | History | Annotate | Download | only in src

Lines Matching refs:var_type

49     var_idx = var_type = cat_count = cat_ofs = cat_map =
63 var_idx = var_type = cat_count = cat_ofs = cat_map =
155 cvNorm( data->var_type, var_type, CV_C ) < FLT_EPSILON &&
235 CV_CALL( var_type = cvCreateMat( 1, var_count+2, CV_32SC1 ));
245 var_type->data.i[vi] = var_type0->data.ptr[vi] == CV_VAR_CATEGORICAL ?
251 // set the two last elements of var_type array to be able
254 var_type->data.i[var_count] = cat_var_count;
255 var_type->data.i[var_count+1] = cat_var_count+1;
919 cvReleaseMat( &var_type );
948 return var_type->data.i[vi];
1046 cvStartWriteStruct( fs, "var_type", CV_NODE_SEQ+CV_NODE_FLOW );
1049 cvWriteInt( fs, 0, var_type->data.i[vi] >= 0 );
1132 CV_CALL( var_type = cvCreateMat( 1, var_count + 2, CV_32SC1 ));
1136 vartype_node = cvGetFileNodeByName( fs, node, "var_type" );
1139 var_type->data.i[0] = vartype_node->data.i ? cat_var_count++ : ord_var_count--;
1144 CV_ERROR( CV_StsParseError, "var_type must exist and be a sequence of 0's and 1's" );
1152 CV_ERROR( CV_StsParseError, "var_type must exist and be a sequence of 0's and 1's" );
1153 var_type->data.i[vi] = n->data.i ? cat_var_count++ : ord_var_count--;
1157 var_type->data.i[var_count] = cat_var_count;
1161 CV_ERROR( CV_StsParseError, "var_type is inconsistent with cat_var_count and ord_var_count" );
2932 vtype = data->var_type->data.i;