utvideoenc: Enable support for multiple slices and use them
authorJan Ekström <jeebjp@gmail.com>
Fri, 14 Feb 2014 11:48:56 +0000 (12:48 +0100)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Fri, 14 Feb 2014 15:09:39 +0000 (15:09 +0000)
commit3fbad00714698f59c6326edfcc63db87f525e7c0
tree1adb354fc8eb0729e3eecbf691f25df98556b110
parent4127e6aeb6e9ef53f5acf06e99c06f4b2c0cce34
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: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/utvideoenc.c
tests/fate/utvideo.mak