[x265] [PATCH] aq: bug fix for hash mismatch between recon with decoded output

Deepthi Nandakumar deepthi at multicorewareinc.com
Tue Dec 3 17:33:48 CET 2013


Pushed. So what are the latest results for different sequences on enabling
aq-mode?


On Tue, Dec 3, 2013 at 4:31 PM, Aarthi Thirumalai <
aarthi at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Aarthi Thirumalai
> # Date 1386068495 -19800
> #      Tue Dec 03 16:31:35 2013 +0530
> # Node ID 660ec2c027982db73366560ca8f600e5d86cc2e3
> # Parent  86d23688b0174e06f3949c81ac182ba3e83908d1
> aq: bug fix for hash mismatch between recon with decoded output
>
> diff -r 86d23688b017 -r 660ec2c02798 source/encoder/compress.cpp
> --- a/source/encoder/compress.cpp       Tue Dec 03 11:24:15 2013 +0530
> +++ b/source/encoder/compress.cpp       Tue Dec 03 16:31:35 2013 +0530
> @@ -74,6 +74,7 @@
>
>      cu->m_totalBits = m_entropyCoder->getNumberOfWrittenBits();
>      cu->m_totalCost = m_rdCost->calcRdCost(cu->m_totalDistortion,
> cu->m_totalBits);
> +    xCheckDQP(cu);
>  }
>
>  void TEncCu::xComputeCostIntraInInter(TComDataCU* cu, PartSize partSize)
> @@ -302,6 +303,7 @@
>
>      //No-residue mode
>      m_search->encodeResAndCalcRdInterCU(outTempCU, m_origYuv[depth],
> bestPredYuv, m_tmpResiYuv[depth], m_bestResiYuv[depth],
> m_tmpRecoYuv[depth], true);
> +    xCheckDQP(outTempCU);
>
>      tmp = outTempCU;
>      outTempCU = outBestCU;
> @@ -313,6 +315,7 @@
>
>      //Encode with residue
>      m_search->estimateRDInterCU(outTempCU, m_origYuv[depth], bestPredYuv,
> m_tmpResiYuv[depth], m_bestResiYuv[depth], m_tmpRecoYuv[depth], false);
> +    xCheckDQP(outTempCU);
>
>      if (outTempCU->m_totalCost < outBestCU->m_totalCost)    //Choose best
> from no-residue mode and residue mode
>      {
> @@ -485,6 +488,7 @@
>
>                  m_search->estimateRDInterCU(outBestCU, m_origYuv[depth],
> m_bestPredYuv[depth], m_tmpResiYuv[depth],
>                                              m_bestResiYuv[depth],
> m_bestRecoYuv[depth], false);
> +                xCheckDQP(outBestCU);
>
>                  if (m_bestMergeCU[depth]->m_totalCost <
> outBestCU->m_totalCost)
>                  {
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131203/d022f319/attachment.html>


More information about the x265-devel mailing list