lzham_huffman_codes.h 449 B

1234567891011121314
  1. // File: lzham_huffman_codes.h
  2. // See Copyright Notice and license at the end of include/lzham.h
  3. #pragma once
  4. namespace lzham
  5. {
  6. //const uint cHuffmanMaxSupportedSyms = 600;
  7. const uint cHuffmanMaxSupportedSyms = 1024;
  8. uint get_generate_huffman_codes_table_size();
  9. bool generate_huffman_codes(void* pContext, uint num_syms, const uint16* pFreq, uint8* pCodesizes, uint& max_code_size, uint& total_freq_ret);
  10. } // namespace lzham