Remove obsolete big-endian FIXMEs.
Originally committed as revision 17623 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
@ -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_
|
|||||||
#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
|
|||||||
#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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user