Functions | |
| UINT8 | bitrev (UINT8 b) |
| void | bitrevlin (UINT8 *buf, int numbytes) |
| int | getbit (const UINT8 *array, INT32 index) |
| int | getbitn (const UINT8 *array, INT32 index) |
| void | memswap (void *vb1, void *vb2, int count) |
| void | packbits (UINT8 *dest, UINT8 *source, int count) |
| void | packbitsr (UINT8 *dest, UINT8 *source, int count) |
| void | putbit (UINT8 *array, INT32 index, int value) |
| void | revbuffer (void *vbuf, int cols) |
| template<class _BUF> | |
| void | SwapBytes (_BUF *alist, INT32 num) |
| double | SwapBytes (double &value) |
| UINT64 | SwapBytes (UINT64 &value) |
| INT64 | SwapBytes (INT64 &value) |
| float | SwapBytes (float &value) |
| UINT32 | SwapBytes (UINT32 &value) |
| INT32 | SwapBytes (INT32 &value) |
| UINT16 | SwapBytes (UINT16 &value) |
| INT16 | SwapBytes (INT16 &value) |
| UINT8 | SwapBytes (UINT8 &value) |
| INT8 | SwapBytes (INT8 &value) |
| char | SwapBytes (char &value) |
| void | SwapBytes2 (void *data, int num) |
| void | SwapBytes4 (void *data, int num) |
| void | SwapBytes8 (void *data, int num) |
| void | SwapDataInBuffer (void *data, INT32 NumItems, int ItemSize) |
| void bitrevlin | ( | UINT8 * | buf, | |
| int | numbytes | |||
| ) |
Reverse bits for array.
| void memswap | ( | void * | vb1, | |
| void * | vb2, | |||
| int | count | |||
| ) | [inline] |
Pack TRUE/FALSE values from 8-bit array into bit array with least-significant bit as first bit.
Non-zero values in the 8-bit array will be written as '1', zero values will be written as '0'.
Pack TRUE / FALSE values from 8-bit array into bit array with MOST-significannt bit as first bit.
Non-zero values in the 8-bit array will be written as '1', zero values will be written as '0'.
| void revbuffer | ( | void * | vbuf, | |
| int | cols | |||
| ) |
Reverse the order of values in UINT8 array.
| void SwapBytes | ( | _BUF * | alist, | |
| INT32 | num | |||
| ) | [inline] |
| double SwapBytes | ( | double & | value | ) | [inline] |
| float SwapBytes | ( | float & | value | ) | [inline] |
| char SwapBytes | ( | char & | value | ) | [inline] |
| void SwapBytes2 | ( | void * | data, | |
| int | num | |||
| ) | [inline] |
| void SwapBytes4 | ( | void * | data, | |
| int | num | |||
| ) | [inline] |
| void SwapBytes8 | ( | void * | data, | |
| int | num | |||
| ) | [inline] |
| void SwapDataInBuffer | ( | void * | data, | |
| INT32 | NumItems, | |||
| int | ItemSize | |||
| ) |
Swap data in a buffer given number of items and size.
| data | Array of items to swap |
| NumItems | Number of items in the array |
| ItemSize | Size of item to swap |
1.5.2