From 5a25d567d78ab2e621c41bfca29fcb98bdd0271f Mon Sep 17 00:00:00 2001 From: Debargha Mukherjee Date: Fri, 25 Sep 2015 05:54:23 -0700 Subject: [PATCH] 64x64 idct fix. Change-Id: If0e0cd7cbe71e9586657f5e8ffa87dcdebc686ba --- vp9/common/vp9_idct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vp9/common/vp9_idct.c b/vp9/common/vp9_idct.c index 4d9559c8c..a1af5c9f3 100644 --- a/vp9/common/vp9_idct.c +++ b/vp9/common/vp9_idct.c @@ -3816,8 +3816,8 @@ void vp9_highbd_idct64x64_4096_add_c(const tran_low_t *input, uint8_t *dest8, for (j = 0; j < 64; ++j) { for (i = 0; i < 64; ++i) - dest[j * stride + i] = highbd_clip_pixel_add( - dest[j * 64 + i], round(out2[j * 64 + i] / 128), bd); + dest[i] = highbd_clip_pixel_add( + dest[i], round(out2[j * 64 + i] / 128), bd); dest += stride; } } -- 2.40.0