• Home
  • Raw
  • Download

Lines Matching refs:sum_r

19                             uint32_t *sum_s, uint32_t *sum_r,  in vpx_ssim_parms_16x16_c()  argument
26 *sum_r += r[j]; in vpx_ssim_parms_16x16_c()
34 uint32_t *sum_s, uint32_t *sum_r, uint32_t *sum_sq_s, in vpx_ssim_parms_8x8_c() argument
40 *sum_r += r[j]; in vpx_ssim_parms_8x8_c()
50 int rp, uint32_t *sum_s, uint32_t *sum_r, in vpx_highbd_ssim_parms_8x8_c() argument
57 *sum_r += r[j]; in vpx_highbd_ssim_parms_8x8_c()
73 static double similarity(uint32_t sum_s, uint32_t sum_r, uint32_t sum_sq_s, in similarity() argument
93 ssim_n = (2 * sum_s * sum_r + c1) * in similarity()
94 ((int64_t)2 * count * sum_sxr - (int64_t)2 * sum_s * sum_r + c2); in similarity()
96 ssim_d = (sum_s * sum_s + sum_r * sum_r + c1) * in similarity()
98 (int64_t)count * sum_sq_r - (int64_t)sum_r * sum_r + c2); in similarity()
104 uint32_t sum_s = 0, sum_r = 0, sum_sq_s = 0, sum_sq_r = 0, sum_sxr = 0; in ssim_8x8() local
105 vpx_ssim_parms_8x8(s, sp, r, rp, &sum_s, &sum_r, &sum_sq_s, &sum_sq_r, in ssim_8x8()
107 return similarity(sum_s, sum_r, sum_sq_s, sum_sq_r, sum_sxr, 64, 8); in ssim_8x8()
113 uint32_t sum_s = 0, sum_r = 0, sum_sq_s = 0, sum_sq_r = 0, sum_sxr = 0; in highbd_ssim_8x8() local
114 vpx_highbd_ssim_parms_8x8(s, sp, r, rp, &sum_s, &sum_r, &sum_sq_s, &sum_sq_r, in highbd_ssim_8x8()
116 return similarity(sum_s >> shift, sum_r >> shift, sum_sq_s >> (2 * shift), in highbd_ssim_8x8()
223 const double l = 1.0 * (2 * sv->sum_s * sv->sum_r + c1) / in ssimv_similarity()
224 (sv->sum_s * sv->sum_s + sv->sum_r * sv->sum_r + c1); in ssimv_similarity()
228 const double v = (2.0 * n * sv->sum_sxr - 2 * sv->sum_s * sv->sum_r + c2) / in ssimv_similarity()
230 n * sv->sum_sq_r - sv->sum_r * sv->sum_r + c2); in ssimv_similarity()
254 const double mean_diff = (1.0 * sv->sum_s - sv->sum_r) / n; in ssimv_similarity2()
259 const double v = (2.0 * n * sv->sum_sxr - 2 * sv->sum_s * sv->sum_r + c2) / in ssimv_similarity2()
261 n * sv->sum_sq_r - sv->sum_r * sv->sum_r + c2); in ssimv_similarity2()
267 vpx_ssim_parms_8x8(img1, img1_pitch, img2, img2_pitch, &sv->sum_s, &sv->sum_r, in ssimv_parms()