[MPlayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.121,1.122

Guillaume Poirier CVS syncmail at mplayerhq.hu
Sun Dec 25 22:29:21 CET 2005


CVS change done by Guillaume Poirier CVS

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

Modified Files:
	ve_lavc.c 
Log Message:
support downscaling frames for dynamic b frame decission

Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -r1.121 -r1.122
--- ve_lavc.c	29 Nov 2005 04:16:46 -0000	1.121
+++ ve_lavc.c	25 Dec 2005 21:29:18 -0000	1.122
@@ -156,6 +156,7 @@
 static int lavc_param_dc_precision = 8;
 static int lavc_param_threads= 1;
 static int lavc_param_turbo = 0;
+static int lavc_param_brd_scale = 0;
 
 
 char *lavc_param_acodec = "mp2";
@@ -310,6 +311,7 @@
         {"nssew", &lavc_param_nssew, CONF_TYPE_INT, CONF_RANGE, 0, 1000000, NULL},
 	{"threads", &lavc_param_threads, CONF_TYPE_INT, CONF_RANGE, 1, 8, NULL},
 	{"turbo", &lavc_param_turbo, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+	{"brd_scale", &lavc_param_brd_scale, CONF_TYPE_INT, CONF_RANGE, 0, 10, NULL},
 	{NULL, NULL, 0, 0, 0, 0, NULL}
 };
 #endif
@@ -622,6 +624,7 @@
     lavc_venc_context->intra_dc_precision = lavc_param_dc_precision - 8;
 #endif
     lavc_venc_context->prediction_method= lavc_param_prediction_method;
+    lavc_venc_context->brd_scale = lavc_param_brd_scale;
     switch(lavc_param_format)
     {
 	case IMGFMT_YV12:




More information about the MPlayer-cvslog mailing list