utvideoenc: Enable support for multiple slices and use them
authorJan Ekström <jeebjp@gmail.com>
Fri, 14 Feb 2014 12:48:19 +0000 (14:48 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 14 Feb 2014 20:38:00 +0000 (21:38 +0100)
commitefec857c9f70113bdbcc18e03a5bcadcdca9f9a1
tree7153b5a386fd08788b9baf59c8e648f263538715
parent92225877cee1b6327da3b28b624a35e1ca4d112f
utvideoenc: Enable support for multiple slices and use them

The official Ut Video decoder only threads with slices, thus until
now any files encoded by the libavcodec encoder have only been
decodable with a single thread. The default slice count is now
set to subsampled_height / 120.

Also sets slices to 1 for the Ut Video encoder tests to keep them
green.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utvideoenc.c
tests/fate/utvideo.mak