[x265] [PATCH] limit-tu: Fix bug in loading co-located CU's TU depth
Aruna Matheswaran
aruna at multicorewareinc.com
Fri Nov 22 18:13:27 CET 2019
# HG changeset patch
# User Aruna Matheswaran <aruna at multicorewareinc.com>
# Date 1573207250 -19800
# Fri Nov 08 15:30:50 2019 +0530
# Branch Release_3.2
# Node ID bdaec830f10d29daac3d5842c6c7e45348c00364
# Parent b5c86a64bbbede216b25092def72272ecde5523a
limit-tu: Fix bug in loading co-located CU's TU depth
diff -r b5c86a64bbbe -r bdaec830f10d source/encoder/analysis.cpp
--- a/source/encoder/analysis.cpp Tue Oct 29 17:25:05 2019 +0530
+++ b/source/encoder/analysis.cpp Fri Nov 08 15:30:50 2019 +0530
@@ -375,12 +375,12 @@
CUData* neighbourCU;
uint8_t count = 0;
int32_t maxTUDepth = -1;
- neighbourCU = m_slice->m_refFrameList[0][0]->m_encData->m_picCTU;
+ neighbourCU = &m_slice->m_refFrameList[0][0]->m_encData->m_picCTU[parentCTU.m_cuAddr];
predDepth += neighbourCU->m_refTuDepth[cuGeom.geomRecurId];
count++;
if (m_slice->isInterB())
{
- neighbourCU = m_slice->m_refFrameList[1][0]->m_encData->m_picCTU;
+ neighbourCU = &m_slice->m_refFrameList[1][0]->m_encData->m_picCTU[parentCTU.m_cuAddr];
predDepth += neighbourCU->m_refTuDepth[cuGeom.geomRecurId];
count++;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265_push.patch
Type: text/x-patch
Size: 1157 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20191122/043f4dcc/attachment.bin>
More information about the x265-devel
mailing list