From 546833196fba0ca7597d50896159bce7b7110091 Mon Sep 17 00:00:00 2001 From: Yang Wang <wangyang.cs@bytedance.com> Date: Fri, 6 Jan 2023 08:16:36 +0800 Subject: [PATCH] fix the wrong stride for TIMD --- source/Lib/CommonLib/IntraPrediction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Lib/CommonLib/IntraPrediction.cpp b/source/Lib/CommonLib/IntraPrediction.cpp index ad0fdbd65..77b72ed9b 100644 --- a/source/Lib/CommonLib/IntraPrediction.cpp +++ b/source/Lib/CommonLib/IntraPrediction.cpp @@ -3806,7 +3806,7 @@ void IntraPrediction::xPredTimdIntraAng( const CPelBuf &pSrc, const ClpRng& clpR { int scale = (floorLog2(width) + floorLog2(height) - 2) >> 2; xIntraPredTimdHorVerPdpc(pDst, dstStride, refSide, width, iTemplateHeight, iTemplateWidth, 0, scale, refMain, clpRng); - xIntraPredTimdHorVerPdpc(pDst+iTemplateHeight*iDstStride, dstStride, refSide, iTemplateWidth, height, 0, iTemplateHeight, scale, refMain, clpRng); + xIntraPredTimdHorVerPdpc(pDst+iTemplateHeight*dstStride, dstStride, refSide, iTemplateWidth, height, 0, iTemplateHeight, scale, refMain, clpRng); } else { -- GitLab