Lines Matching refs:BitStream
83 BitStream; typedef
88 static BitStream* bsOpenReadStream ( FILE* stream );
89 static BitStream* bsOpenWriteStream ( FILE* stream );
90 static void bsPutBit ( BitStream* bs, Int32 bit );
91 static Int32 bsGetBit ( BitStream* bs );
92 static void bsClose ( BitStream* bs );
93 static void bsPutUChar ( BitStream* bs, UChar c );
94 static void bsPutUInt32 ( BitStream* bs, UInt32 c );
169 static BitStream* bsOpenReadStream ( FILE* stream ) in bsOpenReadStream()
171 BitStream *bs = malloc ( sizeof(BitStream) ); in bsOpenReadStream()
172 if (bs == NULL) mallocFail ( sizeof(BitStream) ); in bsOpenReadStream()
182 static BitStream* bsOpenWriteStream ( FILE* stream ) in bsOpenWriteStream()
184 BitStream *bs = malloc ( sizeof(BitStream) ); in bsOpenWriteStream()
185 if (bs == NULL) mallocFail ( sizeof(BitStream) ); in bsOpenWriteStream()
195 static void bsPutBit ( BitStream* bs, Int32 bit ) in bsPutBit()
214 static Int32 bsGetBit ( BitStream* bs ) in bsGetBit()
233 static void bsClose ( BitStream* bs ) in bsClose()
257 static void bsPutUChar ( BitStream* bs, UChar c ) in bsPutUChar()
266 static void bsPutUInt32 ( BitStream* bs, UInt32 c ) in bsPutUInt32()
320 BitStream* bsIn, *bsWr; in main()