| 
    Monado OpenXR Runtime
    
   | 
 
Functions for manipulating tightly packed data as bits. More...

Macros | |
| #define | INCOMING_INT_WIDTH (13) | 
| #define | ADJUSTMENT ((sizeof(i) * CHAR_BIT) - INCOMING_INT_WIDTH) | 
Functions | |
| int | get_bit (const unsigned char *b, int num) | 
| int | get_bits (const unsigned char *b, int start, int num) | 
| int | sign_extend_13 (uint32_t i) | 
| Interpret the least-significant 13 bits as a signed 13-bit integer, and cast it to a signed int for normal usage.  More... | |
Functions for manipulating tightly packed data as bits.
| int sign_extend_13 | ( | uint32_t | i | ) | 
Interpret the least-significant 13 bits as a signed 13-bit integer, and cast it to a signed int for normal usage.