Files
libstb-hal/libeplayer3/include/misc.h
2014-04-06 11:35:17 +02:00

19 lines
415 B
C

#ifndef misc_123
#define misc_123
/* some useful things needed by many files ... */
#define INVALID_PTS_VALUE 0x200000000ll
struct BitPacker_t
{
unsigned char *Ptr; /* write pointer */
unsigned int BitBuffer; /* bitreader shifter */
int Remaining; /* number of remaining in the shifter */
};
void PutBits(BitPacker_t * ld, unsigned int code, unsigned int length);
void FlushBits(BitPacker_t * ld);
#endif