[x265] [PATCH] analysis: allow intra mode in RD-0/4

Deepthi Nandakumar deepthi at multicorewareinc.com
Fri Jun 19 13:15:04 CEST 2015


Thanks a lot. Still reeling at how long this bug stayed alive.

Also updating docs on limit-refs to capture this behaviour.

On Fri, Jun 19, 2015 at 4:34 PM, <ashok at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Ashok Kumar Mishra<ashok at multicorewareinc.com>
> # Date 1433416219 -19800
> #      Thu Jun 04 16:40:19 2015 +0530
> # Node ID 8aa2bedda74066528cbdf1b6d7d36954a09e5b98
> # Parent  1c6de5ac38836c62230ba020ca21b35f96f659c1
> analysis: allow intra mode in RD-0/4
> Output wiil be changed for --limit-refs 0 command line
>
> diff -r 1c6de5ac3883 -r 8aa2bedda740 source/encoder/analysis.cpp
> --- a/source/encoder/analysis.cpp       Thu Jun 18 15:29:11 2015 -0500
> +++ b/source/encoder/analysis.cpp       Thu Jun 04 16:40:19 2015 +0530
> @@ -967,7 +967,7 @@
>                  if ((bTryIntra && md.bestMode->cu.getQtRootCbf(0)) ||
>                      md.bestMode->sa8dCost == MAX_INT64)
>                  {
> -                    if (splitIntra)
> +                    if (!m_param->limitReferences || splitIntra)
>                      {
>                          ProfileCounter(parentCTU,
> totalIntraCU[cuGeom.depth]);
>                          md.pred[PRED_INTRA].cu.initSubCU(parentCTU,
> cuGeom, qp);
> @@ -993,7 +993,7 @@
>
>                  if (bTryIntra || md.bestMode->sa8dCost == MAX_INT64)
>                  {
> -                    if (splitIntra)
> +                    if (!m_param->limitReferences || splitIntra)
>                      {
>                          ProfileCounter(parentCTU,
> totalIntraCU[cuGeom.depth]);
>                          md.pred[PRED_INTRA].cu.initSubCU(parentCTU,
> cuGeom, qp);
> _______________________________________________
> 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/20150619/ab32143a/attachment.html>


More information about the x265-devel mailing list