[x265] [PATCH] Fix crash with aq-motion when aq-mode is disabled
gopi.satykrishna at multicorewareinc.com
gopi.satykrishna at multicorewareinc.com
Tue Jul 2 08:09:50 CEST 2019
# 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265.patch
Type: text/x-patch
Size: 1670 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20190702/b4b9e983/attachment.bin>
More information about the x265-devel
mailing list