From 71e856cf840d69b2c6edfa34c6ae77a3a0cd9ddb Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 8 Mar 2016 23:26:10 -0800 Subject: [PATCH] GetMBSSIM,cosmetics: fix alignment Change-Id: I884b3361484b48917fa4cba33cd1217ac51685f9 --- src/enc/filter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/enc/filter.c b/src/enc/filter.c index 196b2348..e8ea8b4f 100644 --- a/src/enc/filter.c +++ b/src/enc/filter.c @@ -202,15 +202,15 @@ static double GetMBSSIM(const uint8_t* yuv1, const uint8_t* yuv2) { for (y = VP8_SSIM_KERNEL; y < 16 - VP8_SSIM_KERNEL; y++) { for (x = VP8_SSIM_KERNEL; x < 16 - VP8_SSIM_KERNEL; x++) { VP8SSIMAccumulateClipped(yuv1 + Y_OFF_ENC, BPS, yuv2 + Y_OFF_ENC, BPS, - x, y, 16, 16, &s); + x, y, 16, 16, &s); } } for (x = 1; x < 7; x++) { for (y = 1; y < 7; y++) { VP8SSIMAccumulateClipped(yuv1 + U_OFF_ENC, BPS, yuv2 + U_OFF_ENC, BPS, - x, y, 8, 8, &s); + x, y, 8, 8, &s); VP8SSIMAccumulateClipped(yuv1 + V_OFF_ENC, BPS, yuv2 + V_OFF_ENC, BPS, - x, y, 8, 8, &s); + x, y, 8, 8, &s); } } return VP8SSIMGet(&s);