Home
last modified time | relevance | path

Searched refs:scale_g (Results 1 – 3 of 3) sorted by relevance

/external/opencv/cv/src/
Dcvstereobm.cpp112 int scale_g = winsize*winsize/8, scale_s = (1024 + scale_g)/(scale_g*2); in icvPrefilter() local
119 scale_g *= scale_s; in icvPrefilter()
156 int val = ((curr[0]*5 + curr[1] + prev[0] + next[0])*scale_g - sum*scale_s) >> 10; in icvPrefilter()
162 … val = ((curr[x]*4 + curr[x-1] + curr[x+1] + prev[x] + next[x])*scale_g - sum*scale_s) >> 10; in icvPrefilter()
167 val = ((curr[x]*5 + curr[x-1] + prev[x] + next[x])*scale_g - sum*scale_s) >> 10; in icvPrefilter()
/external/opencv3/modules/calib3d/src/
Dstereobm.cpp95 int scale_g = winsize*winsize/8, scale_s = (1024 + scale_g)/(scale_g*2); in ocl_prefilter_norm() local
96 scale_g *= scale_s; in ocl_prefilter_norm()
105 prefilterCap, scale_g, scale_s); in ocl_prefilter_norm()
114 int scale_g = winsize*winsize/8, scale_s = (1024 + scale_g)/(scale_g*2); in prefilterNorm() local
121 scale_g *= scale_s; in prefilterNorm()
157 int val = ((curr[0]*5 + curr[1] + prev[0] + next[0])*scale_g - sum*scale_s) >> 10; in prefilterNorm()
163 … val = ((curr[x]*4 + curr[x-1] + curr[x+1] + prev[x] + next[x])*scale_g - sum*scale_s) >> 10; in prefilterNorm()
168 val = ((curr[x]*5 + curr[x-1] + prev[x] + next[x])*scale_g - sum*scale_s) >> 10; in prefilterNorm()
/external/opencv3/modules/calib3d/src/opencl/
Dstereobm.cl286 int rows, int cols, int prefilterCap, int scale_g, int scale_s)
303 int res = (cov1*scale_g - cov2*scale_s)>>10;