[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.74,1.75

Michael Niedermayer CVS michael at mplayerhq.hu
Wed Oct 1 00:32:18 CEST 2003


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

Modified Files:
	ve_lavc.c 
Log Message:
rd cbp


Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- ve_lavc.c	19 Sep 2003 18:45:02 -0000	1.74
+++ ve_lavc.c	30 Sep 2003 22:32:13 -0000	1.75
@@ -129,6 +129,7 @@
 static int lavc_param_context= 0;
 static char *lavc_param_intra_matrix = NULL;
 static char *lavc_param_inter_matrix = NULL;
+static int lavc_param_cbp= 0;
 
 #include "m_option.h"
 
@@ -224,6 +225,9 @@
 	{"intra_matrix", &lavc_param_intra_matrix, CONF_TYPE_STRING, 0, 0, 0, NULL},
 	{"inter_matrix", &lavc_param_inter_matrix, CONF_TYPE_STRING, 0, 0, 0, NULL},
 #endif
+#if LIBAVCODEC_BUILD >= 4681
+	{"cbp", &lavc_param_cbp, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_CBP_RD, NULL},
+#endif
 	{NULL, NULL, 0, 0, 0, 0, NULL}
 };
 #endif
@@ -466,6 +470,7 @@
     lavc_venc_context->flags|= lavc_param_umv;
     lavc_venc_context->flags|= lavc_param_v4mv ? CODEC_FLAG_4MV : 0;
     lavc_venc_context->flags|= lavc_param_data_partitioning;
+    lavc_venc_context->flags|= lavc_param_cbp;
     if(lavc_param_gray) lavc_venc_context->flags|= CODEC_FLAG_GRAY;
 
     if(lavc_param_normalize_aqp) lavc_venc_context->flags|= CODEC_FLAG_NORMALIZE_AQP;



More information about the MPlayer-cvslog mailing list