Lines Matching refs:msg_step

88             size_t msg_step, size_t disp_step)  in get_first_k_initial_global()  argument
95 T* selected_disparity = selected_disp_pyr + y * msg_step + x; in get_first_k_initial_global()
96 T* data_cost_selected = data_cost_selected_ + y * msg_step + x; in get_first_k_initial_global()
97 T* data_cost = (T*)ctemp + y * msg_step + x; in get_first_k_initial_global()
123 size_t msg_step, size_t disp_step) in get_first_k_initial_local() argument
130 T* selected_disparity = selected_disp_pyr + y * msg_step + x; in get_first_k_initial_local()
131 T* data_cost_selected = data_cost_selected_ + y * msg_step + x; in get_first_k_initial_local()
132 T* data_cost = (T*)ctemp + y * msg_step + x; in get_first_k_initial_local()
181 int min_disp, size_t msg_step, size_t disp_step) in init_data_cost() argument
194 T* data_cost = (T*)ctemp + y * msg_step + x; in init_data_cost()
223 int min_disp, size_t msg_step, size_t disp_step) in init_data_cost_reduce() argument
262 T* data_cost = (T*)ctemp + y_out * msg_step + x_out; in init_data_cost_reduce()
271 … channels, float data_weight, float max_data_term, int min_disp, size_t msg_step, size_t disp_step… in init_data_cost_caller_() argument
281 …p, cimg_step, h, w, level, ndisp, data_weight, max_data_term, min_disp, msg_step, disp_step); brea… in init_data_cost_caller_()
282 …p, cimg_step, h, w, level, ndisp, data_weight, max_data_term, min_disp, msg_step, disp_step); brea… in init_data_cost_caller_()
283 …p, cimg_step, h, w, level, ndisp, data_weight, max_data_term, min_disp, msg_step, disp_step); brea… in init_data_cost_caller_()
289 … channels, float data_weight, float max_data_term, int min_disp, size_t msg_step, size_t disp_step… in init_data_cost_reduce_caller_() argument
300 …tep, level, rows, cols, h, ndisp, data_weight, max_data_term, min_disp, msg_step, disp_step); brea… in init_data_cost_reduce_caller_()
301 …tep, level, rows, cols, h, ndisp, data_weight, max_data_term, min_disp, msg_step, disp_step); brea… in init_data_cost_reduce_caller_()
302 …tep, level, rows, cols, h, ndisp, data_weight, max_data_term, min_disp, msg_step, disp_step); brea… in init_data_cost_reduce_caller_()
308 …size_t cimg_step, int rows, int cols, T* disp_selected_pyr, T* data_cost_selected, size_t msg_step, in init_data_cost() argument
312 … channels, float data_weight, float max_data_term, int min_disp, size_t msg_step, size_t disp_step… in init_data_cost()
321 size_t disp_step = msg_step * h; in init_data_cost()
323 …ls, h, w, level, ndisp, channels, data_weight, max_data_term, min_disp, msg_step, disp_step, strea… in init_data_cost()
336 …ream>>> (ctemp, data_cost_selected, disp_selected_pyr, h, w, nr_plane, ndisp, msg_step, disp_step); in init_data_cost()
338 …tream>>>(ctemp, data_cost_selected, disp_selected_pyr, h, w, nr_plane, ndisp, msg_step, disp_step); in init_data_cost()
346 …img_step, int rows, int cols, short* disp_selected_pyr, short* data_cost_selected, size_t msg_step,
349 …img_step, int rows, int cols, float* disp_selected_pyr, float* data_cost_selected, size_t msg_step,
357 … nr_plane, float data_weight, float max_data_term, int min_disp, size_t msg_step, size_t disp_step… in compute_data_cost() argument
370 const T* selected_disparity = selected_disp_pyr + y/2 * msg_step + x/2; in compute_data_cost()
371 T* data_cost = data_cost_ + y * msg_step + x; in compute_data_cost()
400 … nr_plane, float data_weight, float max_data_term, int min_disp, size_t msg_step, size_t disp_step… in compute_data_cost_reduce() argument
408 const T* selected_disparity = selected_disp_pyr + y_out/2 * msg_step + x_out/2; in compute_data_cost_reduce()
409 T* data_cost = data_cost_ + y_out * msg_step + x_out; in compute_data_cost_reduce()
451 … channels, float data_weight, float max_data_term, int min_disp, size_t msg_step, size_t disp_step… in compute_data_cost_caller_() argument
461 …data_cost, h, w, level, nr_plane, data_weight, max_data_term, min_disp, msg_step, disp_step1, disp… in compute_data_cost_caller_()
462 …data_cost, h, w, level, nr_plane, data_weight, max_data_term, min_disp, msg_step, disp_step1, disp… in compute_data_cost_caller_()
463 …data_cost, h, w, level, nr_plane, data_weight, max_data_term, min_disp, msg_step, disp_step1, disp… in compute_data_cost_caller_()
470 … channels, float data_weight, float max_data_term, int min_disp, size_t msg_step, size_t disp_step… in compute_data_cost_reduce_caller_() argument
481 …, level, rows, cols, h, nr_plane, data_weight, max_data_term, min_disp, msg_step, disp_step1, disp… in compute_data_cost_reduce_caller_()
482 …, level, rows, cols, h, nr_plane, data_weight, max_data_term, min_disp, msg_step, disp_step1, disp… in compute_data_cost_reduce_caller_()
483 …, level, rows, cols, h, nr_plane, data_weight, max_data_term, min_disp, msg_step, disp_step1, disp… in compute_data_cost_reduce_caller_()
489 …, const uchar *cright, size_t cimg_step, const T* disp_selected_pyr, T* data_cost, size_t msg_step, in compute_data_cost() argument
494 … channels, float data_weight, float max_data_term, int min_disp, size_t msg_step, size_t disp_step… in compute_data_cost()
503 size_t disp_step1 = msg_step * h; in compute_data_cost()
504 size_t disp_step2 = msg_step * h2; in compute_data_cost()
506 … h, w, level, nr_plane, channels, data_weight, max_data_term, min_disp, msg_step, disp_step1, disp… in compute_data_cost()
513 …uchar *cright, size_t cimg_step, const short* disp_selected_pyr, short* data_cost, size_t msg_step,
516 …uchar *cright, size_t cimg_step, const float* disp_selected_pyr, float* data_cost, size_t msg_step,
564 size_t msg_step, size_t disp_step1, size_t disp_step2) in init_message() argument
571 const T* u_cur = u_cur_ + ::min(h2-1, y/2 + 1) * msg_step + x/2; in init_message()
572 const T* d_cur = d_cur_ + ::max(0, y/2 - 1) * msg_step + x/2; in init_message()
573 const T* l_cur = l_cur_ + (y/2) * msg_step + ::min(w2-1, x/2 + 1); in init_message()
574 const T* r_cur = r_cur_ + (y/2) * msg_step + ::max(0, x/2 - 1); in init_message()
576 T* data_cost_new = (T*)ctemp + y * msg_step + x; in init_message()
578 const T* disparity_selected_cur = selected_disp_pyr_cur + y/2 * msg_step + x/2; in init_message()
579 const T* data_cost = data_cost_ + y * msg_step + x; in init_message()
589 T* data_cost_selected = data_cost_selected_ + y * msg_step + x; in init_message()
590 T* disparity_selected_new = selected_disp_pyr_new + y * msg_step + x; in init_message()
592 T* u_new = u_new_ + y * msg_step + x; in init_message()
593 T* d_new = d_new_ + y * msg_step + x; in init_message()
594 T* l_new = l_new_ + y * msg_step + x; in init_message()
595 T* r_new = r_new_ + y * msg_step + x; in init_message()
597 u_cur = u_cur_ + y/2 * msg_step + x/2; in init_message()
598 d_cur = d_cur_ + y/2 * msg_step + x/2; in init_message()
599 l_cur = l_cur_ + y/2 * msg_step + x/2; in init_message()
600 r_cur = r_cur_ + y/2 * msg_step + x/2; in init_message()
614 T* data_cost_selected, const T* data_cost, size_t msg_step, in init_message() argument
618 size_t disp_step1 = msg_step * h; in init_message()
619 size_t disp_step2 = msg_step * h2; in init_message()
632 msg_step, disp_step1, disp_step2); in init_message()
643 short* data_cost_selected, const short* data_cost, size_t msg_step,
649 float* data_cost_selected, const float* data_cost, size_t msg_step,
693 … int nr_plane, int i, int max_disc_term, float disc_single_jump, size_t msg_step, size_t disp_step) in compute_message() argument
700 const T* data = data_cost_selected + y * msg_step + x; in compute_message()
702 T* u = u_ + y * msg_step + x; in compute_message()
703 T* d = d_ + y * msg_step + x; in compute_message()
704 T* l = l_ + y * msg_step + x; in compute_message()
705 T* r = r_ + y * msg_step + x; in compute_message()
707 const T* disp = selected_disp_pyr_cur + y * msg_step + x; in compute_message()
709 T* temp = (T*)ctemp + y * msg_step + x; in compute_message()
711 …message_per_pixel(data, u, r - 1, u + msg_step, l + 1, disp, disp - msg_step, nr_plane, max_disc_t… in compute_message()
712 …message_per_pixel(data, d, d - msg_step, r - 1, l + 1, disp, disp + msg_step, nr_plane, max_disc_t… in compute_message()
713 …message_per_pixel(data, l, u + msg_step, d - msg_step, l + 1, disp, disp - 1, nr_plane, max_disc_t… in compute_message()
714 …message_per_pixel(data, r, u + msg_step, d - msg_step, r - 1, disp, disp + 1, nr_plane, max_disc_t… in compute_message()
721 …const T* selected_disp_pyr_cur, size_t msg_step, int h, int w, int nr_plane, int iters, int max_di… in calc_all_iterations() argument
723 size_t disp_step = msg_step * h; in calc_all_iterations()
733 …elected_disp_pyr_cur, h, w, nr_plane, t & 1, max_disc_term, disc_single_jump, msg_step, disp_step); in calc_all_iterations()
740 … l, short* r, const short* data_cost_selected, const short* selected_disp_pyr_cur, size_t msg_step,
743 … l, float* r, const float* data_cost_selected, const float* selected_disp_pyr_cur, size_t msg_step,
755 … PtrStepSz<short> disp, int nr_plane, size_t msg_step, size_t disp_step) in compute_disp() argument
762 const T* data = data_cost_selected + y * msg_step + x; in compute_disp()
763 const T* disp_selected = disp_selected_pyr + y * msg_step + x; in compute_disp()
765 const T* u = u_ + (y+1) * msg_step + (x+0); in compute_disp()
766 const T* d = d_ + (y-1) * msg_step + (x+0); in compute_disp()
767 const T* l = l_ + (y+0) * msg_step + (x+1); in compute_disp()
768 const T* r = r_ + (y+0) * msg_step + (x-1); in compute_disp()
788 …T* d, const T* l, const T* r, const T* data_cost_selected, const T* disp_selected, size_t msg_step, in compute_disp() argument
791 size_t disp_step = disp.rows * msg_step; in compute_disp()
799 …, 0, stream>>>(u, d, l, r, data_cost_selected, disp_selected, disp, nr_plane, msg_step, disp_step); in compute_disp()
806 …t* l, const short* r, const short* data_cost_selected, const short* disp_selected, size_t msg_step,
809 …t* l, const float* r, const float* data_cost_selected, const float* disp_selected, size_t msg_step,