Smarter VP8 prefetching
authorJason Garrett-Glaser <darkshikari@gmail.com>
Thu, 22 Jul 2010 23:03:08 +0000 (23:03 +0000)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Thu, 22 Jul 2010 23:03:08 +0000 (23:03 +0000)
commitc4211046d289cbc722ef51fda7470a70bdc698cb
tree538e2659627e760f57a8059ba837ce51ce6b3d82
parent5b9eb68749ea75a179c52c6a51354bb3ca69be35
Smarter VP8 prefetching
Prefetch all refs (including altref), but only if they've been used so far this
frame.
~2.5% faster overall.

TODO: Do something even smarter, like using how often each ref has been used
so far, so that a couple blocks of a rarely-used ref don't force us to prefetch
it.

Originally committed as revision 24444 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vp8.c