Twilight Princess
Remastered version of the GameCube game
Loading...
Searching...
No Matches
IntegerEncoded Struct Reference

Public Types

enum  EIntegerEncoding { JustBits , Quint , Trit }
 

Public Member Functions

 IntegerEncoded (EIntegerEncoding _Encoding, int NumBits)
 
bool MatchesEncoding (IntegerEncoded Other)
 
EIntegerEncoding GetEncoding ()
 
int GetBitLength (int NumberVals)
 

Static Public Member Functions

static IntegerEncoded CreateEncoding (int MaxVal)
 
static void DecodeTritBlock (ASTCDecoder.BitArrayStream BitStream, List< IntegerEncoded > ListIntegerEncoded, int NumberBitsPerValue)
 
static void DecodeQuintBlock (ASTCDecoder.BitArrayStream BitStream, List< IntegerEncoded > ListIntegerEncoded, int NumberBitsPerValue)
 
static void DecodeIntegerSequence (List< IntegerEncoded > DecodeIntegerSequence, ASTCDecoder.BitArrayStream BitStream, int MaxRange, int NumberValues)
 

Public Attributes

EIntegerEncoding Encoding
 

Properties

int NumberBits [get, private set]
 
int BitValue [get, private set]
 
int TritValue [get, private set]
 
int QuintValue [get, private set]
 

Member Enumeration Documentation

◆ EIntegerEncoding

Enumerator
JustBits 
Quint 
Trit 

Constructor & Destructor Documentation

◆ IntegerEncoded()

IntegerEncoded.IntegerEncoded ( EIntegerEncoding _Encoding,
int NumBits )

Member Function Documentation

◆ CreateEncoding()

static IntegerEncoded IntegerEncoded.CreateEncoding ( int MaxVal)
static

◆ DecodeIntegerSequence()

static void IntegerEncoded.DecodeIntegerSequence ( List< IntegerEncoded > DecodeIntegerSequence,
ASTCDecoder.BitArrayStream BitStream,
int MaxRange,
int NumberValues )
static

◆ DecodeQuintBlock()

static void IntegerEncoded.DecodeQuintBlock ( ASTCDecoder.BitArrayStream BitStream,
List< IntegerEncoded > ListIntegerEncoded,
int NumberBitsPerValue )
static

◆ DecodeTritBlock()

static void IntegerEncoded.DecodeTritBlock ( ASTCDecoder.BitArrayStream BitStream,
List< IntegerEncoded > ListIntegerEncoded,
int NumberBitsPerValue )
static

◆ GetBitLength()

int IntegerEncoded.GetBitLength ( int NumberVals)

◆ GetEncoding()

EIntegerEncoding IntegerEncoded.GetEncoding ( )

◆ MatchesEncoding()

bool IntegerEncoded.MatchesEncoding ( IntegerEncoded Other)

Member Data Documentation

◆ Encoding

EIntegerEncoding IntegerEncoded.Encoding

Property Documentation

◆ BitValue

int IntegerEncoded.BitValue
getprivate set

◆ NumberBits

int IntegerEncoded.NumberBits
getprivate set

◆ QuintValue

int IntegerEncoded.QuintValue
getprivate set

◆ TritValue

int IntegerEncoded.TritValue
getprivate set

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