[x264-devel] commit: Allow 8x8dct+cavlc+lossless with subme>=6 (Jason Garrett-Glaser )
git at videolan.org
git at videolan.org
Wed Dec 15 04:19:33 CET 2010
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Sat Dec 11 03:48:59 2010 -0800| [78e3bc95f6c8daef4222e6f231b88dfa7edbccb6] | committer: Jason Garrett-Glaser
Allow 8x8dct+cavlc+lossless with subme>=6
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=78e3bc95f6c8daef4222e6f231b88dfa7edbccb6
---
encoder/encoder.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/encoder/encoder.c b/encoder/encoder.c
index 3c2d3d7..ab66661 100644
--- a/encoder/encoder.c
+++ b/encoder/encoder.c
@@ -521,8 +521,8 @@ static int x264_validate_parameters( x264_t *h )
h->param.analyse.i_noise_reduction = 0;
h->param.analyse.b_psy = 0;
h->param.i_bframe = 0;
- /* 8x8dct is not useful at all in CAVLC lossless */
- if( !h->param.b_cabac )
+ /* 8x8dct is not useful without RD in CAVLC lossless */
+ if( !h->param.b_cabac && h->param.analyse.i_subpel_refine < 6 )
h->param.analyse.b_transform_8x8 = 0;
}
if( h->param.rc.i_rc_method == X264_RC_CQP )
More information about the x264-devel
mailing list