Monado OpenXR Runtime
Functions
u_bitwise.h File Reference

Functions for manipulating tightly packed data as bits. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int get_bit (unsigned char *b, int num)
 
int get_bits (unsigned char *b, int start, int num)
 
int sign_extend_13 (unsigned int i)
 

Detailed Description

Functions for manipulating tightly packed data as bits.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m
Pete Black pete..nosp@m.blac.nosp@m.k@col.nosp@m.labo.nosp@m.ra.co.nosp@m.m

Function Documentation

◆ get_bit()

int get_bit ( unsigned char *  b,
int  num 
)

Referenced by get_bits().

◆ get_bits()

int get_bits ( unsigned char *  b,
int  start,
int  num 
)

References get_bit().

◆ sign_extend_13()

int sign_extend_13 ( unsigned int  i)