Searched refs:scale_g (Results 1 – 3 of 3) sorted by relevance
112 int scale_g = winsize*winsize/8, scale_s = (1024 + scale_g)/(scale_g*2); in icvPrefilter() local119 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()
95 int scale_g = winsize*winsize/8, scale_s = (1024 + scale_g)/(scale_g*2); in ocl_prefilter_norm() local96 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() local121 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()
286 int rows, int cols, int prefilterCap, int scale_g, int scale_s)303 int res = (cov1*scale_g - cov2*scale_s)>>10;