Home
last modified time | relevance | path

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

/external/brotli/c/enc/
Dbrotli_bit_stream.c109 BrotliWriteBits( in StoreCommandExtra()
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()
147 BrotliWriteBits(1, (uint64_t)is_final_block, storage_ix, storage); in StoreCompressedMetaBlockHeader()
150 BrotliWriteBits(1, 0, storage_ix, storage); in StoreCompressedMetaBlockHeader()
154 BrotliWriteBits(2, nibblesbits, storage_ix, storage); in StoreCompressedMetaBlockHeader()
155 BrotliWriteBits(nlenbits, lenbits, storage_ix, storage); in StoreCompressedMetaBlockHeader()
159 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.h36 static BROTLI_INLINE void BrotliWriteBits(size_t n_bits, in BrotliWriteBits() function
Dencode.c561 BrotliWriteBits(2, 3, storage_ix, storage); in WriteMetaBlockInternal()
1148 BrotliWriteBits(1, 0, &storage_ix, header); in WriteMetadataHeader()
1149 BrotliWriteBits(2, 3, &storage_ix, header); in WriteMetadataHeader()
1150 BrotliWriteBits(1, 0, &storage_ix, header); in WriteMetadataHeader()
1152 BrotliWriteBits(2, 0, &storage_ix, header); in WriteMetadataHeader()
1157 BrotliWriteBits(2, nbytes, &storage_ix, header); in WriteMetadataHeader()
1158 BrotliWriteBits(8 * nbytes, block_size - 1, &storage_ix, header); in WriteMetadataHeader()
1292 BrotliWriteBits(2, 3, &storage_ix, storage); in BrotliCompressBufferQuality10()