Lines Matching refs:inn_buf
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
1783 int* labels_buf = (int*)inn_buf; in calc_node_dir()
1826 cv::AutoBuffer<uchar> inn_buf(n*(sizeof(int)*(data->have_priors ? 3 : 2) + sizeof(float))); in calc_node_dir() local
1827 float* val_buf = (float*)(uchar*)inn_buf; in calc_node_dir()
1920 AutoBuffer<uchar> inn_buf(2*n*(sizeof(int) + sizeof(float))); in operator ()() local
1932 … res = tree->find_split_cat_class( node, vi, bestSplit->quality, split, (uchar*)inn_buf ); in operator ()()
1934 … res = tree->find_split_ord_class( node, vi, bestSplit->quality, split, (uchar*)inn_buf ); in operator ()()
1939 … res = tree->find_split_cat_reg( node, vi, bestSplit->quality, split, (uchar*)inn_buf ); in operator ()()
1941 … res = tree->find_split_ord_reg( node, vi, bestSplit->quality, split, (uchar*)inn_buf ); in operator ()()
1982 cv::AutoBuffer<uchar> inn_buf(base_size); in find_split_ord_class() local
1984 inn_buf.allocate(base_size + n*(3*sizeof(int)+sizeof(float))); in find_split_ord_class()
1985 uchar* base_buf = (uchar*)inn_buf; in find_split_ord_class()
2201 cv::AutoBuffer<uchar> inn_buf(base_size); in find_split_cat_class() local
2203 inn_buf.allocate(base_size + 2*n*sizeof(int)); in find_split_cat_class()
2204 uchar* base_buf = (uchar*)inn_buf; in find_split_cat_class()
2383 cv::AutoBuffer<uchar> inn_buf; in find_split_ord_reg() local
2385 inn_buf.allocate(2*n*(sizeof(int) + sizeof(float))); in find_split_ord_reg()
2386 uchar* ext_buf = _ext_buf ? _ext_buf : (uchar*)inn_buf; in find_split_ord_reg()
2443 cv::AutoBuffer<uchar> inn_buf(base_size); in find_split_cat_reg() local
2445 inn_buf.allocate(base_size + n*(2*sizeof(int) + sizeof(float))); in find_split_cat_reg()
2446 uchar* base_buf = (uchar*)inn_buf; in find_split_cat_reg()
2534 cv::AutoBuffer<uchar> inn_buf; in find_surrogate_split_ord() local
2536 inn_buf.allocate( n*(sizeof(int)*(data->have_priors ? 3 : 2) + sizeof(float)) ); in find_surrogate_split_ord()
2537 uchar* ext_buf = _ext_buf ? _ext_buf : (uchar*)inn_buf; in find_surrogate_split_ord()
2658 cv::AutoBuffer<uchar> inn_buf(base_size); in find_surrogate_split_cat() local
2660 inn_buf.allocate(base_size + n*(sizeof(int) + (data->have_priors ? sizeof(int) : 0))); in find_surrogate_split_cat()
2661 uchar* base_buf = (uchar*)inn_buf; in find_surrogate_split_cat()
2760 cv::AutoBuffer<uchar> inn_buf(base_size + ext_size); in calc_node_value() local
2761 uchar* base_buf = (uchar*)inn_buf; in calc_node_value()
2955 cv::AutoBuffer<uchar> inn_buf(n*(2*sizeof(int)+sizeof(float))); in complete_node_dir() local
2964 int* labels_buf = (int*)(uchar*)inn_buf; in complete_node_dir()
2983 float* values_buf = (float*)(uchar*)inn_buf; in complete_node_dir()
3044 cv::AutoBuffer<uchar> inn_buf(n*(3*sizeof(int) + sizeof(float))); in split_node_data() local
3045 int* temp_buf = (int*)(uchar*)inn_buf; in split_node_data()