#include <compression.h>
Public Member Functions | |
CompressionContext (const std::vector< uint8_t > &data_, const int start, const int length) | |
CompressionContext (const std::vector< uint8_t > &data_, const int start, const int length, int mode_) | |
Public Attributes | |
std::vector< uint8_t > | data |
std::vector< uint8_t > | compressed_data |
std::vector< CompressionPiece > | compression_pieces |
std::vector< uint8_t > | compression_string |
unsigned int | src_pos |
unsigned int | last_pos |
unsigned int | start |
unsigned int | comp_accumulator = 0 |
unsigned int | cmd_with_max = kCommandDirectCopy |
unsigned int | max_win = 0 |
CompressionCommand | current_cmd = {} |
int | mode |
Definition at line 177 of file compression.h.
|
inline |
|
inline |
std::vector<uint8_t> yaze::gfx::lc_lz2::CompressionContext::data |
Definition at line 178 of file compression.h.
Referenced by yaze::gfx::lc_lz2::AddCompressionToChain(), yaze::gfx::lc_lz2::CheckByteRepeatV3(), yaze::gfx::lc_lz2::CheckIncByteV3(), yaze::gfx::lc_lz2::CheckIntraCopyV3(), yaze::gfx::lc_lz2::CheckWordRepeatV3(), CompressionContext(), CompressionContext(), yaze::gfx::lc_lz2::DetermineBestCompression(), yaze::gfx::lc_lz2::FinalizeCompression(), and yaze::gfx::lc_lz2::HandleDirectCopy().
std::vector<uint8_t> yaze::gfx::lc_lz2::CompressionContext::compressed_data |
Definition at line 179 of file compression.h.
Referenced by yaze::gfx::lc_lz2::AddCompressionToChain(), yaze::gfx::lc_lz2::CompressV3(), yaze::gfx::lc_lz2::FinalizeCompression(), yaze::gfx::lc_lz2::HandleDirectCopy(), and yaze::gfx::lc_lz2::ValidateCompressionResultV3().
std::vector<CompressionPiece> yaze::gfx::lc_lz2::CompressionContext::compression_pieces |
Definition at line 180 of file compression.h.
Referenced by yaze::gfx::lc_lz2::FinalizeCompression().
std::vector<uint8_t> yaze::gfx::lc_lz2::CompressionContext::compression_string |
Definition at line 181 of file compression.h.
Referenced by yaze::gfx::lc_lz2::FinalizeCompression().
unsigned int yaze::gfx::lc_lz2::CompressionContext::src_pos |
Definition at line 182 of file compression.h.
Referenced by yaze::gfx::lc_lz2::AddCompressionToChain(), yaze::gfx::lc_lz2::CheckAvailableCompressionCommands(), yaze::gfx::lc_lz2::CheckByteRepeatV3(), yaze::gfx::lc_lz2::CheckIncByteV3(), yaze::gfx::lc_lz2::CheckIntraCopyV3(), yaze::gfx::lc_lz2::CheckWordRepeatV3(), CompressionContext(), CompressionContext(), yaze::gfx::lc_lz2::CompressV3(), yaze::gfx::lc_lz2::DetermineBestCompression(), yaze::gfx::lc_lz2::FinalizeCompression(), yaze::gfx::lc_lz2::HandleDirectCopy(), and yaze::gfx::lc_lz2::ValidateCompressionResultV3().
unsigned int yaze::gfx::lc_lz2::CompressionContext::last_pos |
Definition at line 183 of file compression.h.
Referenced by yaze::gfx::lc_lz2::CheckByteRepeatV3(), yaze::gfx::lc_lz2::CheckIncByteV3(), yaze::gfx::lc_lz2::CheckWordRepeatV3(), CompressionContext(), CompressionContext(), yaze::gfx::lc_lz2::CompressV3(), and yaze::gfx::lc_lz2::HandleDirectCopy().
unsigned int yaze::gfx::lc_lz2::CompressionContext::start |
Definition at line 184 of file compression.h.
Referenced by CompressionContext(), CompressionContext(), and yaze::gfx::lc_lz2::ValidateCompressionResultV3().
unsigned int yaze::gfx::lc_lz2::CompressionContext::comp_accumulator = 0 |
Definition at line 185 of file compression.h.
Referenced by yaze::gfx::lc_lz2::AddCompressionToChain(), yaze::gfx::lc_lz2::FinalizeCompression(), and yaze::gfx::lc_lz2::HandleDirectCopy().
unsigned int yaze::gfx::lc_lz2::CompressionContext::cmd_with_max = kCommandDirectCopy |
Definition at line 186 of file compression.h.
Referenced by yaze::gfx::lc_lz2::AddCompressionToChain(), yaze::gfx::lc_lz2::CompressV3(), yaze::gfx::lc_lz2::DetermineBestCompression(), yaze::gfx::lc_lz2::HandleDirectCopy(), yaze::test::TEST(), yaze::test::TEST(), and yaze::test::TEST().
unsigned int yaze::gfx::lc_lz2::CompressionContext::max_win = 0 |
Definition at line 187 of file compression.h.
CompressionCommand yaze::gfx::lc_lz2::CompressionContext::current_cmd = {} |
Definition at line 188 of file compression.h.
Referenced by yaze::gfx::lc_lz2::AddCompressionToChain(), yaze::gfx::lc_lz2::CheckAvailableCompressionCommands(), yaze::gfx::lc_lz2::CheckByteRepeatV3(), yaze::gfx::lc_lz2::CheckIncByteV3(), yaze::gfx::lc_lz2::CheckIntraCopyV3(), yaze::gfx::lc_lz2::CheckWordRepeatV3(), yaze::gfx::lc_lz2::DetermineBestCompression(), and yaze::gfx::lc_lz2::InitializeCompression().
int yaze::gfx::lc_lz2::CompressionContext::mode |
Definition at line 189 of file compression.h.
Referenced by CompressionContext(), CompressionContext(), and yaze::gfx::lc_lz2::FinalizeCompression().