47 for ( ; nbytes > 0; nbytes--,
buf++ )
52 val = ( (
val >> 1 ) & 0x55 ) | ( (
val << 1 ) & 0xAA );
53 val = ( (
val >> 2 ) & 0x33 ) | ( (
val << 2 ) & 0xCC );
54 val = ( (
val >> 4 ) & 0x0F ) | ( (
val << 4 ) & 0xF0 );
69 for ( ; nbytes >= 2; nbytes -= 2,
buf += 2 )
88 for ( ; nbytes >= 4; nbytes -= 4,
buf += 4 )
GLenum GLuint GLenum GLsizei const GLchar * buf
BitOrderInvert(unsigned char *buf, size_t nbytes)
TwoByteSwap(unsigned char *buf, size_t nbytes)
FourByteSwap(unsigned char *buf, size_t nbytes)