MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / tdefl_compress_block

Function tdefl_compress_block

SampleFramework12/v1.00/TinyEXR.cpp:3135–3141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3133 // MINIZ_HAS_64BIT_REGISTERS
3134
3135static mz_bool tdefl_compress_block(tdefl_compressor *d, mz_bool static_block) {
3136 if (static_block)
3137 tdefl_start_static_block(d);
3138 else
3139 tdefl_start_dynamic_block(d);
3140 return tdefl_compress_lz_codes(d);
3141}
3142
3143static int tdefl_flush_block(tdefl_compressor *d, int flush) {
3144 mz_uint saved_bit_buf, saved_bits_in;

Callers 1

tdefl_flush_blockFunction · 0.85

Calls 3

tdefl_start_static_blockFunction · 0.85
tdefl_compress_lz_codesFunction · 0.85

Tested by

no test coverage detected