Lines Matching refs:gain
4 * gain: The parameter determines the filtering strength for the reference block
50 float gain,
107 gain = (grad.s0 < threshold) ? gain : 2.0f * gain;
108 weight = native_exp(-gain * dist.s0);
112 gain = (grad.s4 < threshold) ? gain : 2.0f * gain;
113 weight = native_exp(-gain * dist.s4);
124 float gain,
173 average_slice(ref[0], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
179 average_slice(ref[1], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
182 …average_slice((float8)(ref[0].hi, ref[1].lo), *observe, restore, sum_weight, gain, threshold, sg_i…
188 average_slice(ref[0], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
194 average_slice(ref[1], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
198 …average_slice((float8)(ref[0].hi, ref[1].lo), *observe, restore, sum_weight, gain, threshold, sg_i…
205 average_slice(ref[0], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
211 average_slice(ref[1], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
214 …average_slice((float8)(ref[0].hi, ref[1].lo), *observe, restore, sum_weight, gain, threshold, sg_i…
217 __kernel void kernel_3d_denoise ( float gain,
234 …weighted_average (input, ref_cache, true, &observe, &restore, &sum_weight, gain, threshold, sg_id,…
237 …weighted_average (restoredPrev, ref_cache, false, &observe, &restore, &sum_weight, gain, threshold…
240 …weighted_average (inputPrev1, ref_cache, false, &observe, &restore, &sum_weight, gain, threshold, …
244 …weighted_average (inputPrev2, ref_cache, false, &observe, &restore, &sum_weight, gain, threshold, …