Lines Matching refs:repetitions

164     size_t repetitions,  in BrotliWriteHuffmanTreeRepetitions()  argument
168 BROTLI_DCHECK(repetitions > 0); in BrotliWriteHuffmanTreeRepetitions()
173 --repetitions; in BrotliWriteHuffmanTreeRepetitions()
175 if (repetitions == 7) { in BrotliWriteHuffmanTreeRepetitions()
179 --repetitions; in BrotliWriteHuffmanTreeRepetitions()
181 if (repetitions < 3) { in BrotliWriteHuffmanTreeRepetitions()
183 for (i = 0; i < repetitions; ++i) { in BrotliWriteHuffmanTreeRepetitions()
190 repetitions -= 3; in BrotliWriteHuffmanTreeRepetitions()
193 extra_bits_data[*tree_size] = repetitions & 0x3; in BrotliWriteHuffmanTreeRepetitions()
195 repetitions >>= 2; in BrotliWriteHuffmanTreeRepetitions()
196 if (repetitions == 0) { in BrotliWriteHuffmanTreeRepetitions()
199 --repetitions; in BrotliWriteHuffmanTreeRepetitions()
207 size_t repetitions, in BrotliWriteHuffmanTreeRepetitionsZeros() argument
211 if (repetitions == 11) { in BrotliWriteHuffmanTreeRepetitionsZeros()
215 --repetitions; in BrotliWriteHuffmanTreeRepetitionsZeros()
217 if (repetitions < 3) { in BrotliWriteHuffmanTreeRepetitionsZeros()
219 for (i = 0; i < repetitions; ++i) { in BrotliWriteHuffmanTreeRepetitionsZeros()
226 repetitions -= 3; in BrotliWriteHuffmanTreeRepetitionsZeros()
229 extra_bits_data[*tree_size] = repetitions & 0x7; in BrotliWriteHuffmanTreeRepetitionsZeros()
231 repetitions >>= 3; in BrotliWriteHuffmanTreeRepetitionsZeros()
232 if (repetitions == 0) { in BrotliWriteHuffmanTreeRepetitionsZeros()
235 --repetitions; in BrotliWriteHuffmanTreeRepetitionsZeros()