From f847d1b9da6aacf323c91d794f2bddecab79bb8c Mon Sep 17 00:00:00 2001 From: Huanbang Chen <chenhuanbang@huawei.com> Date: Wed, 5 Dec 2018 14:37:47 +0800 Subject: [PATCH] bug fix in bioSampleExtendBilinearFilter. Since bilinear filter is used for extended area, vFilterSize should be set to NTAPS_BILINEAR. --- source/Lib/CommonLib/InterPrediction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Lib/CommonLib/InterPrediction.cpp b/source/Lib/CommonLib/InterPrediction.cpp index 28b7999aa..1cb511a8f 100644 --- a/source/Lib/CommonLib/InterPrediction.cpp +++ b/source/Lib/CommonLib/InterPrediction.cpp @@ -1059,7 +1059,7 @@ void InterPrediction::bioSampleExtendBilinearFilter(Pel const* src, int srcStrid Pel const* pSrc = NULL; Pel* pDst = NULL; - int vFilterSize = NTAPS_LUMA; + int vFilterSize = NTAPS_BILINEAR; int widthTmp = 0; int heightTmp = 0; -- GitLab