[x265] [PATCH] Fix satdcost zero error with pass 2

Yaswanth Sastry yaswanth.sastry at multicorewareinc.com
Wed Apr 9 08:53:14 UTC 2025


>From cc1b054bf6f57606f57f5d8402d4018b3b2bbd74 Mon Sep 17 00:00:00 2001
From: yaswanthsastry <yaswanth.sastry at multicorewareinc.com>
Date: Mon, 7 Apr 2025 15:13:09 +0530
Subject: [PATCH] Fix satdcost zero error with pass 2

---
 source/common/lowres.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/source/common/lowres.cpp b/source/common/lowres.cpp
index 4548cf800..856f716b8 100644
--- a/source/common/lowres.cpp
+++ b/source/common/lowres.cpp
@@ -421,10 +421,7 @@ void Lowres::init(PicYuv *origPic, int poc)
     if (!!origPic->m_param->rc.aqMode || !!origPic->m_param->rc.hevcAq || !!origPic->m_param->bAQMotion || !!origPic->m_param->bEnableWeightedPred || !!origPic->m_param->bEnableWeightedBiPred)
         {
         memset(qpAqOffset, 0, sizeof(double) * cuCountFullRes);
-        memset(invQscaleFactor, 0, sizeof(int) * cuCountFullRes);
         memset(qpCuTreeOffset, 0,sizeof(double) * cuCountFullRes);
-        if (origPic->m_param->rc.qgSize == 8)
-             memset(invQscaleFactor8x8, 0, sizeof(int) * cuCount);
         memset(edgeInclined, 0, sizeof(int) * cuCountFullRes);
         }
      if (origPic->m_param->bAQMotion)
--
2.37.3.windows.1


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20250409/7e264457/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 1175 bytes
Desc: patch.diff
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20250409/7e264457/attachment.obj>


More information about the x265-devel mailing list