Lines Matching full:bitstream
296 #include "bitstream.h"
400 BIT_CStream_t bitStream; // bitStream tracking structure
404 The first thing to do is to init bitStream and state.
405 size_t errorCode = BIT_initCStream(&bitStream, dstBuffer, maxDstSize);
412 FSE_encodeByte(&bitStream, &state, symbol);
416 BIT_addBits(&bitStream, bitField, nbBits);
421 BIT_flushBits(&bitStream);
424 FSE_flushState(&bitStream, &state);
426 Finally, you must close the bitStream.
430 size_t size = BIT_closeCStream(&bitStream);
451 You will decode FSE-encoded symbols from the bitStream,
454 You will need a few variables to track your bitStream. They are :
460 The first thing to do is to init the bitStream.
472 You can retrieve any bitfield you eventually stored into the bitStream (in reverse order)