Commit dde9e9bc authored by Fiona Glaser's avatar Fiona Glaser

Allow 8x8dct+cavlc+lossless with subme>=6

parent 72815377
...@@ -521,8 +521,8 @@ static int x264_validate_parameters( x264_t *h ) ...@@ -521,8 +521,8 @@ static int x264_validate_parameters( x264_t *h )
h->param.analyse.i_noise_reduction = 0; h->param.analyse.i_noise_reduction = 0;
h->param.analyse.b_psy = 0; h->param.analyse.b_psy = 0;
h->param.i_bframe = 0; h->param.i_bframe = 0;
/* 8x8dct is not useful at all in CAVLC lossless */ /* 8x8dct is not useful without RD in CAVLC lossless */
if( !h->param.b_cabac ) if( !h->param.b_cabac && h->param.analyse.i_subpel_refine < 6 )
h->param.analyse.b_transform_8x8 = 0; h->param.analyse.b_transform_8x8 = 0;
} }
if( h->param.rc.i_rc_method == X264_RC_CQP ) if( h->param.rc.i_rc_method == X264_RC_CQP )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment