Lines Matching refs:nBits
8295 inline void outputBits(int nBits, long long bits, long long &c, int &lc,
8297 c <<= nBits;
8298 lc += nBits;
8305 inline long long getBits(int nBits, long long &c, int &lc, const char *&in) {
8306 while (lc < nBits) {
8311 lc -= nBits;
8312 return (c >> lc) & ((1 << nBits) - 1);
9108 int nBits = hufEncode(freq.data(), raw, nRaw, iM, dataStart);
9109 int data_length = (nBits + 7) / 8;
9114 writeUInt(compressed + 12, nBits);
9131 int nBits = readUInt(compressed + 12);
9143 // if (FastHufDecoder::enabled() && nBits > 128)
9146 // fhd.decode ((unsigned char*)ptr, nBits, raw, nRaw);
9159 if (nBits > 8 * (nCompressed - (ptr - compressed))) {
9164 hufDecode(&freq.at(0), &hdec.at(0), ptr, nBits, iM, raw->size(),