Lines Matching full:bitstream
230 #include "bitstream.h"
315 BIT_CStream_t bitStream; // bitStream tracking structure
319 The first thing to do is to init bitStream and state.
320 size_t errorCode = BIT_initCStream(&bitStream, dstBuffer, maxDstSize);
327 FSE_encodeByte(&bitStream, &state, symbol);
331 BIT_addBits(&bitStream, bitField, nbBits);
336 BIT_flushBits(&bitStream);
339 FSE_flushState(&bitStream, &state);
341 Finally, you must close the bitStream.
345 size_t size = BIT_closeCStream(&bitStream);
366 You will decode FSE-encoded symbols from the bitStream,
369 You will need a few variables to track your bitStream. They are :
375 The first thing to do is to init the bitStream.
387 You can retrieve any bitfield you eventually stored into the bitStream (in reverse order)