summaryrefslogtreecommitdiff
path: root/libswscale/rgb2rgb_template.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-08-08 15:18:48 +0000
committerDiego Biurrun <diego@biurrun.de>2009-08-08 15:18:48 +0000
commit0bf18ed32d608204e6e852c23b61f21118d7cb1a (patch)
treecb9fdbbef2421323e8b26acdac8a6a5caf277b72 /libswscale/rgb2rgb_template.c
parent188842ef7a79fbfbc5d53561b8c828edf3ace8b0 (diff)
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.c6
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
}
}