CVS: main/libmpcodecs vd_ffmpeg.c,1.127,1.128
CVS change done by Michael Niedermayer CVS Update of /cvsroot/mplayer/main/libmpcodecs In directory mail:/var2/tmp/cvs-serv3956 Modified Files: vd_ffmpeg.c Log Message: top/bottom mb row skipping Index: vd_ffmpeg.c =================================================================== RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v retrieving revision 1.127 retrieving revision 1.128 diff -u -r1.127 -r1.128 --- vd_ffmpeg.c 6 Jun 2004 13:48:30 -0000 1.127 +++ vd_ffmpeg.c 26 Jun 2004 02:23:51 -0000 1.128 @@ -101,6 +101,8 @@ static int lavc_param_idct_algo=0; static int lavc_param_debug=0; static int lavc_param_vismv=0; +static int lavc_param_skip_top=0; +static int lavc_param_skip_bottom=0; m_option_t lavc_decode_opts_conf[]={ {"bug", &lavc_param_workaround_bugs, CONF_TYPE_INT, CONF_RANGE, -1, 999999, NULL}, @@ -111,6 +113,8 @@ {"vstats", &lavc_param_vstats, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"debug", &lavc_param_debug, CONF_TYPE_INT, CONF_RANGE, 0, 9999999, NULL}, {"vismv", &lavc_param_vismv, CONF_TYPE_INT, CONF_RANGE, 0, 9999999, NULL}, + {"st", &lavc_param_skip_top, CONF_TYPE_INT, CONF_RANGE, 0, 999, NULL}, + {"sb", &lavc_param_skip_bottom, CONF_TYPE_INT, CONF_RANGE, 0, 999, NULL}, {NULL, NULL, 0, 0, 0, 0, NULL} }; @@ -241,6 +245,10 @@ #if LIBAVCODEC_BUILD >= 4698 avctx->debug_mv= lavc_param_vismv; #endif +#if LIBAVCODEC_BUILD >= 4717 + avctx->skip_top = lavc_param_skip_top; + avctx->skip_bottom= lavc_param_skip_bottom; +#endif mp_dbg(MSGT_DECVIDEO,MSGL_DBG2,"libavcodec.size: %d x %d\n",avctx->width,avctx->height); /* AVRn stores huffman table in AVI header */ /* Pegasus MJPEG stores it also in AVI header, but it uses the common
Michael Niedermayer CVS writes:
@@ -111,6 +113,8 @@ {"vstats", &lavc_param_vstats, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"debug", &lavc_param_debug, CONF_TYPE_INT, CONF_RANGE, 0, 9999999, NULL}, {"vismv", &lavc_param_vismv, CONF_TYPE_INT, CONF_RANGE, 0, 9999999, NULL}, + {"st", &lavc_param_skip_top, CONF_TYPE_INT, CONF_RANGE, 0, 999, NULL}, + {"sb", &lavc_param_skip_bottom, CONF_TYPE_INT, CONF_RANGE, 0, 999, NULL},
Could you please document the st, sb and vstats lavd options? Thanks Diego
Hi On Wednesday 28 July 2004 02:23, Diego Biurrun wrote:
Michael Niedermayer CVS writes:
@@ -111,6 +113,8 @@ {"vstats", &lavc_param_vstats, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"debug", &lavc_param_debug, CONF_TYPE_INT, CONF_RANGE, 0, 9999999, NULL}, {"vismv", &lavc_param_vismv, CONF_TYPE_INT, CONF_RANGE, 0, 9999999, NULL}, + {"st", &lavc_param_skip_top, CONF_TYPE_INT, CONF_RANGE, 0, 999, NULL}, + {"sb", &lavc_param_skip_bottom, CONF_TYPE_INT, CONF_RANGE, 0, 999, NULL},
Could you please document the st, sb skips decoding of the given number of macroblock rows, works only with mpeg2
and vstats lavd options? some statistics, printed and stored in a vstats_*.log file
[...] -- Michael level[i]= get_vlc(); i+=get_vlc(); (violates patent EP0266049) median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]); (violates patent #5,905,535) buf[i]= qp - buf[i-1]; (violates patent #?) for more examples, see http://mplayerhq.hu/~michael/patent.html stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en
Michael Niedermayer writes:
On Wednesday 28 July 2004 02:23, Diego Biurrun wrote:
Could you please document the st, sb
skips decoding of the given number of macroblock rows, works only with mpeg2
and vstats lavd options? some statistics, printed and stored in a vstats_*.log file
Is the following a correct interpretation of what you said above? .TP .B sb=<number> Skip the given number of macroblock rows at the top (MPEG2 only). .TP .B st=<number> Skip the given number of macroblock rows at the bottom (MPEG2 only). .TP .B vstats\ Prints some statistics and stores them in ./vstats_*.log. Diego
Hi On Wednesday 11 August 2004 20:04, Diego Biurrun wrote:
Michael Niedermayer writes:
On Wednesday 28 July 2004 02:23, Diego Biurrun wrote:
Could you please document the st, sb
skips decoding of the given number of macroblock rows, works only with mpeg2
and vstats lavd options?
some statistics, printed and stored in a vstats_*.log file
Is the following a correct interpretation of what you said above?
.TP .B sb=<number> Skip the given number of macroblock rows at the top (MPEG2 only). bottom
.TP .B st=<number> Skip the given number of macroblock rows at the bottom (MPEG2 only). top
rest is perfect -- Michael level[i]= get_vlc(); i+=get_vlc(); (violates patent EP0266049) median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]); (violates patent #5,905,535) buf[i]= qp - buf[i-1]; (violates patent #?) for more examples, see http://mplayerhq.hu/~michael/patent.html stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en
Michael Niedermayer writes:
On Wednesday 11 August 2004 20:04, Diego Biurrun wrote:
Michael Niedermayer writes:
On Wednesday 28 July 2004 02:23, Diego Biurrun wrote:
Could you please document the st, sb
skips decoding of the given number of macroblock rows, works only with mpeg2
and vstats lavd options?
some statistics, printed and stored in a vstats_*.log file
Is the following a correct interpretation of what you said above?
.TP .B sb=<number> Skip the given number of macroblock rows at the top (MPEG2 only). bottom
.TP .B st=<number> Skip the given number of macroblock rows at the bottom (MPEG2 only). top
Doh, dunno how I managed to mix up those two..
rest is perfect
Committed. Diego
participants (3)
-
Diego Biurrun -
Michael Niedermayer -
syncmail@mplayerhq.hu