Go to the source code of this file.
Functions | |
uint16_t | bit_reverse16 (uint16_t data) |
Bit reverse a 16 bit word. | |
uint32_t | bit_reverse32 (uint32_t data) |
Bit reverse a 32 bit word. | |
uint32_t | bit_reverse_4bytes (uint32_t data) |
Bit reverse each of the four bytes in a 32 bit word. | |
void | bit_reverse (uint8_t to[], const uint8_t from[], int len) |
Bit reverse each bytes in a buffer. | |
int | one_bits32 (uint32_t x) |
Find the number of set bits in a 32 bit word. | |
uint32_t | make_mask32 (uint32_t x) |
Create a mask as wide as the number in a 32 bit word. | |
uint16_t | make_mask16 (uint16_t x) |
Create a mask as wide as the number in a 16 bit word. |
|
Bit reverse each bytes in a buffer.
|
|
Bit reverse a 16 bit word.
|
|
Bit reverse a 32 bit word.
|
|
Bit reverse each of the four bytes in a 32 bit word.
|
|
Create a mask as wide as the number in a 16 bit word.
|
|
Create a mask as wide as the number in a 32 bit word.
|
|
Find the number of set bits in a 32 bit word.
|