Commit 126ccb33 authored by Loren Merritt's avatar Loren Merritt

change default direct mode to spatial



git-svn-id: svn://svn.videolan.org/x264/trunk@456 df754926-b1dd-0310-bc7b-ec298dee348c
parent 39c6d082
...@@ -81,7 +81,7 @@ void x264_param_default( x264_param_t *param ) ...@@ -81,7 +81,7 @@ void x264_param_default( x264_param_t *param )
param->i_cabac_init_idc = 0; param->i_cabac_init_idc = 0;
param->rc.b_cbr = 0; param->rc.b_cbr = 0;
param->rc.i_bitrate = 1000; param->rc.i_bitrate = 0;
param->rc.f_rate_tolerance = 1.0; param->rc.f_rate_tolerance = 1.0;
param->rc.i_vbv_max_bitrate = 0; param->rc.i_vbv_max_bitrate = 0;
param->rc.i_vbv_buffer_size = 0; param->rc.i_vbv_buffer_size = 0;
...@@ -113,7 +113,7 @@ void x264_param_default( x264_param_t *param ) ...@@ -113,7 +113,7 @@ void x264_param_default( x264_param_t *param )
param->analyse.intra = X264_ANALYSE_I4x4 | X264_ANALYSE_I8x8; param->analyse.intra = X264_ANALYSE_I4x4 | X264_ANALYSE_I8x8;
param->analyse.inter = X264_ANALYSE_I4x4 | X264_ANALYSE_I8x8 param->analyse.inter = X264_ANALYSE_I4x4 | X264_ANALYSE_I8x8
| X264_ANALYSE_PSUB16x16 | X264_ANALYSE_BSUB16x16; | X264_ANALYSE_PSUB16x16 | X264_ANALYSE_BSUB16x16;
param->analyse.i_direct_mv_pred = X264_DIRECT_PRED_TEMPORAL; param->analyse.i_direct_mv_pred = X264_DIRECT_PRED_SPATIAL;
param->analyse.i_me_method = X264_ME_HEX; param->analyse.i_me_method = X264_ME_HEX;
param->analyse.i_me_range = 16; param->analyse.i_me_range = 16;
param->analyse.i_subpel_refine = 5; param->analyse.i_subpel_refine = 5;
......
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