ゴミ箱
|
#include <deflate_stream.hpp>
Classes | |
struct | config |
struct | ct_data |
struct | lut_type |
struct | static_desc |
struct | tree_desc |
Public Member Functions | |
template<class > | |
auto | get_lut () -> lut_type const & |
template<class > | |
auto | f_stored (z_params &zs, Flush flush) -> block_state |
template<class > | |
auto | f_fast (z_params &zs, Flush flush) -> block_state |
template<class > | |
auto | f_slow (z_params &zs, Flush flush) -> block_state |
template<class > | |
auto | f_rle (z_params &zs, Flush flush) -> block_state |
template<class > | |
auto | f_huff (z_params &zs, Flush flush) -> block_state |
Protected Types | |
enum | block_state { need_more, block_done, finish_started, finish_done } |
enum | StreamStatus { EXTRA_STATE = 69, NAME_STATE = 73, COMMENT_STATE = 91, HCRC_STATE = 103, BUSY_STATE = 113, FINISH_STATE = 666 } |
using | IPos = unsigned |
using | self = deflate_stream |
typedef block_state(self::* | compress_func) (z_params &zs, Flush flush) |
Protected Member Functions | |
BOOST_STATIC_ASSERT (minMatch==3) | |
deflate_stream () | |
std::size_t | max_dist () const |
void | put_byte (std::uint8_t c) |
void | put_short (std::uint16_t w) |
void | send_bits (int value, int length) |
void | send_code (int value, ct_data const *tree) |
std::uint8_t | d_code (unsigned dist) |
void | update_hash (uInt &h, std::uint8_t c) |
void | clear_hash () |
bool | smaller (ct_data const *tree, int n, int m) |
void | insert_string (IPos &hash_head) |
void | maybe_init () |
template<class = void> | |
void | doReset (int level, int windowBits, int memLevel, Strategy strategy) |
template<class = void> | |
void | doReset () |
template<class = void> | |
void | doClear () |
template<class = void> | |
std::size_t | doUpperBound (std::size_t sourceLen) const |
template<class = void> | |
void | doTune (int good_length, int max_lazy, int nice_length, int max_chain) |
template<class = void> | |
void | doParams (z_params &zs, int level, Strategy strategy, error_code &ec) |
template<class = void> | |
void | doWrite (z_params &zs, boost::optional< Flush > flush, error_code &ec) |
template<class = void> | |
void | doDictionary (Byte const *dict, uInt dictLength, error_code &ec) |
template<class = void> | |
void | doPrime (int bits, int value, error_code &ec) |
template<class = void> | |
void | doPending (unsigned *value, int *bits) |
template<class = void> | |
void | init () |
template<class = void> | |
void | lm_init () |
template<class = void> | |
void | init_block () |
template<class = void> | |
void | pqdownheap (ct_data const *tree, int k) |
template<class = void> | |
void | pqremove (ct_data const *tree, int &top) |
template<class = void> | |
void | gen_bitlen (tree_desc *desc) |
template<class = void> | |
void | build_tree (tree_desc *desc) |
template<class = void> | |
void | scan_tree (ct_data *tree, int max_code) |
template<class = void> | |
void | send_tree (ct_data *tree, int max_code) |
template<class = void> | |
int | build_bl_tree () |
template<class = void> | |
void | send_all_trees (int lcodes, int dcodes, int blcodes) |
template<class = void> | |
void | compress_block (ct_data const *ltree, ct_data const *dtree) |
template<class = void> | |
int | detect_data_type () |
template<class = void> | |
void | bi_windup () |
template<class = void> | |
void | bi_flush () |
template<class = void> | |
void | copy_block (char *buf, unsigned len, int header) |
template<class = void> | |
void | tr_init () |
template<class = void> | |
void | tr_align () |
template<class = void> | |
void | tr_flush_bits () |
template<class = void> | |
void | tr_stored_block (char *bu, std::uint32_t stored_len, int last) |
template<class = void> | |
void | tr_tally_dist (std::uint16_t dist, std::uint8_t len, bool &flush) |
template<class = void> | |
void | tr_tally_lit (std::uint8_t c, bool &flush) |
template<class = void> | |
void | tr_flush_block (z_params &zs, char *buf, std::uint32_t stored_len, int last) |
template<class = void> | |
void | fill_window (z_params &zs) |
template<class = void> | |
void | flush_pending (z_params &zs) |
template<class = void> | |
void | flush_block (z_params &zs, bool last) |
template<class = void> | |
int | read_buf (z_params &zs, Byte *buf, unsigned size) |
template<class = void> | |
uInt | longest_match (IPos cur_match) |
template<class = void> | |
block_state | f_stored (z_params &zs, Flush flush) |
template<class = void> | |
block_state | f_fast (z_params &zs, Flush flush) |
template<class = void> | |
block_state | f_slow (z_params &zs, Flush flush) |
template<class = void> | |
block_state | f_rle (z_params &zs, Flush flush) |
template<class = void> | |
block_state | f_huff (z_params &zs, Flush flush) |
block_state | deflate_stored (z_params &zs, Flush flush) |
block_state | deflate_fast (z_params &zs, Flush flush) |
block_state | deflate_slow (z_params &zs, Flush flush) |
block_state | deflate_rle (z_params &zs, Flush flush) |
block_state | deflate_huff (z_params &zs, Flush flush) |
Static Protected Member Functions | |
static config | get_config (std::size_t level) |
template<class Unsigned > | |
static Unsigned | bi_reverse (Unsigned code, unsigned len) |
template<class = void> | |
static void | gen_codes (ct_data *tree, int max_code, std::uint16_t *bl_count) |
template<class = void> | |
static lut_type const & | get_lut () |
Static Protected Attributes | |
static std::uint8_t constexpr | maxBits = 15 |
static std::uint16_t constexpr | lengthCodes = 29 |
static std::uint16_t constexpr | literals = 256 |
static std::uint16_t constexpr | lCodes = literals + 1 + lengthCodes |
static std::uint16_t constexpr | dCodes = 30 |
static std::uint16_t constexpr | blCodes = 19 |
static std::uint16_t constexpr | distCodeLen = 512 |
static std::uint8_t constexpr | maxBlBits = 7 |
static std::uint16_t constexpr | minMatch = 3 |
static std::uint16_t constexpr | maxMatch = 258 |
static std::uint16_t constexpr | END_BLOCK = 256 |
static std::uint8_t constexpr | REP_3_6 = 16 |
static std::uint8_t constexpr | REPZ_3_10 = 17 |
static std::uint8_t constexpr | REPZ_11_138 = 18 |
static std::uint8_t constexpr | STORED_BLOCK = 0 |
static std::uint8_t constexpr | STATIC_TREES = 1 |
static std::uint8_t constexpr | DYN_TREES = 2 |
static std::uint8_t constexpr | MAX_MEM_LEVEL = 9 |
static std::uint8_t constexpr | DEF_MEM_LEVEL = MAX_MEM_LEVEL |
static std::uint16_t constexpr | HEAP_SIZE = 2 * lCodes + 1 |
static std::uint8_t constexpr | Buf_size = 16 |
static std::size_t constexpr | kTooFar = 4096 |
static std::size_t constexpr | kMinLookahead = maxMatch + minMatch+1 |
static std::size_t constexpr | kWinInit = maxMatch |
static std::size_t constexpr | kSmallest = 1 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlineprotected |
|
protected |
|
inlinestaticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlineprotected |
|
protected |
|
protected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
|
protected |
|
inline |
|
protected |
|
inline |
|
protected |
|
inline |
|
protected |
|
inline |
|
protected |
|
inlineprotected |
|
protected |
|
protected |
|
staticprotected |
|
inlinestaticprotected |
|
staticprotected |
auto boost::beast::zlib::detail::deflate_stream::get_lut | ( | ) | -> lut_type const& |
|
protected |
|
protected |
|
inlineprotected |
|
protected |
|
protected |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |