Mercurial > mplayer.hg
diff libmpcodecs/native/nuppelvideo.c @ 23457:a124f3abc1ec
Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization.
author | reimar |
---|---|
date | Tue, 05 Jun 2007 14:27:54 +0000 |
parents | fc27312ae599 |
children | 1318e956c092 |
line wrap: on
line diff
--- a/libmpcodecs/native/nuppelvideo.c Tue Jun 05 14:12:37 2007 +0000 +++ b/libmpcodecs/native/nuppelvideo.c Tue Jun 05 14:27:54 2007 +0000 @@ -67,7 +67,7 @@ switch(encodedh->comptype) { case '0': /* raw YUV420 */ - memcpy(decoded, encoded + 12, out_len); + fast_memcpy(decoded, encoded + 12, out_len); break; case '1': /* RTJpeg */ RTjpeg_decompressYUV420 ( ( __s8 * ) encoded + 12, decoded ); @@ -102,13 +102,13 @@ break; case 'L': /* copy last frame */ #ifdef KEEP_BUFFER - memcpy ( decoded, previous_buffer, width*height*3/2); + fast_memcpy ( decoded, previous_buffer, width*height*3/2); #endif break; } #ifdef KEEP_BUFFER - memcpy(previous_buffer, decoded, width*height*3/2); + fast_memcpy(previous_buffer, decoded, width*height*3/2); #endif break; }