Searched refs:inn_buf (Results 1 – 3 of 3) sorted by relevance
/external/opencv3/apps/traincascade/ |
D | old_ml_boost.cpp | 170 cv::AutoBuffer<int> inn_buf(node->sample_count); in try_split_node() local 171 const int* labels = data->get_cv_labels( node, (int*)inn_buf ); in try_split_node() 193 cv::AutoBuffer<int> inn_buf(n); in calc_node_dir() local 194 const int* cat_labels = data->get_cat_var_data( node, vi, (int*)inn_buf ); in calc_node_dir() 212 cv::AutoBuffer<uchar> inn_buf(2*n*sizeof(int)+n*sizeof(float)); in calc_node_dir() local 213 float* values_buf = (float*)(uchar*)inn_buf; in calc_node_dir() 260 cv::AutoBuffer<uchar> inn_buf; in find_split_ord_class() local 262 inn_buf.allocate(n*(3*sizeof(int)+sizeof(float))); in find_split_ord_class() 263 uchar* ext_buf = _ext_buf ? _ext_buf : (uchar*)inn_buf; in find_split_ord_class() 369 cv::AutoBuffer<uchar> inn_buf((2*mi+3)*sizeof(double) + mi*sizeof(double*)); in find_split_cat_class() local [all …]
|
D | old_ml_tree.cpp | 775 cv::AutoBuffer<uchar> inn_buf(sample_count*(2*sizeof(int) + sizeof(float))); in subsample_data() local 783 … const int* src = CvDTreeTrainData::get_cat_var_data( data_root, vi, (int*)(uchar*)inn_buf ); in subsample_data() 813 int *src_idx_buf = (int*)(uchar*)inn_buf; in subsample_data() 873 const int* sample_idx_src = get_sample_indices(data_root, (int*)(uchar*)inn_buf); in subsample_data() 914 cv::AutoBuffer<uchar> inn_buf(sample_count*(2*sizeof(int) + sizeof(float))); in get_vectors() local 946 const int* src = get_cat_var_data(data_root, vi, (int*)(uchar*)inn_buf); in get_vectors() 965 float *src_val_buf = (float*)(uchar*)inn_buf; in get_vectors() 1002 const int* src = get_class_labels(data_root, (int*)(uchar*)inn_buf); in get_vectors() 1013 float* val_buf = (float*)(uchar*)inn_buf; in get_vectors() 1782 cv::AutoBuffer<int> inn_buf(n*(!data->have_priors ? 1 : 2)); in calc_node_dir() local [all …]
|
D | boost.cpp | 419 cv::AutoBuffer<uchar> inn_buf(sample_count*(2*sizeof(int) + sizeof(float))); in subsample_data() local 426 int *src_idx_buf = (int*)(uchar*)inn_buf; in subsample_data() 466 const int* src_lbls = get_cv_labels(data_root, (int*)(uchar*)inn_buf); in subsample_data() 483 const int* sample_idx_src = get_sample_indices(data_root, (int*)(uchar*)inn_buf); in subsample_data() 1126 cv::AutoBuffer<uchar> inn_buf(n*(3*sizeof(int)+sizeof(float))); in split_node_data() local 1127 int* tempBuf = (int*)(uchar*)inn_buf; in split_node_data() 1440 cv::AutoBuffer<uchar> inn_buf(inn_buf_size); in update_weights() local 1441 uchar* cur_inn_buf_pos = (uchar*)inn_buf; in update_weights()
|