]> granicus.if.org Git - libx264/commitdiff
change default direct mode to spatial
authorLoren Merritt <pengvado@videolan.org>
Sun, 5 Mar 2006 06:59:06 +0000 (06:59 +0000)
committerLoren Merritt <pengvado@videolan.org>
Sun, 5 Mar 2006 06:59:06 +0000 (06:59 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@456 df754926-b1dd-0310-bc7b-ec298dee348c

common/common.c

index 927eeb4885788e25921f57aa9f37542e78a8d2e6..5f560d7874f6ba92dc258939bcf2117f8480bce3 100644 (file)
@@ -81,7 +81,7 @@ void    x264_param_default( x264_param_t *param )
     param->i_cabac_init_idc = 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.i_vbv_max_bitrate = 0;
     param->rc.i_vbv_buffer_size = 0;
@@ -113,7 +113,7 @@ void    x264_param_default( x264_param_t *param )
     param->analyse.intra = X264_ANALYSE_I4x4 | X264_ANALYSE_I8x8;
     param->analyse.inter = X264_ANALYSE_I4x4 | X264_ANALYSE_I8x8
                          | 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_range = 16;
     param->analyse.i_subpel_refine = 5;