yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::gfx::lc_lz2::CompressionContext Struct Reference

#include <compression.h>

Collaboration diagram for yaze::app::gfx::lc_lz2::CompressionContext:

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< CompressionPiececompression_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
 

Detailed Description

Definition at line 167 of file compression.h.

Constructor & Destructor Documentation

◆ CompressionContext() [1/2]

yaze::app::gfx::lc_lz2::CompressionContext::CompressionContext ( const std::vector< uint8_t > & data_,
const int start,
const int length )
inline

Definition at line 182 of file compression.h.

◆ CompressionContext() [2/2]

yaze::app::gfx::lc_lz2::CompressionContext::CompressionContext ( const std::vector< uint8_t > & data_,
const int start,
const int length,
int mode_ )
inline

Definition at line 187 of file compression.h.

Member Data Documentation

◆ data

◆ compressed_data

◆ compression_pieces

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().

◆ compression_string

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().

◆ src_pos

◆ last_pos

◆ start

uint yaze::app::gfx::lc_lz2::CompressionContext::start

Definition at line 174 of file compression.h.

Referenced by yaze::app::gfx::lc_lz2::ValidateCompressionResultV3().

◆ comp_accumulator

uint yaze::app::gfx::lc_lz2::CompressionContext::comp_accumulator = 0

◆ cmd_with_max

◆ max_win

uint yaze::app::gfx::lc_lz2::CompressionContext::max_win = 0

Definition at line 177 of file compression.h.

◆ current_cmd

◆ mode

int yaze::app::gfx::lc_lz2::CompressionContext::mode

Definition at line 179 of file compression.h.

Referenced by yaze::app::gfx::lc_lz2::FinalizeCompression().


The documentation for this struct was generated from the following file: