Home
last modified time | relevance | path

Searched refs:var_type (Results 1 – 24 of 24) sorted by relevance

/external/opencv3/samples/cpp/
Dletter_recog.cpp105 Mat var_type( nvars + 1, 1, CV_8U ); in prepare_train_data() local
106 var_type.setTo(Scalar::all(VAR_ORDERED)); in prepare_train_data()
107 var_type.at<uchar>(nvars) = VAR_CATEGORICAL; in prepare_train_data()
110 noArray(), sample_idx, noArray(), var_type); in prepare_train_data()
276 Mat var_type( 1, var_count + 2, CV_8U ); in build_boost_classifier() local
277 var_type.setTo(Scalar::all(VAR_ORDERED)); in build_boost_classifier()
278 var_type.at<uchar>(var_count) = var_type.at<uchar>(var_count+1) = VAR_CATEGORICAL; in build_boost_classifier()
281 noArray(), noArray(), noArray(), var_type); in build_boost_classifier()
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_enhancer.h43 var_type(intelligibility::VarianceArray::kStepDecaying), in Config()
52 intelligibility::VarianceArray::StepType var_type; member
Dintelligibility_enhancer.cc85 config.var_type, in IntelligibilityEnhancer()
89 config.var_type, in IntelligibilityEnhancer()
Dintelligibility_enhancer_unittest.cc97 config_.var_type = step_type; in CheckUpdate()
/external/opencv3/apps/traincascade/
Dold_ml_inner_functions.cpp496 cvPreprocessVarType( const CvMat* var_type, const CvMat* var_idx, in cvPreprocessVarType() argument
512 if( !CV_IS_MAT(var_type) ) in cvPreprocessVarType()
513 CV_ERROR( var_type ? CV_StsBadArg : CV_StsNullPtr, "Invalid or absent var_type array" ); in cvPreprocessVarType()
515 if( var_type->rows != 1 && var_type->cols != 1 ) in cvPreprocessVarType()
518 if( !CV_IS_MASK_ARR(var_type)) in cvPreprocessVarType()
521 tm_size = var_type->rows + var_type->cols - 1; in cvPreprocessVarType()
522 tm_step = var_type->rows == 1 ? 1 : var_type->step/CV_ELEM_SIZE(var_type->type); in cvPreprocessVarType()
529 *response_type = var_type->data.ptr[var_count*tm_step] != 0; in cvPreprocessVarType()
543 src = var_type->data.ptr; in cvPreprocessVarType()
Dboost.cpp521 var_type = cvCreateMat( 1, var_count + 2, CV_32SC1 ); in CvCascadeBoostTrainData()
529 var_type->data.i[vi] = vi; in CvCascadeBoostTrainData()
538 var_type->data.i[vi-1] = -vi; in CvCascadeBoostTrainData()
541 var_type->data.i[var_count] = cat_var_count; in CvCascadeBoostTrainData()
542 var_type->data.i[var_count+1] = cat_var_count+1; in CvCascadeBoostTrainData()
607 var_type = cvCreateMat( 1, var_count + 2, CV_32SC1 ); in setData()
616 var_type->data.i[vi] = vi; in setData()
625 var_type->data.i[vi-1] = -vi; in setData()
628 var_type->data.i[var_count] = cat_var_count; in setData()
629 var_type->data.i[var_count+1] = cat_var_count+1; in setData()
Dold_ml_tree.cpp52 var_idx = var_type = cat_count = cat_ofs = cat_map = in CvDTreeTrainData()
67 var_idx = var_type = cat_count = cat_ofs = cat_map = in CvDTreeTrainData()
183 cvNorm( data->var_type, var_type, CV_C ) < FLT_EPSILON && in set_data()
275 CV_CALL( var_type = cvCreateMat( 1, var_count+2, CV_32SC1 )); in set_data()
286 var_type->data.i[vi] = vt == CV_VAR_CATEGORICAL ? cat_var_count++ : ord_var_count--; in set_data()
294 var_type->data.i[var_count] = cat_var_count; in set_data()
295 var_type->data.i[var_count+1] = cat_var_count+1; in set_data()
1152 cvReleaseMat( &var_type ); in clear()
1181 return var_type->data.i[vi]; in get_var_type()
1337 cvWriteInt( fs, 0, var_type->data.i[vi] >= 0 ); in write_params()
[all …]
Dold_ml_boost.cpp1548 if( data->var_type->data.i[i] >= 0 ) in get_active_vars()
1654 const int* vtype = data->var_type->data.i; in predict()
Dold_ml.hpp738 CvMat* var_type; // i-th element = member
/external/opencv/ml/src/
Dml_inner_functions.cpp565 cvPreprocessVarType( const CvMat* var_type, const CvMat* var_idx, in cvPreprocessVarType() argument
582 if( !CV_IS_MAT(var_type) ) in cvPreprocessVarType()
583 CV_ERROR( var_type ? CV_StsBadArg : CV_StsNullPtr, "Invalid or absent var_type array" ); in cvPreprocessVarType()
585 if( var_type->rows != 1 && var_type->cols != 1 ) in cvPreprocessVarType()
588 if( !CV_IS_MASK_ARR(var_type)) in cvPreprocessVarType()
591 tm_size = var_type->rows + var_type->cols - 1; in cvPreprocessVarType()
592 tm_step = var_type->step ? var_type->step/CV_ELEM_SIZE(var_type->type) : 1; in cvPreprocessVarType()
599 *response_type = var_type->data.ptr[var_count*tm_step] != 0; in cvPreprocessVarType()
613 src = var_type->data.ptr; in cvPreprocessVarType()
Dmltree.cpp49 var_idx = var_type = cat_count = cat_ofs = cat_map = in CvDTreeTrainData()
63 var_idx = var_type = cat_count = cat_ofs = cat_map = in CvDTreeTrainData()
155 cvNorm( data->var_type, var_type, CV_C ) < FLT_EPSILON && in CV_IMPLEMENT_QSORT_EX()
235 CV_CALL( var_type = cvCreateMat( 1, var_count+2, CV_32SC1 )); in CV_IMPLEMENT_QSORT_EX()
245 var_type->data.i[vi] = var_type0->data.ptr[vi] == CV_VAR_CATEGORICAL ? in CV_IMPLEMENT_QSORT_EX()
254 var_type->data.i[var_count] = cat_var_count; in CV_IMPLEMENT_QSORT_EX()
255 var_type->data.i[var_count+1] = cat_var_count+1; in CV_IMPLEMENT_QSORT_EX()
919 cvReleaseMat( &var_type ); in clear()
948 return var_type->data.i[vi]; in get_var_type()
1049 cvWriteInt( fs, 0, var_type->data.i[vi] >= 0 ); in write_params()
[all …]
Dmlrtrees.cpp126 int ci = data->var_type->data.i[vi]; in find_best_split()
Dmlboost.cpp1323 vtype = data->var_type->data.i; in predict()
/external/webrtc/webrtc/modules/audio_processing/intelligibility/test/
Dintelligibility_proc.cc112 config.var_type = static_cast<VarianceArray::StepType>(FLAGS_clear_type); in void_main()
/external/tpm2/generator/
Dtpm_table.py630 var_type = '_'.join([type_prefix, alg_base, type_suffix]).strip('_')
632 var_type = type_prefix
636 expansion.append(Field(var_type, alg_base.lower(),
/external/mesa3d/src/glsl/tests/lower_jumps/
Dcreate_test_cases.py131 def declare_temp(var_type, var_name): argument
136 return [['declare', ['temporary'], var_type, var_name]]
/external/v8/src/wasm/
Dasm-wasm-builder.cc387 LocalType var_type = TypeOf(expr); in VisitVariableProxy() local
388 DCHECK(var_type != kAstStmt); in VisitVariableProxy()
390 AddLeb128(LookupOrInsertGlobal(var, var_type), false); in VisitVariableProxy()
392 AddLeb128(LookupOrInsertLocal(var, var_type), true); in VisitVariableProxy()
/external/libxml2/result/
Dintsubset2.xml.sax2103 The type of cross-reference is given in the var_type attribute.
105 SAX.attributeDecl(variant, var_type, 1, 2, NULL, ...)
107 The var_type attribute indicates the type of variant code. The current
Dintsubset2.xml.sax103 The type of cross-reference is given in the var_type attribute.
105 SAX.attributeDecl(variant, var_type, 1, 2, NULL, ...)
107 The var_type attribute indicates the type of variant code. The current
/external/google-breakpad/src/testing/scripts/generator/cpp/
Dast.py252 def __init__(self, start, end, name, var_type, initial_value, namespace): argument
254 self.type = var_type
731 var_type = Type(pos_token.start, pos_token.end, type_name,
735 name, var_type, value, self.namespace_stack)
/external/opencv3/modules/python/src2/
Dhdr_parser.py713 var_type, var_name1, modlist, argno = self.parse_arg(var_list[0], -1)
717 class_decl[3].append([var_type, v, "", var_modlist])
/external/mesa3d/src/glsl/
Dast_to_hir.cpp2572 const struct glsl_type *var_type; in hir() local
2593 var_type = process_array_type(&loc, decl_type, decl->array_size, in hir()
2595 if (var_type->is_error()) in hir()
2598 var_type = decl_type; in hir()
2601 var = new(ctx) ir_variable(var_type, decl->identifier, ir_var_auto); in hir()
2875 if (var_type->contains_sampler() && in hir()
/external/v8/tools/gcmole/
Dgcmole.cc784 const clang::QualType& var_type, in Use() argument
787 if (IsRawPointerType(var_type)) { in Use()
/external/opencv/ml/include/
Dml.h809 CvMat* var_type; // i-th element = member