Home
last modified time | relevance | path

Searched refs:sum_weight (Results 1 – 5 of 5) sorted by relevance

/external/libxcam/cl_kernel/
Dkernel_3d_denoise.cl49 float2* sum_weight,
110 (*sum_weight).lo = (*sum_weight).lo + weight;
115 (*sum_weight).hi = (*sum_weight).hi + weight;
123 float2* sum_weight,
163 (*sum_weight) = 1.0f;
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);
[all …]
Dkernel_3d_denoise_slm.cl39 float2* sum_weight,
109 (*sum_weight).s0 = (*sum_weight).s0 + weight;
155 (*sum_weight).s1 = (*sum_weight).s1 + weight;
174 float2 sum_weight = {0.0f, 0.0f};
179 weighted_average (input, ref_cache, true, observe_cache, restore, &sum_weight, gain, threshold);
184 …weighted_average (restoredPrev, ref_cache, false, observe_cache, restore, &sum_weight, gain, thres…
187 …weighted_average (inputPrev1, ref_cache, false, observe_cache, restore, &sum_weight, gain, thresho…
191 …weighted_average (inputPrev2, ref_cache, false, observe_cache, restore, &sum_weight, gain, thresho…
197 restore[0] = restore[0] / sum_weight.s0;
198 restore[1] = restore[1] / sum_weight.s0;
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_firstpass.c562 int sum_weight = 0; in fp_estimate_point_noise() local
582 sum_weight += *kernal_ptr; in fp_estimate_point_noise()
592 dn_val = (sum_val + (sum_weight >> 1)) / sum_weight; in fp_estimate_point_noise()
603 int sum_weight = 0; in fp_highbd_estimate_point_noise() local
625 sum_weight += *kernal_ptr; in fp_highbd_estimate_point_noise()
635 dn_val = (sum_val + (sum_weight >> 1)) / sum_weight; in fp_highbd_estimate_point_noise()
Dvp9_encoder.c4492 int *sum_weight) { argument
4494 *sum_weight += point_weight;
4501 int sum_weight = 0; local
4533 &sum_val, &sum_weight);
4540 *src_ptr = (uint8_t)((sum_val + (sum_weight >> 1)) / sum_weight);
4546 int sum_weight = 0; local
4578 &sum_val, &sum_weight);
4585 *src_ptr = (uint16_t)((sum_val + (sum_weight >> 1)) / sum_weight);
/external/ltp/utils/ffsb-6.0-rc2/
Dparser.c678 uint32_t sum_weight = get_weight_total(tg); in verify_tg() local
687 if (sum_weight == 0) { in verify_tg()