Lines Matching refs:sum_sq_s
248 unsigned long *sum_sq_s,
260 *sum_sq_s += s[j] * s[j];
274 unsigned long *sum_sq_s,
286 *sum_sq_s += s[j] * s[j];
300 unsigned long sum_sq_s,
309 (count*sum_sq_s-sum_s*sum_s + count*sum_sq_r-sum_r*sum_r +c2) ;
317 unsigned long sum_s=0,sum_r=0,sum_sq_s=0,sum_sq_r=0,sum_sxr=0;
318 rtcd->ssimpf(s, sp, r, rp, &sum_s, &sum_r, &sum_sq_s, &sum_sq_r, &sum_sxr);
319 return similarity(sum_s, sum_r, sum_sq_s, sum_sq_r, sum_sxr, 256);
324 unsigned long sum_s=0,sum_r=0,sum_sq_s=0,sum_sq_r=0,sum_sxr=0;
325 rtcd->ssimpf_8x8(s, sp, r, rp, &sum_s, &sum_r, &sum_sq_s, &sum_sq_r, &sum_sxr);
326 return similarity(sum_s, sum_r, sum_sq_s, sum_sq_r, sum_sxr, 64);
334 unsigned long sum_s=0,sum_r=0,sum_sq_s=0,sum_sq_r=0,sum_sxr=0;
339 rtcd->ssimpf(s, sp, r, rp, &sum_s, &sum_r, &sum_sq_s, &sum_sq_r, &sum_sxr);
343 (256*sum_sq_s-sum_s*sum_s + 256*sum_sq_r-sum_r*sum_r +c2) ;