Lines Matching refs:depth
69 and thus have to assign a non-zero depth for each literal.
125 /* Builds a command and distance prefix code (each 64 symbols) into "depth" and
128 uint8_t depth[128], uint16_t bits[128], size_t* storage_ix,
135 BrotliCreateHuffmanTree(histogram, 64, 15, tree, depth);
136 BrotliCreateHuffmanTree(&histogram[64], 64, 14, tree, &depth[64]);
142 memcpy(cmd_depth, depth, 24);
143 memcpy(cmd_depth + 24, depth + 40, 8);
144 memcpy(cmd_depth + 32, depth + 24, 8);
145 memcpy(cmd_depth + 40, depth + 48, 8);
146 memcpy(cmd_depth + 48, depth + 32, 8);
147 memcpy(cmd_depth + 56, depth + 56, 8);
155 BrotliConvertBitDepthsToSymbols(&depth[64], 64, &bits[64]);
160 memcpy(cmd_depth, depth, 8);
161 memcpy(cmd_depth + 64, depth + 8, 8);
162 memcpy(cmd_depth + 128, depth + 16, 8);
163 memcpy(cmd_depth + 192, depth + 24, 8);
164 memcpy(cmd_depth + 384, depth + 32, 8);
166 cmd_depth[128 + 8 * i] = depth[40 + i];
167 cmd_depth[256 + 8 * i] = depth[48 + i];
168 cmd_depth[448 + 8 * i] = depth[56 + i];
173 BrotliStoreHuffmanTree(&depth[64], 64, tree, storage_ix, storage);
178 const uint8_t depth[128],
185 BrotliWriteBits(depth[code], bits[code], storage_ix, storage);
192 BrotliWriteBits(depth[inscode], bits[inscode], storage_ix, storage);
199 BrotliWriteBits(depth[code], bits[code], storage_ix, storage);
203 BrotliWriteBits(depth[61], bits[61], storage_ix, storage);
210 const uint8_t depth[128],
216 BrotliWriteBits(depth[62], bits[62], storage_ix, storage);
220 BrotliWriteBits(depth[63], bits[63], storage_ix, storage);
227 const uint8_t depth[128],
234 depth[copylen + 14], bits[copylen + 14], storage_ix, storage);
241 BrotliWriteBits(depth[code], bits[code], storage_ix, storage);
248 BrotliWriteBits(depth[code], bits[code], storage_ix, storage);
252 BrotliWriteBits(depth[39], bits[39], storage_ix, storage);
259 const uint8_t depth[128],
265 BrotliWriteBits(depth[copylen - 4], bits[copylen - 4], storage_ix, storage);
272 BrotliWriteBits(depth[code], bits[code], storage_ix, storage);
278 BrotliWriteBits(depth[code], bits[code], storage_ix, storage);
280 BrotliWriteBits(depth[64], bits[64], storage_ix, storage);
287 BrotliWriteBits(depth[code], bits[code], storage_ix, storage);
289 BrotliWriteBits(depth[64], bits[64], storage_ix, storage);
293 BrotliWriteBits(depth[39], bits[39], storage_ix, storage);
295 BrotliWriteBits(depth[64], bits[64], storage_ix, storage);
302 const uint8_t depth[128],
311 BrotliWriteBits(depth[distcode], bits[distcode], storage_ix, storage);
317 const uint8_t depth[256],
323 BrotliWriteBits(depth[lit], bits[lit], storage_ix, storage);