/external/brotli/c/enc/ |
D | brotli_bit_stream.c | 101 const Command* cmd, size_t* storage_ix, uint8_t* storage) { in StoreCommandExtra() argument 110 insnumextra + GetCopyExtra(copycode), bits, storage_ix, storage); in StoreCommandExtra() 124 static void StoreVarLenUint8(size_t n, size_t* storage_ix, uint8_t* storage) { in StoreVarLenUint8() argument 126 BrotliWriteBits(1, 0, storage_ix, storage); in StoreVarLenUint8() 129 BrotliWriteBits(1, 1, storage_ix, storage); in StoreVarLenUint8() 130 BrotliWriteBits(3, nbits, storage_ix, storage); in StoreVarLenUint8() 131 BrotliWriteBits(nbits, n - ((size_t)1 << nbits), storage_ix, storage); in StoreVarLenUint8() 140 size_t* storage_ix, in StoreCompressedMetaBlockHeader() argument 147 BrotliWriteBits(1, (uint64_t)is_final_block, storage_ix, storage); in StoreCompressedMetaBlockHeader() 150 BrotliWriteBits(1, 0, storage_ix, storage); in StoreCompressedMetaBlockHeader() [all …]
|
D | compress_fragment.c | 77 size_t* storage_ix, in BuildAndStoreLiteralPrefixCode() argument 113 depths, bits, storage_ix, storage); in BuildAndStoreLiteralPrefixCode() 128 uint8_t depth[128], uint16_t bits[128], size_t* storage_ix, in BuildAndStoreCommandPrefixCode() argument 171 cmd_depth, BROTLI_NUM_COMMAND_SYMBOLS, tree, storage_ix, storage); in BuildAndStoreCommandPrefixCode() 173 BrotliStoreHuffmanTree(&depth[64], 64, tree, storage_ix, storage); in BuildAndStoreCommandPrefixCode() 181 size_t* storage_ix, in EmitInsertLen() argument 185 BrotliWriteBits(depth[code], bits[code], storage_ix, storage); in EmitInsertLen() 192 BrotliWriteBits(depth[inscode], bits[inscode], storage_ix, storage); in EmitInsertLen() 193 BrotliWriteBits(nbits, tail - (prefix << nbits), storage_ix, storage); in EmitInsertLen() 199 BrotliWriteBits(depth[code], bits[code], storage_ix, storage); in EmitInsertLen() [all …]
|
D | compress_fragment_two_pass.c | 72 size_t* storage_ix, uint8_t* storage) { in BuildAndStoreCommandPrefixCode() argument 113 cmd_depth, BROTLI_NUM_COMMAND_SYMBOLS, tree, storage_ix, storage); in BuildAndStoreCommandPrefixCode() 115 BrotliStoreHuffmanTree(&depth[64], 64, tree, storage_ix, storage); in BuildAndStoreCommandPrefixCode() 223 size_t len, BROTLI_BOOL is_uncompressed, size_t* storage_ix, in BrotliStoreMetaBlockHeader() argument 227 BrotliWriteBits(1, 0, storage_ix, storage); in BrotliStoreMetaBlockHeader() 233 BrotliWriteBits(2, nibbles - 4, storage_ix, storage); in BrotliStoreMetaBlockHeader() 234 BrotliWriteBits(nibbles * 4, len - 1, storage_ix, storage); in BrotliStoreMetaBlockHeader() 236 BrotliWriteBits(1, (uint64_t)is_uncompressed, storage_ix, storage); in BrotliStoreMetaBlockHeader() 458 size_t* storage_ix, uint8_t* storage) { in StoreCommands() argument 486 storage_ix, storage); in StoreCommands() [all …]
|
D | entropy_encode_static.h | 84 size_t* storage_ix, uint8_t* storage) { in StoreStaticCodeLengthCode() argument 86 40, BROTLI_MAKE_UINT64_T(0x0000FFu, 0x55555554u), storage_ix, storage); in StoreStaticCodeLengthCode() 517 size_t* storage_ix, uint8_t* storage) { in StoreStaticCommandHuffmanTree() argument 519 56, BROTLI_MAKE_UINT64_T(0x926244U, 0x16307003U), storage_ix, storage); in StoreStaticCommandHuffmanTree() 520 BrotliWriteBits(3, 0x00000000U, storage_ix, storage); in StoreStaticCommandHuffmanTree() 531 size_t* storage_ix, uint8_t* storage) { in StoreStaticDistanceHuffmanTree() argument 532 BrotliWriteBits(28, 0x0369DC03u, storage_ix, storage); in StoreStaticDistanceHuffmanTree()
|
D | encode.c | 551 size_t* storage_ix, in WriteMetaBlockInternal() argument 561 BrotliWriteBits(2, 3, storage_ix, storage); in WriteMetaBlockInternal() 562 *storage_ix = (*storage_ix + 7u) & ~7u; in WriteMetaBlockInternal() 573 storage_ix, storage); in WriteMetaBlockInternal() 577 BROTLI_DCHECK(*storage_ix <= 14); in WriteMetaBlockInternal() 579 last_bytes_bits = (uint8_t)(*storage_ix); in WriteMetaBlockInternal() 584 storage_ix, storage); in WriteMetaBlockInternal() 590 storage_ix, storage); in WriteMetaBlockInternal() 633 storage_ix, storage); in WriteMetaBlockInternal() 637 if (bytes + 4 < (*storage_ix >> 3)) { in WriteMetaBlockInternal() [all …]
|
D | brotli_bit_stream.h | 35 HuffmanTree* tree, size_t* storage_ix, uint8_t* storage); 39 const size_t max_bits, uint8_t* depth, uint16_t* bits, size_t* storage_ix, 49 size_t* storage_ix, uint8_t* storage); 59 size_t* storage_ix, uint8_t* storage); 69 size_t* storage_ix, uint8_t* storage); 78 size_t* BROTLI_RESTRICT storage_ix, uint8_t* BROTLI_RESTRICT storage);
|
D | block_encoder_inc.h | 17 size_t* storage_ix, uint8_t* storage) { in FN() 29 storage_ix, storage); in FN()
|
D | compress_fragment_two_pass.h | 47 size_t* storage_ix,
|
D | compress_fragment.h | 54 size_t* storage_ix,
|