[Mplayer-cvslog] CVS: main/libmpcodecs ve_x264.c,1.4,1.5
Ivan Kalvachev CVS
syncmail at mplayerhq.hu
Wed Sep 22 12:26:24 CEST 2004
CVS change done by Ivan Kalvachev CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv25782/libmpcodecs
Modified Files:
ve_x264.c
Log Message:
add support for subpel quality refinement option in x264.
patch by Jeff Clagg
Index: ve_x264.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_x264.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ve_x264.c 18 Sep 2004 10:10:58 -0000 1.4
+++ ve_x264.c 22 Sep 2004 10:26:21 -0000 1.5
@@ -82,6 +82,7 @@
static float qcomp = 0.6;
static float qblur = 0.5;
static char *rc_eq = "(tex^qComp)*(avgTex^(1-qComp))";
+static int subq = 1;
static int psnr = 0;
static int log_level = 2;
@@ -110,6 +111,7 @@
{"rc_eq", &rc_eq, CONF_TYPE_STRING, 0, 0, 0, NULL},
{"qcomp", &qcomp, CONF_TYPE_FLOAT, CONF_RANGE, 0, 1, NULL},
{"qblur", &qblur, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL},
+ {"subq", &subq, CONF_TYPE_INT, CONF_RANGE, 0, 5, NULL},
{"psnr", &psnr, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"log", &log_level, CONF_TYPE_INT, CONF_RANGE, -1, 3, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}
@@ -144,6 +146,7 @@
mod->param.rc.psz_rc_eq = rc_eq;
mod->param.rc.f_qcompress = qcomp;
mod->param.rc.f_qblur = qblur;
+ mod->param.analyse.i_subpel_refine = subq;
mod->param.rc.psz_stat_out = passtmpfile;
mod->param.rc.psz_stat_in = passtmpfile;
if((pass & 2) && bitrate <= 0)
More information about the MPlayer-cvslog
mailing list