<div dir="ltr">Hi Mateusz, <div><br></div><div>Thanks for the suggestion. CU-tree and AQ-mode represent the temporal and spatial domain based adaptive quantization algorithms respectively. The HEVC-AQ is our experimental feature which might be coupled with CU Tree in future. </div><div>In this aspect, we will really appreciate any contribution from your side. Hence, if you have any patch regarding this, don't hesitate to share with us. </div><div><br clear="all"><div><div dir="ltr" class="m_7447941836616885349gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Thanks,</div><div dir="ltr"><span></span><span></span>Kalyan Goswami, PhD</div><div dir="ltr"><span style="font-size:12.8px">Video Architect @ MulticoreWare</span></div><div dir="ltr"><div><a href="http://www.multicorewareinc.com/" target="_blank">http:</a><a href="http://www.multicorewareinc.com/" style="font-size:12.8px" target="_blank">//www.multicorewareinc.com</a></div><div><span style="font-size:12.8px">+91 9884989331</span><br></div><div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 31, 2018 at 5:55 AM Mateusz <<a href="mailto:mateuszb@poczta.onet.pl" target="_blank">mateuszb@poczta.onet.pl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">W dniu 28.12.2018 o 06:30, <a href="mailto:pooja@multicorewareinc.com" target="_blank">pooja@multicorewareinc.com</a> pisze:<br>
> diff -r 129416ec0479 -r 3cd0b5ed0b91 source/encoder/encoder.cpp<br>
> --- a/source/encoder/encoder.cpp Fri Dec 28 09:03:26 2018 +0530<br>
> +++ b/source/encoder/encoder.cpp Thu Dec 27 14:43:54 2018 +0530<br>
> @@ -2839,6 +2839,12 @@<br>
> if (p->rc.aqMode == X265_AQ_NONE && p->rc.cuTree == 0)<br>
> p->rc.aqStrength = 0;<br>
> <br>
> + if (p->rc.hevcAq && p->rc.aqMode)<br>
> + {<br>
> + p->rc.aqMode = X265_AQ_NONE;<br>
> + x265_log(p, X265_LOG_WARNING, "hevc-aq enabled, disabling other aq-modes\n");<br>
> + }<br>
<br>
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<br>
[...] = (m_param->rc.cuTree && !m_param->rc.hevcAq) ? [...]<br>
There are places that the part '&& !m_param->rc.hevcAq' is missing.<br>
<br>
Regards,<br>
Mateusz<br>
<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div></div>