[x265] [PATCH] analysis: fix bug in compressSharedIntraCTU while analysis-mode=load
gopu at multicorewareinc.com
gopu at multicorewareinc.com
Tue Oct 14 06:40:58 CEST 2014
# HG changeset patch
# User Gopu Govindaswamy <gopu at multicorewareinc.com>
# Date 1413261003 -19800
# Tue Oct 14 10:00:03 2014 +0530
# Node ID e59385c24be4d03143724474ffd9204698fbb0be
# Parent 585e8591cb95ef5a57e10f16e9f4bd61ec5a8913
analysis: fix bug in compressSharedIntraCTU while analysis-mode=load
using boundary condition for cu while encoding each frame not required for
analysis data load mode, it bypasses split and mode analysis for that CU
diff -r 585e8591cb95 -r e59385c24be4 source/encoder/analysis.cpp
--- a/source/encoder/analysis.cpp Tue Oct 14 09:58:56 2014 +0530
+++ b/source/encoder/analysis.cpp Tue Oct 14 10:00:03 2014 +0530
@@ -717,6 +717,9 @@
CU *child_cu = pic->getCU(outTempCU->m_cuAddr)->m_cuLocalData + cu->childIdx + partUnitIdx;
if (child_cu->flags & CU::PRESENT)
{
+ int qp = outTempCU->getQP(0);
+ subBestPartCU->initSubCU(outTempCU, child_cu, partUnitIdx, nextDepth, qp); // clear sub partition datas or init.
+
subTempPartCU->initSubCU(outTempCU, child_cu, 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