[x264-devel] commit: Fix 10l in QPRD (Jason Garrett-Glaser )
git version control
git at videolan.org
Sun Jul 26 12:04:04 CEST 2009
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Sun Jul 26 03:03:12 2009 -0700| [9d0b5e95bbf3f9077806927264add762952f77ad] | committer: Jason Garrett-Glaser
Fix 10l in QPRD
Trellis used wrong lambda with trellis=1
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=9d0b5e95bbf3f9077806927264add762952f77ad
---
encoder/analyse.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/encoder/analyse.c b/encoder/analyse.c
index c4e70b1..02265f9 100644
--- a/encoder/analyse.c
+++ b/encoder/analyse.c
@@ -268,7 +268,7 @@ static void x264_mb_analyse_init( x264_t *h, x264_mb_analysis_t *a, int i_qp )
a->i_lambda2 = x264_lambda2_tab[i_qp];
h->mb.b_trellis = h->param.analyse.i_trellis > 1 && a->i_mbrd;
- if( h->mb.b_trellis )
+ if( h->param.analyse.i_trellis )
{
h->mb.i_trellis_lambda2[0][0] = x264_trellis_lambda2_tab[0][h->mb.i_qp];
h->mb.i_trellis_lambda2[0][1] = x264_trellis_lambda2_tab[1][h->mb.i_qp];
More information about the x264-devel
mailing list