Adding Crunch at r319.

This commit is contained in:
Ben Vanik
2014-01-20 23:02:34 -08:00
parent c660b5e4d1
commit 1f3e06e60c
215 changed files with 99367 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
// File: crn_huffman_codes.h
// See Copyright Notice and license at the end of inc/crnlib.h
#pragma once
namespace crnlib
{
const uint cHuffmanMaxSupportedSyms = 8192;
void* create_generate_huffman_codes_tables();
void free_generate_huffman_codes_tables(void* p);
bool generate_huffman_codes(void* pContext, uint num_syms, const uint16* pFreq, uint8* pCodesizes, uint& max_code_size, uint& total_freq_ret);
} // namespace crnlib