hap: Decode using optimal slices sizes
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 17 Jul 2015 01:07:07 +0000 (03:07 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 21 Jul 2015 10:14:25 +0000 (12:14 +0200)
commit977105407cae55876041dddbf4ce0934cdd4cd6c
tree306fb9cc7fa9c055347193456a8e0e2128a84afd
parent219b39a71a5694b1c14a07b86477f665a5b6849b
hap: Decode using optimal slices sizes

Enjoy some cache locality and use less threads.
About 5x speedup (from 60ms to 12ms to decode a 4k frame).

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