VP8: smarter prefetching
authorJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 23 Jul 2010 01:59:56 +0000 (01:59 +0000)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 23 Jul 2010 01:59:56 +0000 (01:59 +0000)
commitef38842f0bc97ce5b158f51f3e65aae4164fc6a5
tree10bf3990a481d20fe430be0478bcc4c1af272490
parent9479415e4e46e94a0a06a426c7726149dbb29564
VP8: smarter prefetching
Don't prefetch reference frames that were used less than 1/32th of the time so
far in the frame.
This helps speed up to ~2% on videos that, in many frames, make near-zero
(but not entirely zero) use of golden and/or alt-refs.
This is a very common property of videos encoded by libvpx.

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