Lines Matching refs:image_width
297 const int image_width, in CalcSSIM() argument
301 const int KERNEL_X = (image_width < KERNEL) ? image_width : KERNEL; in CalcSSIM()
302 const int start_x = start_max(image_width - 8 + KERNEL_X, KERNEL_X); in CalcSSIM()
304 const int stride = image_width; in CalcSSIM()
307 for (int i = 0; i < image_width; ++i) { in CalcSSIM()
308 SSIM += GetSSIM(org, rec, i, j, image_width, image_height, stride); in CalcSSIM()
317 SSIM += GetSSIM(org, rec, i, j, image_width, image_height, stride); in CalcSSIM()
322 if (start_x < image_width) { in CalcSSIM()
336 (j - KERNEL + k) * stride + image_width - kScratchWidth; in CalcSSIM()
348 for (int i = 0; i < image_width; ++i) { in CalcSSIM()
349 SSIM += GetSSIM(org, rec, i, j, image_width, image_height, stride); in CalcSSIM()