diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-08-08 15:18:48 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-08-08 15:18:48 +0000 |
commit | 0bf18ed32d608204e6e852c23b61f21118d7cb1a (patch) | |
tree | cb9fdbbef2421323e8b26acdac8a6a5caf277b72 /libswscale/rgb2rgb_template.c | |
parent | 188842ef7a79fbfbc5d53561b8c828edf3ace8b0 (diff) | |
download | ffmpeg-0bf18ed32d608204e6e852c23b61f21118d7cb1a.tar.gz |
Remove disabled crufty code.
Originally committed as revision 29482 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/rgb2rgb_template.c')
-rw-r--r-- | libswscale/rgb2rgb_template.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libswscale/rgb2rgb_template.c b/libswscale/rgb2rgb_template.c index cd7fbae292..3d1fb8aea6 100644 --- a/libswscale/rgb2rgb_template.c +++ b/libswscale/rgb2rgb_template.c @@ -1258,10 +1258,6 @@ static inline void RENAME(rgb15to32)(const uint8_t *src, uint8_t *dst, long src_ #endif while (s < end) { -#if 0 //slightly slower on Athlon - int bgr= *s++; - *((uint32_t*)d)++ = ((bgr&0x1F)<<3) + ((bgr&0x3E0)<<6) + ((bgr&0x7C00)<<9); -#else register uint16_t bgr; bgr = *s++; #if HAVE_BIGENDIAN @@ -1275,8 +1271,6 @@ static inline void RENAME(rgb15to32)(const uint8_t *src, uint8_t *dst, long src_ *d++ = (bgr&0x7C00)>>7; *d++ = 255; #endif - -#endif } } |