[MPlayer-cvslog] CVS: main/libmpcodecs ve_x264.c,1.37,1.38

Loren Merritt CVS syncmail at mplayerhq.hu
Fri Nov 4 02:01:22 CET 2005


CVS change done by Loren Merritt CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv27395/libmpcodecs

Modified Files:
	ve_x264.c 
Log Message:
sync to x264 r360 (trellis)


Index: ve_x264.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_x264.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- ve_x264.c	24 Oct 2005 04:39:18 -0000	1.37
+++ ve_x264.c	4 Nov 2005 01:01:19 -0000	1.38
@@ -102,6 +102,7 @@
 static int subq = 5;
 static int me_method = 2;
 static int me_range = 16;
+static int trellis = 1;
 static int threads = 1;
 static int level_idc = 40;
 static int psnr = 0;
@@ -182,6 +183,7 @@
     {"subq", &subq, CONF_TYPE_INT, CONF_RANGE, 1, 6, NULL},
     {"me", &me_method, CONF_TYPE_INT, CONF_RANGE, 1, 4, NULL},
     {"me_range", &me_range, CONF_TYPE_INT, CONF_RANGE, 4, 64, NULL},
+    {"trellis", &trellis, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL},
     {"level_idc", &level_idc, CONF_TYPE_INT, CONF_RANGE, 10, 51, NULL},
     {"threads", &threads, CONF_TYPE_INT, CONF_RANGE, 1, 4, NULL},
     {"psnr", &psnr, CONF_TYPE_FLAG, 0, 0, 1, NULL},
@@ -289,6 +291,7 @@
     mod->param.analyse.i_chroma_qp_offset = chroma_qp_offset;
     mod->param.analyse.b_chroma_me = chroma_me;
     mod->param.analyse.b_mixed_references = mixed_references;
+    mod->param.analyse.i_trellis = trellis;
 
     mod->param.i_width = width;
     mod->param.i_height = height;
@@ -347,6 +350,7 @@
             mod->param.analyse.i_subpel_refine = max( min( 3, subq - 1 ), 1 );
             mod->param.analyse.inter &= ( ~X264_ANALYSE_PSUB8x8 );
             mod->param.analyse.inter &= ( ~X264_ANALYSE_BSUB16x16 );
+            mod->param.analyse.i_trellis = 0;
         }
         else if(turbo == 2)
         {
@@ -356,6 +360,7 @@
             mod->param.analyse.inter = 0;
             mod->param.analyse.b_transform_8x8 = 0;
             mod->param.analyse.b_weighted_bipred = 0;
+            mod->param.analyse.i_trellis = 0;
         }
         mod->param.rc.b_stat_write = 1;
         mod->param.rc.b_stat_read = 0;




More information about the MPlayer-cvslog mailing list