#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 |
uint | src_pos |
uint | last_pos |
uint | start |
uint | comp_accumulator = 0 |
uint | cmd_with_max = kCommandDirectCopy |
uint | max_win = 0 |
CompressionCommand | current_cmd = {} |
int | mode |
Definition at line 167 of file compression.h.
|
inline |
Definition at line 182 of file compression.h.
|
inline |
Definition at line 187 of file compression.h.
std::vector<uint8_t> yaze::app::gfx::lc_lz2::CompressionContext::data |
Definition at line 168 of file compression.h.
Referenced by yaze::app::gfx::lc_lz2::AddCompressionToChain(), yaze::app::gfx::lc_lz2::CheckByteRepeatV3(), yaze::app::gfx::lc_lz2::CheckIncByteV3(), yaze::app::gfx::lc_lz2::CheckIntraCopyV3(), yaze::app::gfx::lc_lz2::CheckWordRepeatV3(), yaze::app::gfx::lc_lz2::DetermineBestCompression(), yaze::app::gfx::lc_lz2::FinalizeCompression(), and yaze::app::gfx::lc_lz2::HandleDirectCopy().
std::vector<uint8_t> yaze::app::gfx::lc_lz2::CompressionContext::compressed_data |
std::vector<CompressionPiece> yaze::app::gfx::lc_lz2::CompressionContext::compression_pieces |
Definition at line 170 of file compression.h.
Referenced by yaze::app::gfx::lc_lz2::FinalizeCompression().
std::vector<uint8_t> yaze::app::gfx::lc_lz2::CompressionContext::compression_string |
Definition at line 171 of file compression.h.
Referenced by yaze::app::gfx::lc_lz2::FinalizeCompression().
uint yaze::app::gfx::lc_lz2::CompressionContext::src_pos |
Definition at line 172 of file compression.h.
Referenced by yaze::app::gfx::lc_lz2::AddCompressionToChain(), yaze::app::gfx::lc_lz2::CheckAvailableCompressionCommands(), yaze::app::gfx::lc_lz2::CheckByteRepeatV3(), yaze::app::gfx::lc_lz2::CheckIncByteV3(), yaze::app::gfx::lc_lz2::CheckIntraCopyV3(), yaze::app::gfx::lc_lz2::CheckWordRepeatV3(), yaze::app::gfx::lc_lz2::CompressV3(), yaze::app::gfx::lc_lz2::DetermineBestCompression(), yaze::app::gfx::lc_lz2::FinalizeCompression(), yaze::app::gfx::lc_lz2::HandleDirectCopy(), and yaze::app::gfx::lc_lz2::ValidateCompressionResultV3().
uint yaze::app::gfx::lc_lz2::CompressionContext::last_pos |
Definition at line 173 of file compression.h.
Referenced by yaze::app::gfx::lc_lz2::CheckByteRepeatV3(), yaze::app::gfx::lc_lz2::CheckIncByteV3(), yaze::app::gfx::lc_lz2::CheckWordRepeatV3(), yaze::app::gfx::lc_lz2::CompressV3(), and yaze::app::gfx::lc_lz2::HandleDirectCopy().
uint yaze::app::gfx::lc_lz2::CompressionContext::start |
Definition at line 174 of file compression.h.
Referenced by yaze::app::gfx::lc_lz2::ValidateCompressionResultV3().
uint yaze::app::gfx::lc_lz2::CompressionContext::comp_accumulator = 0 |
Definition at line 175 of file compression.h.
Referenced by yaze::app::gfx::lc_lz2::AddCompressionToChain(), yaze::app::gfx::lc_lz2::FinalizeCompression(), and yaze::app::gfx::lc_lz2::HandleDirectCopy().
uint yaze::app::gfx::lc_lz2::CompressionContext::cmd_with_max = kCommandDirectCopy |
Definition at line 176 of file compression.h.
Referenced by yaze::app::gfx::lc_lz2::AddCompressionToChain(), yaze::app::gfx::lc_lz2::CompressV3(), yaze::app::gfx::lc_lz2::DetermineBestCompression(), yaze::app::gfx::lc_lz2::HandleDirectCopy(), yaze::test::gfx::TEST(), yaze::test::gfx::TEST(), and yaze::test::gfx::TEST().
uint yaze::app::gfx::lc_lz2::CompressionContext::max_win = 0 |
Definition at line 177 of file compression.h.
CompressionCommand yaze::app::gfx::lc_lz2::CompressionContext::current_cmd = {} |
Definition at line 178 of file compression.h.
Referenced by yaze::app::gfx::lc_lz2::AddCompressionToChain(), yaze::app::gfx::lc_lz2::CheckAvailableCompressionCommands(), yaze::app::gfx::lc_lz2::CheckByteRepeatV3(), yaze::app::gfx::lc_lz2::CheckIncByteV3(), yaze::app::gfx::lc_lz2::CheckIntraCopyV3(), yaze::app::gfx::lc_lz2::CheckWordRepeatV3(), yaze::app::gfx::lc_lz2::DetermineBestCompression(), and yaze::app::gfx::lc_lz2::InitializeCompression().
int yaze::app::gfx::lc_lz2::CompressionContext::mode |
Definition at line 179 of file compression.h.
Referenced by yaze::app::gfx::lc_lz2::FinalizeCompression().