[x265] [PATCH] Analysis: fix for binary mismatch for pass 2 in compressSharedIntraCTU()

ashok at multicorewareinc.com ashok at multicorewareinc.com
Wed Sep 17 12:53:58 CEST 2014


# HG changeset patch
# User Ashok Kumar Mishra<ashok at multicorewareinc.com>
# Date 1410951220 -19800
#      Wed Sep 17 16:23:40 2014 +0530
# Node ID 8cb1b8bb637808442cc2536203a9fdabab04618e
# Parent  8c8356bc9307ea51951e40bf93f61c3d06bbe4d2
Analysis: fix for binary mismatch for pass 2 in compressSharedIntraCTU()

diff -r 8c8356bc9307 -r 8cb1b8bb6378 source/encoder/analysis.cpp
--- a/source/encoder/analysis.cpp	Wed Sep 17 16:13:19 2014 +0530
+++ b/source/encoder/analysis.cpp	Wed Sep 17 16:23:40 2014 +0530
@@ -594,12 +594,12 @@
         TComDataCU* subTempPartCU = m_tempCU[nextDepth];
         for (uint32_t partUnitIdx = 0; partUnitIdx < 4; partUnitIdx++)
         {
+            int32_t qp = outTempCU->getQP(0);
+            subBestPartCU->initSubCU(outTempCU, partUnitIdx, nextDepth, qp); // clear sub partition datas or init.
+
             CU *child_cu = cuPicsym->m_CULocalData + cu->childIdx + partUnitIdx;
-
             if (child_cu->flags & CU::PRESENT)
             {
-                int32_t qp = outTempCU->getQP(0);
-                subBestPartCU->initSubCU(outTempCU, partUnitIdx, nextDepth, qp); // clear sub partition datas or init.
                 subTempPartCU->initSubCU(outTempCU, partUnitIdx, nextDepth, qp); // clear sub partition datas or init.
 
                 if (partUnitIdx) // initialize RD with previous depth buffer


More information about the x265-devel mailing list