[x265] [PATCH] Fix crash with aq-motion when aq-mode is disabled

Aruna Matheswaran aruna at multicorewareinc.com
Tue Jul 2 13:27:05 CEST 2019


Pushed into Release_3.1.

Thanks,
Aruna

On Tue, Jul 2, 2019 at 11:40 AM <gopi.satykrishna at multicorewareinc.com>
wrote:

> # HG changeset patch
> # User gopi Satykrishna Akisetty
> # Date 1561978775 -19800
> #      Mon Jul 01 16:29:35 2019 +0530
> # Node ID d389844feb030caca4e0aba9c054c6b31c568fef
> # Parent  b36c03e4e7719da0c708218192357a17f0a3d42b
> Fix crash with aq-motion when aq-mode is disabled
>
> fixes bitbucket issue #502
>
> diff -r b36c03e4e771 -r d389844feb03 source/common/lowres.cpp
> --- a/source/common/lowres.cpp  Tue Jun 18 19:49:26 2019 +0530
> +++ b/source/common/lowres.cpp  Mon Jul 01 16:29:35 2019 +0530
> @@ -71,7 +71,7 @@
>
>      size_t planesize = lumaStride * (lines + 2 * origPic->m_lumaMarginY);
>      size_t padoffset = lumaStride * origPic->m_lumaMarginY +
> origPic->m_lumaMarginX;
> -    if (!!param->rc.aqMode || !!param->rc.hevcAq)
> +    if (!!param->rc.aqMode || !!param->rc.hevcAq || !!param->bAQMotion)
>      {
>          CHECKED_MALLOC_ZERO(qpAqOffset, double, cuCountFullRes);
>          CHECKED_MALLOC_ZERO(invQscaleFactor, int, cuCountFullRes);
> diff -r b36c03e4e771 -r d389844feb03 source/test/regression-tests.txt
> --- a/source/test/regression-tests.txt  Tue Jun 18 19:49:26 2019 +0530
> +++ b/source/test/regression-tests.txt  Mon Jul 01 16:29:35 2019 +0530
> @@ -84,6 +84,7 @@
>  ParkScene_1920x1080_24.y4m,--preset medium --qp 40 --rdpenalty 2
> --tu-intra-depth 3
>  ParkScene_1920x1080_24.y4m,--preset medium --pme --tskip-fast --tskip
> --min-keyint 48 --weightb --limit-refs 3
>  ParkScene_1920x1080_24.y4m,--preset slower --no-weightp
> +ParkScene_1920x1080_24.y4m,--tune grain --aq-motion
>  RaceHorses_416x240_30.y4m,--preset superfast --no-cutree
>  RaceHorses_416x240_30.y4m,--preset medium --tskip-fast --tskip
>  RaceHorses_416x240_30.y4m,--preset slower --keyint -1 --rdoq-level 0
> --limit-tu 2
> _______________________________________________
> 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/20190702/cbe53fc9/attachment.html>


More information about the x265-devel mailing list