Skip to content
Snippets Groups Projects
Commit f41b1d35 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

Remove obsolete big-endian FIXMEs.

Originally committed as revision 17623 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
parent aa11db2f
No related merge requests found
...@@ -468,8 +468,6 @@ static inline void RENAME(rgb32tobgr16)(const uint8_t *src, uint8_t *dst, long s ...@@ -468,8 +468,6 @@ static inline void RENAME(rgb32tobgr16)(const uint8_t *src, uint8_t *dst, long s
#endif #endif
while(s < end) while(s < end)
{ {
// FIXME on bigendian
/* Looks bigendian-OK to me. --Pac. */
const int src= *s; s += 4; const int src= *s; s += 4;
*d++ = ((src&0xF8)<<8) + ((src&0xFC00)>>5) + ((src&0xF80000)>>19); *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_ ...@@ -566,8 +564,6 @@ static inline void RENAME(rgb32to15)(const uint8_t *src, uint8_t *dst, long src_
#endif #endif
while(s < end) while(s < end)
{ {
// FIXME on bigendian
/* Looks bigendian-OK to me. --Pac. */
const int src= *s; s += 4; const int src= *s; s += 4;
*d++ = ((src&0xFF)>>3) + ((src&0xF800)>>6) + ((src&0xF80000)>>9); *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 ...@@ -629,8 +625,6 @@ static inline void RENAME(rgb32tobgr15)(const uint8_t *src, uint8_t *dst, long s
#endif #endif
while(s < end) while(s < end)
{ {
// FIXME on bigendian
/* Looks bigendian-OK to me. --Pac. */
const int src= *s; s += 4; const int src= *s; s += 4;
*d++ = ((src&0xF8)<<7) + ((src&0xF800)>>6) + ((src&0xF80000)>>19); *d++ = ((src&0xF8)<<7) + ((src&0xF800)>>6) + ((src&0xF80000)>>19);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment