[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.63,1.64

Michael Niedermayer CVS michael at mplayerhq.hu
Fri Jun 13 23:35:27 CEST 2003


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv23512

Modified Files:
	ve_lavc.c 
Log Message:
context model size & coder type options for FFV1


Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- ve_lavc.c	9 Jun 2003 02:31:04 -0000	1.63
+++ ve_lavc.c	13 Jun 2003 21:35:02 -0000	1.64
@@ -125,6 +125,8 @@
 static int lavc_param_ibias= FF_DEFAULT_QUANT_BIAS;
 static int lavc_param_pbias= FF_DEFAULT_QUANT_BIAS;
 #endif
+static int lavc_param_coder= 0;
+static int lavc_param_context= 0;
 
 #include "cfgparser.h"
 
@@ -211,6 +213,10 @@
 	{"ibias", &lavc_param_ibias, CONF_TYPE_INT, CONF_RANGE, -512, 512, NULL},
 	{"pbias", &lavc_param_pbias, CONF_TYPE_INT, CONF_RANGE, -512, 512, NULL},
 #endif
+#if LIBAVCODEC_BUILD >= 4669
+	{"coder", &lavc_param_coder, CONF_TYPE_INT, CONF_RANGE, 0, 10, NULL},
+	{"context", &lavc_param_context, CONF_TYPE_INT, CONF_RANGE, 0, 10, NULL},
+#endif
 	{NULL, NULL, 0, 0, 0, 0, NULL}
 };
 #endif
@@ -308,6 +314,10 @@
 #if LIBAVCODEC_BUILD >= 4663
     lavc_venc_context->intra_quant_bias= lavc_param_ibias;
     lavc_venc_context->inter_quant_bias= lavc_param_pbias;
+#endif
+#if LIBAVCODEC_BUILD >= 4669
+    lavc_venc_context->coder_type= lavc_param_coder;
+    lavc_venc_context->context_model= lavc_param_context;
 #endif
 
     p= lavc_param_rc_override_string;



More information about the MPlayer-cvslog mailing list