Home
last modified time | relevance | path

Searched refs:codeindexpairs_ (Results 1 – 2 of 2) sorted by relevance

/external/puffin/src/
Dhuffman_table.cc50 HuffmanTable::HuffmanTable() : codeindexpairs_(288), initialized_(false) {} in HuffmanTable()
85 codeindexpairs_.clear(); in InitHuffmanCodes()
103 codeindexpairs_.push_back(cip); in InitHuffmanCodes()
114 std::sort(codeindexpairs_.begin(), in BuildHuffmanCodes()
115 codeindexpairs_.end(), in BuildHuffmanCodes()
122 for (const auto& cip : codeindexpairs_) { in BuildHuffmanCodes()
142 std::sort(codeindexpairs_.begin(), in BuildHuffmanReverseCodes()
143 codeindexpairs_.end(), in BuildHuffmanReverseCodes()
150 if (index < codeindexpairs_.size() && idx == codeindexpairs_[index].index) { in BuildHuffmanReverseCodes()
151 (*rcodes)[idx] = codeindexpairs_[index].code; in BuildHuffmanReverseCodes()
Dhuffman_table.h274 std::vector<CodeIndexPair> codeindexpairs_; variable