diff libswscale/rgb2rgb_template.c @ 29440:0673fad0546f

Remove disabled crufty code.
author diego
date Sat, 08 Aug 2009 15:18:48 +0000
parents 2d985cc879c9
children a4d8dee13834
line wrap: on
line diff
--- a/libswscale/rgb2rgb_template.c	Sat Aug 08 08:17:35 2009 +0000
+++ b/libswscale/rgb2rgb_template.c	Sat Aug 08 15:18:48 2009 +0000
@@ -1258,10 +1258,6 @@
 #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 @@
         *d++ = (bgr&0x7C00)>>7;
         *d++ = 255;
 #endif
-
-#endif
     }
 }