Lines Matching full:bitstream
284 #include "bitstream.h"
375 BIT_CStream_t bitStream; // bitStream tracking structure
379 The first thing to do is to init bitStream and state.
380 size_t errorCode = BIT_initCStream(&bitStream, dstBuffer, maxDstSize);
387 FSE_encodeByte(&bitStream, &state, symbol);
391 BIT_addBits(&bitStream, bitField, nbBits);
396 BIT_flushBits(&bitStream);
399 FSE_flushState(&bitStream, &state);
401 Finally, you must close the bitStream.
405 size_t size = BIT_closeCStream(&bitStream);
426 You will decode FSE-encoded symbols from the bitStream,
429 You will need a few variables to track your bitStream. They are :
435 The first thing to do is to init the bitStream.
447 You can retrieve any bitfield you eventually stored into the bitStream (in reverse order)