[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.26,1.27
Michael Niedermayer
michael at mplayerhq.hu
Fri Aug 30 02:38:59 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv4895
Modified Files:
ve_lavc.c
Log Message:
dct selection support
Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- ve_lavc.c 28 Aug 2002 22:45:44 -0000 1.26
+++ ve_lavc.c 30 Aug 2002 00:38:42 -0000 1.27
@@ -85,6 +85,7 @@
static int lavc_param_rc_min_rate=0;
static float lavc_param_rc_initial_cplx=0;
static int lavc_param_mpeg_quant=0;
+static int lavc_param_fdct=0;
#include "cfgparser.h"
@@ -138,6 +139,9 @@
{"vrc_buf_aggressivity", &lavc_param_rc_buffer_aggressivity, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 99.0, NULL},
{"vrc_init_cplx", &lavc_param_rc_initial_cplx, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 9999999.0, NULL},
#endif
+#if LIBAVCODEC_BUILD >= 4621
+ {"vfdct", &lavc_param_fdct, CONF_TYPE_INT, CONF_RANGE, 0, 10, NULL},
+#endif
{NULL, NULL, 0, 0, 0, 0, NULL}
};
#endif
@@ -209,6 +213,7 @@
lavc_venc_context.rc_buffer_size= lavc_param_rc_buffer_size*1000;
lavc_venc_context.rc_buffer_aggressivity= lavc_param_rc_buffer_aggressivity;
lavc_venc_context.rc_initial_cplx= lavc_param_rc_initial_cplx;
+
p= lavc_param_rc_override_string;
for(i=0; p; i++){
int start, end, q;
@@ -238,7 +243,11 @@
#if LIBAVCODEC_BUILD >= 4619
lavc_venc_context.mpeg_quant=lavc_param_mpeg_quant;
#endif
-
+
+#if LIBAVCODEC_BUILD >= 4621
+ lavc_venc_context.dct_algo= lavc_param_fdct;
+#endif
+
/* keyframe interval */
if (lavc_param_keyint >= 0) /* != -1 */
lavc_venc_context.gop_size = lavc_param_keyint;
More information about the MPlayer-cvslog
mailing list