Searched refs:bitPos (Results 1 – 2 of 2) sorted by relevance
50 unsigned bitPos; member173 bitC->bitPos = 0; in BIT_initCStream()189 assert(nbBits + bitC->bitPos < sizeof(bitC->bitContainer) * 8); in BIT_addBits()190 bitC->bitContainer |= (value & BIT_mask[nbBits]) << bitC->bitPos; in BIT_addBits()191 bitC->bitPos += nbBits; in BIT_addBits()201 assert(nbBits + bitC->bitPos < sizeof(bitC->bitContainer) * 8); in BIT_addBitsFast()202 bitC->bitContainer |= value << bitC->bitPos; in BIT_addBitsFast()203 bitC->bitPos += nbBits; in BIT_addBitsFast()211 size_t const nbBytes = bitC->bitPos >> 3; in BIT_flushBitsFast()212 assert(bitC->bitPos < sizeof(bitC->bitContainer) * 8); in BIT_flushBitsFast()[all …]
752 size_t bitPos[2]; member798 bitC->bitPos[idx] += HUF_getNbBitsFast(elt); in HUF_addBits()799 assert((bitC->bitPos[idx] & 0xFF) <= HUF_BITS_IN_CONTAINER); in HUF_addBits()812 assert(!kFast || (bitC->bitPos[idx] & 0xFF) <= HUF_BITS_IN_CONTAINER); in HUF_addBits()821 bitC->bitPos[1] = 0; in HUF_zeroIndex1()830 assert((bitC->bitPos[1] & 0xFF) < HUF_BITS_IN_CONTAINER); in HUF_mergeIndex1()831 bitC->bitContainer[0] >>= (bitC->bitPos[1] & 0xFF); in HUF_mergeIndex1()833 bitC->bitPos[0] += bitC->bitPos[1]; in HUF_mergeIndex1()834 assert((bitC->bitPos[0] & 0xFF) <= HUF_BITS_IN_CONTAINER); in HUF_mergeIndex1()847 size_t const nbBits = bitC->bitPos[0] & 0xFF; in HUF_flushBits()[all …]