Home
last modified time | relevance | path

Searched refs:BrotliWriteBits (Results 1 – 6 of 6) sorted by relevance

/external/brotli/c/enc/
Dbrotli_bit_stream.c94 BrotliWriteBits( in StoreCommandExtra()
111 BrotliWriteBits(1, 0, storage_ix, storage); in StoreVarLenUint8()
114 BrotliWriteBits(1, 1, storage_ix, storage); in StoreVarLenUint8()
115 BrotliWriteBits(3, nbits, storage_ix, storage); in StoreVarLenUint8()
116 BrotliWriteBits(nbits, n - ((size_t)1 << nbits), storage_ix, storage); in StoreVarLenUint8()
132 BrotliWriteBits(1, (uint64_t)is_final_block, storage_ix, storage); in StoreCompressedMetaBlockHeader()
135 BrotliWriteBits(1, 0, storage_ix, storage); in StoreCompressedMetaBlockHeader()
139 BrotliWriteBits(2, nibblesbits, storage_ix, storage); in StoreCompressedMetaBlockHeader()
140 BrotliWriteBits(nlenbits, lenbits, storage_ix, storage); in StoreCompressedMetaBlockHeader()
144 BrotliWriteBits(1, 0, storage_ix, storage); in StoreCompressedMetaBlockHeader()
[all …]
Dcompress_fragment.c185 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()
200 BrotliWriteBits(nbits, tail - ((size_t)1 << nbits), storage_ix, storage); in EmitInsertLen()
203 BrotliWriteBits(depth[61], bits[61], storage_ix, storage); in EmitInsertLen()
204 BrotliWriteBits(12, insertlen - 2114, storage_ix, storage); in EmitInsertLen()
216 BrotliWriteBits(depth[62], bits[62], storage_ix, storage); in EmitLongInsertLen()
217 BrotliWriteBits(14, insertlen - 6210, storage_ix, storage); in EmitLongInsertLen()
220 BrotliWriteBits(depth[63], bits[63], storage_ix, storage); in EmitLongInsertLen()
[all …]
Dentropy_encode_static.h85 BrotliWriteBits( in StoreStaticCodeLengthCode()
518 BrotliWriteBits( in StoreStaticCommandHuffmanTree()
520 BrotliWriteBits(3, 0x00000000U, storage_ix, storage); in StoreStaticCommandHuffmanTree()
532 BrotliWriteBits(28, 0x0369DC03u, storage_ix, storage); in StoreStaticDistanceHuffmanTree()
Dcompress_fragment_two_pass.c227 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()
506 BrotliWriteBits(cmd_depths[code], cmd_bits[code], storage_ix, storage); in StoreCommands()
507 BrotliWriteBits(kNumExtraBits[code], extra, storage_ix, storage); in StoreCommands()
513 BrotliWriteBits(lit_depths[lit], lit_bits[lit], storage_ix, storage); in StoreCommands()
580 BrotliWriteBits(13, 0, storage_ix, storage); in BrotliCompressFragmentTwoPassImpl()
635 BrotliWriteBits(1, 1, storage_ix, storage); /* islast */ in FOR_TABLE_BITS_()
636 BrotliWriteBits(1, 1, storage_ix, storage); /* isempty */ in FOR_TABLE_BITS_()
Dwrite_bits.h34 static BROTLI_INLINE void BrotliWriteBits(size_t n_bits, in BrotliWriteBits() function
Dencode.c578 BrotliWriteBits(2, 3, storage_ix, storage); in WriteMetaBlockInternal()
1189 BrotliWriteBits(1, 0, &storage_ix, header); in WriteMetadataHeader()
1190 BrotliWriteBits(2, 3, &storage_ix, header); in WriteMetadataHeader()
1191 BrotliWriteBits(1, 0, &storage_ix, header); in WriteMetadataHeader()
1193 BrotliWriteBits(2, 0, &storage_ix, header); in WriteMetadataHeader()
1198 BrotliWriteBits(2, nbytes, &storage_ix, header); in WriteMetadataHeader()
1199 BrotliWriteBits(8 * nbytes, block_size - 1, &storage_ix, header); in WriteMetadataHeader()
1336 BrotliWriteBits(2, 3, &storage_ix, storage); in BrotliCompressBufferQuality10()