[MPlayer-cvslog] CVS: main/libmpcodecs ve_x264.c,1.16,1.17

Loren Merritt CVS syncmail at mplayerhq.hu
Sun Feb 20 03:21:28 CET 2005


CVS change done by Loren Merritt CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv20166/libmpcodecs

Modified Files:
	ve_x264.c 
Log Message:
x264: expose option "level_idc".
patch by Jeff Clagg <snacky at ikaruga dot co dot uk>.


Index: ve_x264.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_x264.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ve_x264.c	18 Feb 2005 03:55:27 -0000	1.16
+++ ve_x264.c	20 Feb 2005 02:21:26 -0000	1.17
@@ -88,6 +88,7 @@
 static float complexity_blur = 20;
 static char *rc_eq = "blurCplx^(1-qComp)";
 static int subq = 5;
+static int level_idc = 40;
 static int psnr = 0;
 static int log_level = 2;
 
@@ -127,6 +128,7 @@
     {"qblur", &qblur, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL},
     {"cplx_blur", &complexity_blur, CONF_TYPE_FLOAT, CONF_RANGE, 0, 999, NULL},
     {"subq", &subq, CONF_TYPE_INT, CONF_RANGE, 1, 5, NULL},
+    {"level_idc", &level_idc, CONF_TYPE_INT, CONF_RANGE, 10, 51, NULL},
     {"psnr", &psnr, CONF_TYPE_FLAG, 0, 0, 1, NULL},
     {"nopsnr", &psnr, CONF_TYPE_FLAG, 0, 1, 0, NULL},
     {"log", &log_level, CONF_TYPE_INT, CONF_RANGE, -1, 3, NULL},
@@ -218,6 +220,7 @@
     mod->param.i_height = height;
     mod->param.i_fps_num = mod->mux->h.dwRate;
     mod->param.i_fps_den = mod->mux->h.dwScale;
+    mod->param.i_level_idc = level_idc;
     mod->param.analyse.b_psnr = psnr;
     mod->param.i_log_level = log_level;
     mod->param.vui.i_sar_width = d_width*height;




More information about the MPlayer-cvslog mailing list