Hevc-aq works for both cases when cuTree is enabled/disabled. So, its up to the user to disable cutree with --no-cutree if needed.
Thanks. Pooja. On Mon, Dec 31, 2018 at 5:55 AM Mateusz <[email protected]> wrote: > W dniu 28.12.2018 o 06:30, [email protected] pisze: > > diff -r 129416ec0479 -r 3cd0b5ed0b91 source/encoder/encoder.cpp > > --- a/source/encoder/encoder.cpp Fri Dec 28 09:03:26 2018 +0530 > > +++ b/source/encoder/encoder.cpp Thu Dec 27 14:43:54 2018 +0530 > > @@ -2839,6 +2839,12 @@ > > if (p->rc.aqMode == X265_AQ_NONE && p->rc.cuTree == 0) > > p->rc.aqStrength = 0; > > > > + if (p->rc.hevcAq && p->rc.aqMode) > > + { > > + p->rc.aqMode = X265_AQ_NONE; > > + x265_log(p, X265_LOG_WARNING, "hevc-aq enabled, disabling other > aq-modes\n"); > > + } > > If hevc-aq doesn't use cuTree, maybe it is better to make sure that > p->rc.cuTree is 0 and simplify condition checking later > [...] = (m_param->rc.cuTree && !m_param->rc.hevcAq) ? [...] > There are places that the part '&& !m_param->rc.hevcAq' is missing. > > Regards, > Mateusz > > _______________________________________________ > x265-devel mailing list > [email protected] > https://mailman.videolan.org/listinfo/x265-devel >
_______________________________________________ x265-devel mailing list [email protected] https://mailman.videolan.org/listinfo/x265-devel
