Searched refs:cnbins (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/cudaobjdetect/src/cuda/ |
D | hog.cu | 60 __constant__ int cnbins; variable 93 cudaSafeCall( cudaMemcpyToSymbol(cnbins, &nbins, sizeof(nbins)) ); in set_up_constants() 131 float* final_hist = smem + cnbins * 48 * nblocks; in compute_hists_kernel_many_blocks() 146 for (int bin_id = 0; bin_id < cnbins; ++bin_id) in compute_hists_kernel_many_blocks() 173 for (int bin_id = 0; bin_id < cnbins; ++bin_id, hist_ += 48 * nblocks) in compute_hists_kernel_many_blocks() 178 final_hist[((cell_x + block_x * 2) * 2 + cell_y) * cnbins + bin_id] in compute_hists_kernel_many_blocks() 647 hidx = (hidx + cnbins) % cnbins; in compute_gradients_8UC4_kernel() 649 ((uchar2*)qangle.ptr(blockIdx.y))[x] = make_uchar2(hidx, (hidx + 1) % cnbins); in compute_gradients_8UC4_kernel() 720 hidx = (hidx + cnbins) % cnbins; in compute_gradients_8UC1_kernel() 722 ((uchar2*)qangle.ptr(blockIdx.y))[x] = make_uchar2(hidx, (hidx + 1) % cnbins); in compute_gradients_8UC1_kernel()
|
/external/opencv3/modules/objdetect/src/opencl/ |
D | objdetect_hog.cl | 67 const int cnbins, const int cblock_hist_size, const int img_block_width, 87 __local float* hists = smem + lp * cnbins * (CELLS_PER_BLOCK_X * 89 __local float* final_hist = hists + cnbins * 102 for (int bin_id = 0; bin_id < cnbins; ++bin_id) 130 for (int bin_id = 0; bin_id < cnbins; ++bin_id, hist_ += 48) 141 final_hist[(cell_x * 2 + cell_y) * cnbins + bin_id] = 569 const float angle_scale, const char correct_gamma, const int cnbins) 655 hidx = (hidx + cnbins) % cnbins; 658 qangle[((gidY * qangle_step + x) << 1) + 1] = (hidx + 1) % cnbins; 668 const float angle_scale, const char correct_gamma, const int cnbins) [all …]
|