nn::cx::UncompContextLRC Structurestruct 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;
};
The context for decompressing LZ-Range Coder compressed data.
| destp | Write-destination pointer | |
|---|---|---|
| destCount | Remaining write size | |
| forceDestCount | Forcibly sets the size of the decompression target | |
| freq9 | Frequency table for code data | |
| low_cnt9 | low_cnt table for code data | |
| freq12 | Frequency table for offset data | |
| low_cnt12 | low_cnt table for offset data | |
| total9 | Code data total value | |
| total12 | Offset data total value | |
| range | Range Coder range state | |
| code | Range Coder code state | |
| low | Range Coder low state | |
| carry_cnt | Number of digits for Range Coder carry | |
| carry | Range Coder carry state | |
| codeLen | Range Coder required code length | |
| length | LZ compression load length | |
| headerSize | Size of header being read |
CONFIDENTIAL