Lines Matching full:layer
26 __kernel void kernel_wavelet_coeff_variance (__read_only image2d_t input, __write_only image2d_t output, int layer)
176 * layer: wavelet decomposition layer
184 int layer, int decomLevels,
217 coeff_var_hl = 65025 * (1 << 2 * layer) * read_imagef(var_hl, sampler, (int2)(x, y));
218 coeff_var_lh = 65025 * (1 << 2 * layer) * read_imagef(var_lh, sampler, (int2)(x, y));
219 coeff_var_hh = 65025 * (1 << 2 * layer) * read_imagef(var_hh, sampler, (int2)(x, y));
230 thresh_hl = (ag_weight * noise_var / stddev_hl) / (255 * (1 << layer));
231 thresh_lh = (ag_weight * noise_var / stddev_lh) / (255 * (1 << layer));
232 thresh_hh = (ag_weight * noise_var / stddev_hh) / (255 * (1 << layer));