• Home
  • Raw
  • Download

Lines Matching refs:restore

38                               float4* restore,
111restore[0] = mad(weight, ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, local_id_x + j)], restore[0]);
112restore[1] = mad(weight, ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, REF_BLOCK_WIDTH + local_id_x + j)…
113restore[2] = mad(weight, ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, 2 * REF_BLOCK_WIDTH + local_id_x …
114restore[3] = mad(weight, ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, 3 * REF_BLOCK_WIDTH + local_id_x …
157restore[4] = mad(weight, ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, local_id_x + j)], restore[4]);
158restore[5] = mad(weight, ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, REF_BLOCK_WIDTH + local_id_x + j)…
159restore[6] = mad(weight, ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, 2 * REF_BLOCK_WIDTH + local_id_x …
160restore[7] = mad(weight, ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, 3 * REF_BLOCK_WIDTH + local_id_x …
173 float4 restore[8] = {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 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;
199 restore[2] = restore[2] / sum_weight.s0;
200 restore[3] = restore[3] / sum_weight.s0;
202 restore[4] = restore[4] / sum_weight.s1;
203 restore[5] = restore[5] / sum_weight.s1;
204 restore[6] = restore[6] / sum_weight.s1;
205 restore[7] = restore[7] / sum_weight.s1;
210 write_imagef(output, (int2)(global_id_x, 8 * global_id_y), restore[0]);
211 write_imagef(output, (int2)(global_id_x, mad24(8, global_id_y, 1)), restore[1]);
212 write_imagef(output, (int2)(global_id_x, mad24(8, global_id_y, 2)), restore[2]);
213 write_imagef(output, (int2)(global_id_x, mad24(8, global_id_y, 3)), restore[3]);
214 write_imagef(output, (int2)(global_id_x, mad24(8, global_id_y, 4)), restore[4]);
215 write_imagef(output, (int2)(global_id_x, mad24(8, global_id_y, 5)), restore[5]);
216 write_imagef(output, (int2)(global_id_x, mad24(8, global_id_y, 6)), restore[6]);
217 write_imagef(output, (int2)(global_id_x, mad24(8, global_id_y, 7)), restore[7]);