nn::cx::UncompContextLRC Structure

Header file: nn/cx.h

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-Range Coder compressed data.

Member Variables

destp u8 * Write-destination pointer
destCount s32 Remaining write size
forceDestCount s32 Forcibly sets the size of the decompression target
freq9 u32 Frequency table for code data
low_cnt9 u32 low_cnt table for code data
freq12 u32 Frequency table for offset data
low_cnt12 u32 low_cnt table for offset data
total9 u32 Code data total value
total12 u32 Offset data total value
range u32 Range Coder range state
code u32 Range Coder code state
low u32 Range Coder low state
carry_cnt u32 Number of digits for Range Coder carry
carry u8 Range Coder carry state
codeLen u8 Range Coder required code length
length u16 LZ compression load length
headerSize u8 Size of header being read

Revision History

2010/11/10
Initial version.

CONFIDENTIAL