[FFmpeg-devel] prefetch_motion in FFMPEG

Michael Niedermayer michaelni at gmx.at
Wed Feb 29 06:40:55 CET 2012

On Wed, Feb 29, 2012 at 11:00:33AM +0530, Satish Hiremath wrote:
> Yes i benchmarked and verified on the Beagle board (500MHz). Input is mp4
> (H.264 with I,P,B) and out put is yuv4:2:0

the usefullness of prefetch depends on the hardware, cache and memory
architecture. On modern x86 it should be faster, i dont know about
how it behaves on ARM.

> There is a function call "s->dsp.prefetch()". I want to know how the
> prefetch_motion works .

the idea is to fetch things that will soon be read before to reduce
latency and stalling the CPU.


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120229/94ae2f35/attachment.asc>

More information about the ffmpeg-devel mailing list