Lines Matching refs:img2
124 static double vpx_ssim2(const uint8_t *img1, const uint8_t *img2, in vpx_ssim2() argument
133 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { in vpx_ssim2()
135 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2); in vpx_ssim2()
145 static double vpx_highbd_ssim2(const uint8_t *img1, const uint8_t *img2, in vpx_highbd_ssim2() argument
154 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { in vpx_highbd_ssim2()
157 CONVERT_TO_SHORTPTR(img2 + j), stride_img2, bd, in vpx_highbd_ssim2()
265 static void ssimv_parms(uint8_t *img1, int img1_pitch, uint8_t *img2, in ssimv_parms() argument
267 vpx_ssim_parms_8x8(img1, img1_pitch, img2, img2_pitch, &sv->sum_s, &sv->sum_r, in ssimv_parms()
271 double vpx_get_ssim_metrics(uint8_t *img1, int img1_pitch, uint8_t *img2, in vpx_get_ssim_metrics() argument
285 i += 4, img1 += img1_pitch * 4, img2 += img2_pitch * 4) { in vpx_get_ssim_metrics()
303 ssimv_parms(img1 + j, img1_pitch, img2 + j, img2_pitch, &sv); in vpx_get_ssim_metrics()