vp8: implement sliced threading
authorDaniel Kang <daniel.d.kang@gmail.com>
Thu, 12 Jul 2012 20:07:06 +0000 (13:07 -0700)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 14 Jul 2012 18:18:54 +0000 (20:18 +0200)
commit951455c1c18d54177f281dba174078e54a835361
tree2ec094ab36756bfbede03a40194ce56f206d092c
parent17343e395250f5cb459f5fab198dcae50841b91d
vp8: implement sliced threading

Testing gives 25-30% gain on HD clips with two threads and
up to 50% gain with eight threads.

Sliced threading uses more memory than single or frame threading.

Frame threading and single threading keep the previous memory
layout.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/vp8.c
libavcodec/vp8.h