Lines Matching refs:cimg_step
179 …obal__ void init_data_cost(const uchar *cleft, const uchar *cright, uchar *ctemp, size_t cimg_step, in init_data_cost() argument
208 const uchar* lle = cleft + yi * cimg_step + xi * channels; in init_data_cost()
209 const uchar* lri = cright + yi * cimg_step + xr * channels; in init_data_cost()
221 …void init_data_cost_reduce(const uchar *cleft, const uchar *cright, uchar *ctemp, size_t cimg_step, in init_data_cost_reduce() argument
245 const uchar* lle = cleft + y0 * cimg_step + channels * (x0 + tid ); in init_data_cost_reduce()
246 const uchar* lri = cright + y0 * cimg_step + channels * (x0 + tid - d); in init_data_cost_reduce()
252 lle += cimg_step; in init_data_cost_reduce()
253 lri += cimg_step; in init_data_cost_reduce()
271 …t_caller_(const uchar *cleft, const uchar *cright, uchar *ctemp, size_t cimg_step, int /*rows*/, i… in init_data_cost_caller_() argument
281 …nit_data_cost<T, 1><<<grid, threads, 0, stream>>>(cleft, cright, ctemp, cimg_step, h, w, level, nd… in init_data_cost_caller_()
282 …nit_data_cost<T, 3><<<grid, threads, 0, stream>>>(cleft, cright, ctemp, cimg_step, h, w, level, nd… in init_data_cost_caller_()
283 …nit_data_cost<T, 4><<<grid, threads, 0, stream>>>(cleft, cright, ctemp, cimg_step, h, w, level, nd… in init_data_cost_caller_()
289 …e_caller_(const uchar *cleft, const uchar *cright, uchar *ctemp, size_t cimg_step, int rows, int c… in init_data_cost_reduce_caller_() argument
300 …, winsz, 1><<<grid, threads, smem_size, stream>>>(cleft, cright, ctemp, cimg_step, level, rows, co… in init_data_cost_reduce_caller_()
301 …, winsz, 3><<<grid, threads, smem_size, stream>>>(cleft, cright, ctemp, cimg_step, level, rows, co… in init_data_cost_reduce_caller_()
302 …, winsz, 4><<<grid, threads, smem_size, stream>>>(cleft, cright, ctemp, cimg_step, level, rows, co… in init_data_cost_reduce_caller_()
308 …void init_data_cost(const uchar *cleft, const uchar *cright, uchar *ctemp, size_t cimg_step, int r… in init_data_cost() argument
312 …stCaller)(const uchar *cleft, const uchar *cright, uchar *ctemp, size_t cimg_step, int cols, int r… in init_data_cost()
323 …init_data_cost_callers[level](cleft, cright, ctemp, cimg_step, rows, cols, h, w, level, ndisp, cha… in init_data_cost()
346 …st<short>(const uchar *cleft, const uchar *cright, uchar *ctemp, size_t cimg_step, int rows, int c…
349 …st<float>(const uchar *cleft, const uchar *cright, uchar *ctemp, size_t cimg_step, int rows, int c…
357 …__global__ void compute_data_cost(const uchar *cleft, const uchar *cright, size_t cimg_step, const… in compute_data_cost() argument
387 const uchar* left_x = cleft + yi * cimg_step + xi * channels; in compute_data_cost()
388 const uchar* right_x = cright + yi * cimg_step + xr * channels; in compute_data_cost()
400 …ompute_data_cost_reduce(const uchar *cleft, const uchar *cright, size_t cimg_step, const T* select… in compute_data_cost_reduce() argument
427 const uchar* lle = cleft + y0 * cimg_step + channels * (x0 + tid ); in compute_data_cost_reduce()
428 … const uchar* lri = cright + y0 * cimg_step + channels * (x0 + tid - sel_disp); in compute_data_cost_reduce()
434 lle += cimg_step; in compute_data_cost_reduce()
435 lri += cimg_step; in compute_data_cost_reduce()
450 …void compute_data_cost_caller_(const uchar *cleft, const uchar *cright, size_t cimg_step, const T*… in compute_data_cost_caller_() argument
461 …case 1: compute_data_cost<T, 1><<<grid, threads, 0, stream>>>(cleft, cright, cimg_step, disp_selec… in compute_data_cost_caller_()
462 …case 3: compute_data_cost<T, 3><<<grid, threads, 0, stream>>>(cleft, cright, cimg_step, disp_selec… in compute_data_cost_caller_()
463 …case 4: compute_data_cost<T, 4><<<grid, threads, 0, stream>>>(cleft, cright, cimg_step, disp_selec… in compute_data_cost_caller_()
469 …ata_cost_reduce_caller_(const uchar *cleft, const uchar *cright, size_t cimg_step, const T* disp_s… in compute_data_cost_reduce_caller_() argument
481 …educe<T, winsz, 1><<<grid, threads, smem_size, stream>>>(cleft, cright, cimg_step, disp_selected_p… in compute_data_cost_reduce_caller_()
482 …educe<T, winsz, 3><<<grid, threads, smem_size, stream>>>(cleft, cright, cimg_step, disp_selected_p… in compute_data_cost_reduce_caller_()
483 …educe<T, winsz, 4><<<grid, threads, smem_size, stream>>>(cleft, cright, cimg_step, disp_selected_p… in compute_data_cost_reduce_caller_()
489 …void compute_data_cost(const uchar *cleft, const uchar *cright, size_t cimg_step, const T* disp_se… in compute_data_cost() argument
493 …*ComputeDataCostCaller)(const uchar *cleft, const uchar *cright, size_t cimg_step, const T* disp_s… in compute_data_cost()
506 …callers[level](cleft, cright, cimg_step, disp_selected_pyr, data_cost, rows, cols, h, w, level, nr… in compute_data_cost()
513 …template void compute_data_cost(const uchar *cleft, const uchar *cright, size_t cimg_step, const s…
516 …template void compute_data_cost(const uchar *cleft, const uchar *cright, size_t cimg_step, const f…