Mercurial > libavcodec.hg
diff dsputil.c @ 3215:06f98047ff26 libavcodec
prefetch pixels for future motion compensation. 2-5% faster h264.
author | lorenm |
---|---|
date | Thu, 23 Mar 2006 20:16:36 +0000 |
parents | 1651e69b9f7a |
children | c2c29be6282e |
line wrap: on
line diff
--- a/dsputil.c Wed Mar 22 22:08:28 2006 +0000 +++ b/dsputil.c Thu Mar 23 20:16:36 2006 +0000 @@ -3773,6 +3773,8 @@ dest[0] = cm[dest[0] + ((block[0] + 4)>>3)]; } +static void just_return() { return; } + /* init static data */ void dsputil_static_init(void) { @@ -4054,6 +4056,8 @@ c->inner_add_yblock = ff_snow_inner_add_yblock; #endif + c->prefetch= just_return; + #ifdef HAVE_MMX dsputil_init_mmx(c, avctx); #endif