MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / _tr_align

Function _tr_align

extern/zlib/src/trees.c:886–893  ·  view source on GitHub ↗

=========================================================================== * Send one empty static block to give enough lookahead for inflate. * This takes 10 bits, of which 7 may remain in the bit buffer. */

Source from the content-addressed store, hash-verified

884 * This takes 10 bits, of which 7 may remain in the bit buffer.
885 */
886void ZLIB_INTERNAL _tr_align(deflate_state *s) {
887 send_bits(s, STATIC_TREES<<1, 3);
888 send_code(s, END_BLOCK, static_ltree);
889#ifdef ZLIB_DEBUG
890 s->compressed_len += 10L; /* 3 for block type, 7 for EOB */
891#endif
892 bi_flush(s);
893}
894
895/* ===========================================================================
896 * Send the block data compressed using the given Huffman trees

Callers 1

deflateFunction · 0.85

Calls 2

send_bitsFunction · 0.85
bi_flushFunction · 0.85

Tested by

no test coverage detected