[x265] [PATCH] warn out saying that limitTU=3 or 4 with AVCINFO produces inconsistent output

Ashok Kumar Mishra ashok at multicorewareinc.com
Thu Dec 21 10:21:40 CET 2017


On Thu, Dec 21, 2017 at 9:12 AM, <santhoshini at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Santhoshini Sekar <santhoshini at multicorewareinc.com>
> # Date 1513827586 -19800
> #      Thu Dec 21 09:09:46 2017 +0530
> # Node ID 61d829f6d823b14242022a40737f2453865e8937
> # Parent  32a2cd5926ed3bc64fc5665f3ecc20e9b371cee2
> warn out saying that limitTU=3 or 4 with AVCINFO produces inconsistent
> output.
> Set mincusize to 8  when it is not 8 for MVtype=AVCINFO as AVCINFO expects
> so
>
> diff --git a/source/encoder/encoder.cpp b/source/encoder/encoder.cpp
> --- a/source/encoder/encoder.cpp
> +++ b/source/encoder/encoder.cpp
> @@ -2449,6 +2449,18 @@
>          this->m_externalFlush = true;
>      else
>          this->m_externalFlush = false;
> +
> +    if (p->bMVType == AVC_INFO && (p->limitTU == 3 || p->limitTU == 4))
> +    {
> +        x265_log(p, X265_LOG_WARNING, "limit TU = 3 or 4 with MVType
> AVCINFO produces inconsistent output\n");
> +    }
> +
> +    if (p->bMVType == AVC_INFO && p->minCUSize != 8)
> +    {
> +        p->minCUSize = 8;
> +        x265_log(p, X265_LOG_WARNING, "Setting minCuSize = 8, AVCINFO
> expects 8x8 blocks\n");
> +    }
> +
>      if (p->keyframeMax < 0)
>      {
>          /* A negative max GOP size indicates the user wants only one I
> frame at
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
>
Pushed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20171221/7321c8fe/attachment-0001.html>


More information about the x265-devel mailing list