Lines Matching refs:hcode

8335 static void hufCanonicalCodeTable(long long hcode[HUF_ENCSIZE]) {  in hufCanonicalCodeTable()
8346 for (int i = 0; i < HUF_ENCSIZE; ++i) n[hcode[i]] += 1; in hufCanonicalCodeTable()
8370 int l = static_cast<int>(hcode[i]); in hufCanonicalCodeTable()
8372 if (l > 0) hcode[i] = l | (n[l]++ << 6); in hufCanonicalCodeTable()
8573 const long long *hcode, // i : encoding table [HUF_ENCSIZE] in hufPackEncTable() argument
8583 int l = hufLength(hcode[im]); in hufPackEncTable()
8589 if (hufLength(hcode[im + 1]) > 0) break; in hufPackEncTable()
8622 long long *hcode) // o: encoding table [HUF_ENCSIZE] in hufUnpackEncTable() argument
8624 memset(hcode, 0, sizeof(long long) * HUF_ENCSIZE); in hufUnpackEncTable()
8635 long long l = hcode[im] = getBits(6, c, lc, p); // code length in hufUnpackEncTable()
8648 while (zerun--) hcode[im++] = 0; in hufUnpackEncTable()
8658 while (zerun--) hcode[im++] = 0; in hufUnpackEncTable()
8666 hufCanonicalCodeTable(hcode); in hufUnpackEncTable()
8698 static bool hufBuildDecTable(const long long *hcode, // i : encoding table in hufBuildDecTable() argument
8710 long long c = hufCode(hcode[im]); in hufBuildDecTable()
8711 int l = hufLength(hcode[im]); in hufBuildDecTable()
8827 (const long long *hcode, // i : encoding table in hufEncode() argument
8851 sendCode(hcode[s], cs, hcode[rlc], c, lc, out); in hufEncode()
8862 sendCode(hcode[s], cs, hcode[rlc], c, lc, out); in hufEncode()
8947 static bool hufDecode(const long long *hcode, // i : encoding table in hufDecode() argument
9004 int l = hufLength(hcode[pl.p[j]]); in hufDecode()
9010 if (hufCode(hcode[pl.p[j]]) == in hufDecode()