[MPlayer-cvslog] CVS: main/libmpcodecs ve_x264.c,1.33,1.34
Ivan Kalvachev CVS
syncmail at mplayerhq.hu
Tue Jul 19 19:56:53 CEST 2005
CVS change done by Ivan Kalvachev CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv13611
Modified Files:
ve_x264.c
Log Message:
add (no)visualize options
Index: ve_x264.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_x264.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- ve_x264.c 11 Jul 2005 19:02:39 -0000 1.33
+++ ve_x264.c 19 Jul 2005 17:56:51 -0000 1.34
@@ -105,6 +105,7 @@
static int psnr = 0;
static int log_level = 2;
static int turbo = 0;
+static int visualize = 0;
m_option_t x264encopts_conf[] = {
{"bitrate", &bitrate, CONF_TYPE_INT, CONF_RANGE, 0, 24000000, NULL},
@@ -167,6 +168,8 @@
{"nopsnr", &psnr, CONF_TYPE_FLAG, 0, 1, 0, NULL},
{"log", &log_level, CONF_TYPE_INT, CONF_RANGE, -1, 3, NULL},
{"turbo", &turbo, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL},
+ {"visualize", &visualize, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+ {"novisualize", &visualize, CONF_TYPE_FLAG, 0, 1, 0, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}
};
@@ -255,6 +258,7 @@
mod->param.i_level_idc = level_idc;
mod->param.analyse.b_psnr = psnr;
mod->param.i_log_level = log_level;
+ mod->param.b_visualize = visualize;
mod->param.vui.i_sar_width = d_width*height;
mod->param.vui.i_sar_height = d_height*width;
mod->param.i_threads = threads;
More information about the MPlayer-cvslog
mailing list