nn::cx::UncompContextLRC Structure

Syntax

struct UncompContextLRC
{
   u8 * destp;
   s32 destCount;
   s32 forceDestCount;
   u32 freq9[1<< 9];
   u32 low_cnt9[1<< 9];
   u32 freq12[1<< 12];
   u32 low_cnt12[1<< 12];
   u32 total9;
   u32 total12;
   u32 range;
   u32 code;
   u32 low;
   u32 carry_cnt;
   u8 carry;
   u8 codeLen;
   u16 length;
   u8 headerSize;
};

Description

The context for decompressing LZ-RangeCoder compressed data.

Member Variables

destp Write-destination pointer (4 bytes)
destCount Remaining size to write (4 bytes)
forceDestCount Forcibly setting the size of the decompression target (4 bytes)
freq9 Frequency table for code data (2048 bytes)
low_cnt9 low_cnt table for code data (2048 bytes
freq12 Frequency table for offset data (16384 bytes)
low_cnt12 Frequency table for low_cnt data (16384 bytes)
total9 Code data total value (4 bytes)
total12 Offset data total value (4 bytes)
range Range coder range state (4 bytes)
code Range coder code state (4 bytes)
low Range coder low state (4 bytes)
carry_cnt Range coder carry digit count (4 bytes)
carry Range coder carry state (1 byte)
codeLen Range coder required code length (1 byte)
length LZ compression read length (2 bytes)
headerSize Size of header being read (1 byte)

CONFIDENTIAL