diff options
author | Stefan Gehrer <stefan.gehrer@gmx.de> | 2006-07-29 08:45:33 +0000 |
---|---|---|
committer | Stefan Gehrer <stefan.gehrer@gmx.de> | 2006-07-29 08:45:33 +0000 |
commit | 595e7bd94029713d87e3e4943b40676df1b2d0a0 (patch) | |
tree | 0c30f5202a46e09763827473c61e32e5a509b1ee /libavcodec/cavsdsp.c | |
parent | 09be55df9c78c494d597d1a073f4f9ccc0e55cfc (diff) | |
download | ffmpeg-595e7bd94029713d87e3e4943b40676df1b2d0a0.tar.gz |
some MMX optimizations for the CAVS decoder
Originally committed as revision 5846 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cavsdsp.c')
-rw-r--r-- | libavcodec/cavsdsp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/cavsdsp.c b/libavcodec/cavsdsp.c index 27586b60dc..d2517d9e9d 100644 --- a/libavcodec/cavsdsp.c +++ b/libavcodec/cavsdsp.c @@ -246,6 +246,7 @@ static void cavs_idct8_add_c(uint8_t *dst, DCTELEM *block, int stride) { dst[i + 6*stride] = cm[ dst[i + 6*stride] + ((b1 - b5) >> 7)]; dst[i + 7*stride] = cm[ dst[i + 7*stride] + ((b0 - b4) >> 7)]; } + memset(block,0,64*sizeof(DCTELEM)); } /***************************************************************************** |