mirror of
https://git.oceanpay.cc/danial/itunes_server.git
synced 2025-12-18 22:44:55 +00:00
- Introduced a new iTunes Debugger application with main functionality to interact with iTunesAPIs. - Added various third-party libraries including 7zip, bit7z, jsoncpp, libcurl, libeay32, ssleay32, and zlib for enhanced functionality. - Created project files for the iTunes Debugger in Visual Studio, including .vcxproj, .vcxproj.filters, and .sln files. - Included a log file for debugging purposes. - Ensured compatibility with both Debug and Release configurations for Win32 and x64 platforms.
24 lines
444 B
C
24 lines
444 B
C
/* HuffEnc.h -- Huffman encoding
|
|
2023-03-05 : Igor Pavlov : Public domain */
|
|
|
|
#ifndef ZIP7_INC_HUFF_ENC_H
|
|
#define ZIP7_INC_HUFF_ENC_H
|
|
|
|
#include "7zTypes.h"
|
|
|
|
EXTERN_C_BEGIN
|
|
|
|
/*
|
|
Conditions:
|
|
num <= 1024 = 2 ^ NUM_BITS
|
|
Sum(freqs) < 4M = 2 ^ (32 - NUM_BITS)
|
|
maxLen <= 16 = kMaxLen
|
|
Num_Items(p) >= HUFFMAN_TEMP_SIZE(num)
|
|
*/
|
|
|
|
void Huffman_Generate(const UInt32 *freqs, UInt32 *p, Byte *lens, UInt32 num, UInt32 maxLen);
|
|
|
|
EXTERN_C_END
|
|
|
|
#endif
|