Lines Matching refs:BitStream
150 BitStream; typedef
154 static BitStream* bsOpenReadStream ( FILE* stream ) in bsOpenReadStream()
156 BitStream *bs = malloc ( sizeof(BitStream) ); in bsOpenReadStream()
157 if (bs == NULL) mallocFail ( sizeof(BitStream) ); in bsOpenReadStream()
167 static BitStream* bsOpenWriteStream ( FILE* stream ) in bsOpenWriteStream()
169 BitStream *bs = malloc ( sizeof(BitStream) ); in bsOpenWriteStream()
170 if (bs == NULL) mallocFail ( sizeof(BitStream) ); in bsOpenWriteStream()
180 static void bsPutBit ( BitStream* bs, Int32 bit ) in bsPutBit()
199 static Int32 bsGetBit ( BitStream* bs ) in bsGetBit()
218 static void bsClose ( BitStream* bs ) in bsClose()
242 static void bsPutUChar ( BitStream* bs, UChar c ) in bsPutUChar()
251 static void bsPutUInt32 ( BitStream* bs, UInt32 c ) in bsPutUInt32()
305 BitStream* bsIn, *bsWr; in main()