Lines Matching full:winsz
346 void stereoBM_CUDA(const PtrStepSzb& left, const PtrStepSzb& right, const PtrStepSzb& disp, int maxdisp, int winsz, const PtrStepSz<unsigned int>& minSSD_buf, cudaStream_t& stream)
348 int winsz2 = winsz >> 1;
427 __device__ float CalcSums(float *cols, float *cols_cache, int winsz)
431 int winsz2 = winsz/2;
443 for(int i = winsz2 + 1; i < winsz; i++)
451 __global__ void textureness_kernel(PtrStepSzb disp, int winsz, float threshold)
453 int winsz2 = winsz/2;
483 float sum_win = CalcSums(cols, cols_cache + threadIdx.x, winsz) * 255;
501 float sum_win = CalcSums(cols, cols_cache + threadIdx.x, winsz) * 255;
510 void postfilter_textureness(const PtrStepSzb& input, int winsz, float avgTexturenessThreshold, const PtrStepSzb& disp, cudaStream_t & stream)
512 avgTexturenessThreshold *= winsz * winsz;
527 size_t smem_size = (threads.x + threads.x + (winsz/2) * 2 ) * sizeof(float);
528 textureness_kernel<<<grid, threads, smem_size, stream>>>(disp, winsz, avgTexturenessThreshold);