[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.84,1.85
Michael Niedermayer CVS
michael at mplayerhq.hu
Wed Nov 12 13:31:20 CET 2003
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv2093
Modified Files:
ve_lavc.c
Log Message:
RD optimal lambda->qp support
Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- ve_lavc.c 3 Nov 2003 16:35:40 -0000 1.84
+++ ve_lavc.c 12 Nov 2003 12:30:52 -0000 1.85
@@ -134,6 +134,7 @@
static int lavc_param_cbp= 0;
static int lavc_param_mv0= 0;
static int lavc_param_noise_reduction= 0;
+static int lavc_param_qp_rd= 0;
char *lavc_param_acodec = "mp2";
int lavc_param_atag = 0;
@@ -245,6 +246,9 @@
{"mv0", &lavc_param_mv0, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_MV0, NULL},
#endif
{"nr", &lavc_param_noise_reduction, CONF_TYPE_INT, CONF_RANGE, 0, 1000000, NULL},
+#ifdef CODEC_FLAG_QP_RD
+ {"qprd", &lavc_param_qp_rd, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_QP_RD, NULL},
+#endif
{NULL, NULL, 0, 0, 0, 0, NULL}
};
#endif
@@ -511,6 +515,7 @@
lavc_venc_context->flags|= lavc_param_data_partitioning;
lavc_venc_context->flags|= lavc_param_cbp;
lavc_venc_context->flags|= lavc_param_mv0;
+ lavc_venc_context->flags|= lavc_param_qp_rd;
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