![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
wefwe
Dependencies: mbed C12832 DogM163 FatFileSystem
_bitio.h
- Committer:
- JostBaus
- Date:
- 2019-05-08
- Revision:
- 28:19aac2daf669
File content as of revision 28:19aac2daf669:
#ifndef ___BITIO_H__ #define ___BITIO_H__ /* #define TRUE 1 #define FALSE 0 */ #define rightbits(n, x) ((x) & ((1U << (n)) - 1U)) #define OVERRUN 0xffff #define k 0x0b // k:0x09 to 0x0b? typedef unsigned int Uint; typedef unsigned char Uchar; extern FILE *infp, *outfp; extern int getcount, putcount; extern Uint bitbuf; /* Rice Golomb en-decoding */ extern void decode(void); extern void encode(long int n); void init_bit_o(void); void init_bit_i(void); Uint getbit(void); Uint getbits(int n); void putbit(Uint bit); void putbits(int n, Uint x); #endif