OSDN Git Service

Extend the slice filter to make it issue slice height values randomly
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 13 Mar 2010 10:41:25 +0000 (10:41 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 13 Mar 2010 10:41:25 +0000 (10:41 +0000)
commitec7ab610d51508344273dbc38fec4ab6034bf1e2
tree2b801854ed8236e269c616bc1531b70e1658577e
parent14268254c8b3ab1c82b839af3644a43f0d7260f7
Extend the slice filter to make it issue slice height values randomly
choosen between 8 and 32 when the supplied parameter is the string
"random".

This is useful for testing the slice support, but it is not supposed
to be used for other purposes and this interface may change in the
future, thus it is not documented.

The randomization algorithm adopted is the standard Numerical Recipes
LCG.

Originally committed as revision 22505 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavfilter/vf_slicify.c