@
Boulder
For X265_AQ_EDGE the calcul is:
Code:
inclinedEdge = curFrame->m_lowres.edgeInclined[blockXY];
qp_adj = curFrame->m_lowres.qpCuTreeOffset[blockXY];
if(inclinedEdge && (qp_adj - avg_adj > 0))
qp_adj = ((strength + AQ_EDGE_BIAS) * (qp_adj - avg_adj));
else
qp_adj = strength * (qp_adj - avg_adj);
So, you want something that can change the value of
strength when aq-auto is enabled ?
If it's that, 2 options. Somethings like
strength2 = strength*coeff or
strength2 = strength + bias with
coeff=1 or
bias=0 when
aq-auto is disabled and use
strength2 instead of
strength in calcul.
And if i add some kind of AQ4 specific parameter, it can be applied to AQ 4 mode, with or without aq-auto enable, if default value keeps original behavior.