[x265] [PATCH] limit-tu: Fix bug in loading co-located CU's TU depth
Aruna Matheswaran
aruna at multicorewareinc.com
Mon Nov 25 18:11:06 CET 2019
Pushed to Release_3.1 and grafted the fix to Release_3.2 and default.
On Fri, Nov 22, 2019 at 10:43 PM Aruna Matheswaran <
aruna at multicorewareinc.com> wrote:
> # 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++;
> }
>
--
Regards,
*Aruna Matheswaran,*
Video Codec Engineer,
Media & AI analytics BU,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20191125/7f4bfe6f/attachment.html>
More information about the x265-devel
mailing list