[x264-devel] commit: CQP is incompatible with AQ (Loren Merritt )
git version control
git at videolan.org
Wed Jun 4 00:53:49 CEST 2008
x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Mon Jun 2 08:57:59 2008 -0600| [c4c85baeb5f374e9e1ca9b32954d5a4974cef043]
CQP is incompatible with AQ
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=c4c85baeb5f374e9e1ca9b32954d5a4974cef043
---
encoder/encoder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/encoder/encoder.c b/encoder/encoder.c
index dd74bdc..518e960 100644
--- a/encoder/encoder.c
+++ b/encoder/encoder.c
@@ -373,7 +373,6 @@ static int x264_validate_parameters( x264_t *h )
h->param.analyse.b_fast_pskip = 0;
h->param.analyse.i_noise_reduction = 0;
h->param.analyse.i_subpel_refine = x264_clip3( h->param.analyse.i_subpel_refine, 1, 6 );
- h->param.rc.i_aq_mode = 0;
}
if( h->param.rc.i_rc_method == X264_RC_CQP )
{
@@ -382,6 +381,7 @@ static int x264_validate_parameters( x264_t *h )
float qp_b = qp_p + 6*log(h->param.rc.f_pb_factor)/log(2);
h->param.rc.i_qp_min = x264_clip3( (int)(X264_MIN3( qp_p, qp_i, qp_b )), 0, 51 );
h->param.rc.i_qp_max = x264_clip3( (int)(X264_MAX3( qp_p, qp_i, qp_b ) + .999), 0, 51 );
+ h->param.rc.i_aq_mode = 0;
}
if( ( h->param.i_width % 16 || h->param.i_height % 16 )
More information about the x264-devel
mailing list