Searched refs:img_block_width (Results 1 – 3 of 3) sorted by relevance
/external/opencv3/modules/cudaobjdetect/src/cuda/ |
D | hog.cu | 118 … __global__ void compute_hists_kernel_many_blocks(const int img_block_width, const PtrStepf grad, in compute_hists_kernel_many_blocks() argument 126 if (blockIdx.x * blockDim.z + block_x >= img_block_width) in compute_hists_kernel_many_blocks() 185 float* block_hist = block_hists + (blockIdx.y * img_block_width + in compute_hists_kernel_many_blocks() 201 int img_block_width = (width - CELLS_PER_BLOCK_X * CELL_WIDTH + block_stride_x) / in compute_hists() local 206 dim3 grid(divUp(img_block_width, nblocks), img_block_height); in compute_hists() 219 img_block_width, grad, qangle, scale, block_hists); in compute_hists() 264 const int img_block_width, in normalize_hists_kernel_many_blocks() argument 267 if (blockIdx.x * blockDim.z + threadIdx.z >= img_block_width) in normalize_hists_kernel_many_blocks() 270 float* hist = block_hists + (blockIdx.y * img_block_width + in normalize_hists_kernel_many_blocks() 304 … int img_block_width = (width - CELLS_PER_BLOCK_X * CELL_WIDTH + block_stride_x) / block_stride_x; in normalize_hists() local [all …]
|
/external/opencv3/modules/objdetect/src/opencl/ |
D | objdetect_hog.cl | 67 const int cnbins, const int cblock_hist_size, const int img_block_width, 77 const int gidY = gid / img_block_width; 78 const int gidX = gid - gidY * img_block_width; 151 (gidY * img_block_width + gidX) * cblock_hist_size; 254 const int nthreads, const int block_hist_size, const int img_block_width, 261 __global float* hist = block_hists + (gidY * img_block_width + gidX) * 293 const int img_win_width, const int img_block_width, 303 img_block_width + gidX * win_block_stride_x) * cblock_hist_size; 310 hist[i * img_block_width * cblock_hist_size + tid]; 366 const int img_win_width, const int img_block_width, [all …]
|
/external/opencv3/modules/objdetect/src/ |
D | hog.cpp | 1146 int img_block_width = (width - CELLS_PER_BLOCK_X * CELL_WIDTH + block_stride_x)/block_stride_x; in ocl_compute_hists() local 1148 int blocks_total = img_block_width * img_block_height; in ocl_compute_hists() 1156 …size_t globalThreads[3] = {((img_block_width * img_block_height + blocks_in_group - 1)/blocks_in_g… in ocl_compute_hists() 1168 idx = k.set(idx, img_block_width); in ocl_compute_hists() 1194 int img_block_width = (width - CELLS_PER_BLOCK_X * CELL_WIDTH + block_stride_x) in ocl_normalize_hists() local 1221 int num_groups = (img_block_width * img_block_height + blocks_in_group - 1)/blocks_in_group; in ocl_normalize_hists() 1239 globalThreads[0] = img_block_width * nthreads; in ocl_normalize_hists() 1248 idx = k.set(idx, img_block_width); in ocl_normalize_hists() 1269 int img_block_width = (width - CELLS_PER_BLOCK_X * CELL_WIDTH + block_stride_x) / in ocl_extract_descrs_by_rows() local 1282 idx = k.set(idx, img_block_width); in ocl_extract_descrs_by_rows() [all …]
|