diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-08 15:18:48 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-08 15:18:48 +0000 |
commit | 1407950a2f0fff343fb8b821edc09b40c2fc9b23 (patch) | |
tree | 16c808638da81c4c485456a62287620d8829c95d /libswscale/rgb2rgb_template.c | |
parent | 3b6b050e1471702176e6e0cdca96d409a89221ef (diff) | |
download | mpv-1407950a2f0fff343fb8b821edc09b40c2fc9b23.tar.bz2 mpv-1407950a2f0fff343fb8b821edc09b40c2fc9b23.tar.xz |
Remove disabled crufty code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29482 b3059339-0415-0410-9bf9-f77b7e298cf2
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 } } |