Lines Matching refs:HuffmanEncoder
85 HuffmanEncoder::HuffmanEncoder(const unsigned int *codeBits, unsigned int nCodes)
104 void HuffmanEncoder::GenerateCodeLengths(unsigned int *codeBits, unsigned int maxCodeBits, const unsigned int *codeCounts, size_t nCodes)
177 void HuffmanEncoder::Initialize(const unsigned int *codeBits, unsigned int nCodes)
209 inline void HuffmanEncoder::Encode(LowFirstBitWriter &writer, value_t value) const
654 HuffmanEncoder::GenerateCodeLengths(literalCodeLengths, 15, m_literalCounts, 286);
658 HuffmanEncoder::GenerateCodeLengths(distanceCodeLengths, 15, m_distanceCounts, 30);
675 HuffmanEncoder::GenerateCodeLengths(codeLengthCodeLengths, 7, codeLengthCodeCounts, 19);
676 HuffmanEncoder codeLengthEncoder(codeLengthCodeLengths, 19);
709 const HuffmanEncoder &literalEncoder = (blockType == STATIC) ? m_staticLiteralEncoder : m_dynamicLiteralEncoder;
710 const HuffmanEncoder &distanceEncoder = (blockType == STATIC) ? m_staticDistanceEncoder : m_dynamicDistanceEncoder;