[Mplayer-cvslog] CVS: main/libmpcodecs ve_xvid.c,1.23,1.24

Rémi Guyomarch CVS rguyom at mplayerhq.hu
Sun Apr 6 17:46:12 CEST 2003


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

Modified Files:
	ve_xvid.c 
Log Message:

+ bf_threshold


Index: ve_xvid.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_xvid.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ve_xvid.c	4 Apr 2003 20:45:05 -0000	1.23
+++ ve_xvid.c	6 Apr 2003 15:46:05 -0000	1.24
@@ -99,6 +99,7 @@
 static int xvidenc_max_bframes = 0;
 static int xvidenc_bquant_ratio = 150;
 static int xvidenc_bquant_offset = 100;
+static int xvidenc_bf_threshold = 0;
 static int xvidenc_gmc = 0;
 static int xvidenc_chroma_me = 0;
 static int xvidenc_chroma_opt = 0;
@@ -139,6 +140,7 @@
     { "max_bframes", &xvidenc_max_bframes, CONF_TYPE_INT, CONF_RANGE, 0, 4, NULL},
     { "bquant_ratio", &xvidenc_bquant_ratio, CONF_TYPE_INT, CONF_RANGE, 0, 1000, NULL},
     { "bquant_offset", &xvidenc_bquant_offset, CONF_TYPE_INT, CONF_RANGE, -1000, 1000, NULL},
+    { "bf_threshold", &xvidenc_bf_threshold, CONF_TYPE_INT, CONF_RANGE, -255, 255, NULL},
     { "reduced", &xvidenc_reduced, CONF_TYPE_FLAG, 0, 0, 1, NULL},
     { "gmc", &xvidenc_gmc, CONF_TYPE_FLAG, 0, 0, 1, NULL},
     { "chroma_me", &xvidenc_chroma_me, CONF_TYPE_FLAG, 0, 0, 1, NULL},
@@ -272,6 +274,7 @@
     if (xvidenc_interlacing)
 	fp->enc_frame.general |= XVID_INTERLACING;
 #ifdef XVID_API_UNSTABLE
+    fp->enc_frame.bframe_threshold = xvidenc_bf_threshold;
     if (xvidenc_lumi_mask)
 	fp->enc_frame.general |= XVID_LUMIMASKING;
     if (xvidenc_qpel) {



More information about the MPlayer-cvslog mailing list