utvideoenc: Enable support for multiple slices and use them

Multimedia / Libav - Jan Ekström [gmail.com] - 14 February 2014 09:09 UTC

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.

3fbad00 utvideoenc: Enable support for multiple slices and use them
libavcodec/utvideoenc.c | 36 +++++++++++++++++++++++++++++++++---
tests/fate/utvideo.mak | 2 +-
2 files changed, 34 insertions(+), 4 deletions(-)

Upstream: git.libav.org


  • Share