mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-16 08:15:31 +00:00
12 lines
441 B
C
12 lines
441 B
C
#ifndef BYTESWAPDEFS_H
|
|
#define BYTESWAPDEFS_H 1
|
|
unsigned int swapx(unsigned int word);
|
|
unsigned short byte_swap_word(unsigned short word);
|
|
void byte_swap_page(unsigned short *page, int wordcount);
|
|
void word_swap_page(unsigned short *page, int longwordcount);
|
|
void bit_reverse_region(unsigned short *top, int width, int height, int rasterwidth);
|
|
#ifdef RESWAPPEDCODESTREAM
|
|
unsigned int byte_swap_code_block(unsigned int *base);
|
|
#endif
|
|
#endif
|