[x264-devel] commit: Fix typo in ratecontrol_summary (Jason Garrett-Glaser )
git version control
git at videolan.org
Wed Oct 7 03:27:44 CEST 2009
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Wed Sep 30 12:13:16 2009 -0700| [4f3ad6a28e1ac017103a77d135a48aaad114d262] | committer: Jason Garrett-Glaser
Fix typo in ratecontrol_summary
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=4f3ad6a28e1ac017103a77d135a48aaad114d262
---
encoder/ratecontrol.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/encoder/ratecontrol.c b/encoder/ratecontrol.c
index 9b3ca0c..a88bbe4 100644
--- a/encoder/ratecontrol.c
+++ b/encoder/ratecontrol.c
@@ -812,7 +812,7 @@ void x264_ratecontrol_summary( x264_t *h )
if( rc->b_abr && h->param.rc.i_rc_method == X264_RC_ABR && rc->cbr_decay > .9999 )
{
double base_cplx = h->mb.i_mb_count * (h->param.i_bframe ? 120 : 80);
- double mbtree_offset = h->param.rc.b_mb_tree ? (1.0-h->param.rc.f_qcompress)*12.5 : 0;
+ double mbtree_offset = h->param.rc.b_mb_tree ? (1.0-h->param.rc.f_qcompress)*13.5 : 0;
x264_log( h, X264_LOG_INFO, "final ratefactor: %.2f\n",
qscale2qp( pow( base_cplx, 1 - rc->qcompress )
* rc->cplxr_sum / rc->wanted_bits_window ) - mbtree_offset );
More information about the x264-devel
mailing list