MCPcopy Create free account
hub / github.com/blend2d/blend2d / minimum_output_buffer_size

Method minimum_output_buffer_size

blend2d/compression/deflateencoder.cpp:2109–2116  ·  view source on GitHub ↗

The worst case is all uncompressed blocks where one block has `length <= kEncoderMinBlockLength` and the others have length `kEncoderMinBlockLength`. Each uncompressed block has 5 bytes of overhead: 1 for BFINAL, BTYPE, and alignment to a byte boundary; 2 for LEN; and 2 for NLEN.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

encoder_write_frame_implFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected