From: Diego Biurrun Date: Mon, 13 Feb 2006 12:44:17 +0000 (+0000) Subject: Remove obsolete big-endian FIXMEs. X-Git-Tag: v0.5~13131 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f41b1d3541ac8e30a99e6a4bde3fcd84c11ae6f8;p=platform%2Fupstream%2Flibav.git Remove obsolete big-endian FIXMEs. Originally committed as revision 17623 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc --- diff --git a/postproc/rgb2rgb_template.c b/postproc/rgb2rgb_template.c index b08778a..fbb4021 100644 --- a/postproc/rgb2rgb_template.c +++ b/postproc/rgb2rgb_template.c @@ -468,8 +468,6 @@ static inline void RENAME(rgb32tobgr16)(const uint8_t *src, uint8_t *dst, long s #endif while(s < end) { - // FIXME on bigendian - /* Looks bigendian-OK to me. --Pac. */ const int src= *s; s += 4; *d++ = ((src&0xF8)<<8) + ((src&0xFC00)>>5) + ((src&0xF80000)>>19); } @@ -566,8 +564,6 @@ static inline void RENAME(rgb32to15)(const uint8_t *src, uint8_t *dst, long src_ #endif while(s < end) { - // FIXME on bigendian - /* Looks bigendian-OK to me. --Pac. */ const int src= *s; s += 4; *d++ = ((src&0xFF)>>3) + ((src&0xF800)>>6) + ((src&0xF80000)>>9); } @@ -629,8 +625,6 @@ static inline void RENAME(rgb32tobgr15)(const uint8_t *src, uint8_t *dst, long s #endif while(s < end) { - // FIXME on bigendian - /* Looks bigendian-OK to me. --Pac. */ const int src= *s; s += 4; *d++ = ((src&0xF8)<<7) + ((src&0xF800)>>6) + ((src&0xF80000)>>19); }