Twilight Princess
Remastered version of the GameCube game
Loading...
Searching...
No Matches
ASTCDecoder Class Reference

Classes

class  BitArrayStream
 
struct  TexelWeightParams
 

Static Public Member Functions

static byte[] DecodeToRGBA8888 (byte[] InputBuffer, int BlockX, int BlockY, int BlockZ, int X, int Y, int Z)
 
static bool DecompressBlock (byte[] InputBuffer, int[] OutputBuffer, int BlockWidth, int BlockHeight)
 

Static Private Member Functions

static int Select2DPartition (int Seed, int X, int Y, int PartitionCount, bool IsSmallBlock)
 
static int SelectPartition (int Seed, int X, int Y, int Z, int PartitionCount, bool IsSmallBlock)
 
static int Hash52 (uint Val)
 
static void UnquantizeTexelWeights (int[][] OutputBuffer, List< IntegerEncoded > Weights, TexelWeightParams TexelParams, int BlockWidth, int BlockHeight)
 
static int UnquantizeTexelWeight (IntegerEncoded IntEncoded)
 
static byte ReverseByte (byte b)
 
static uint[] ReadUintColorValues (int Number, int[] ColorValues, ref int ColorValuesPosition)
 
static int[] ReadIntColorValues (int Number, int[] ColorValues, ref int ColorValuesPosition)
 
static void ComputeEndpoints (ASTCPixel[] EndPoints, int[] ColorValues, uint ColorEndpointMode, ref int ColorValuesPosition)
 
static void DecodeColorValues (int[] OutputValues, byte[] InputData, uint[] Modes, int NumberPartitions, int NumberBitsForColorData)
 
static void FillVoidExtentLDR (BitArrayStream BitStream, int[] OutputBuffer, int BlockWidth, int BlockHeight)
 
static TexelWeightParams DecodeBlockInfo (BitArrayStream BitStream)
 

Member Function Documentation

◆ ComputeEndpoints()

static void ASTCDecoder.ComputeEndpoints ( ASTCPixel[] EndPoints,
int[] ColorValues,
uint ColorEndpointMode,
ref int ColorValuesPosition )
staticprivate

◆ DecodeBlockInfo()

static TexelWeightParams ASTCDecoder.DecodeBlockInfo ( BitArrayStream BitStream)
staticprivate

◆ DecodeColorValues()

static void ASTCDecoder.DecodeColorValues ( int[] OutputValues,
byte[] InputData,
uint[] Modes,
int NumberPartitions,
int NumberBitsForColorData )
staticprivate

◆ DecodeToRGBA8888()

static byte[] ASTCDecoder.DecodeToRGBA8888 ( byte[] InputBuffer,
int BlockX,
int BlockY,
int BlockZ,
int X,
int Y,
int Z )
static

◆ DecompressBlock()

static bool ASTCDecoder.DecompressBlock ( byte[] InputBuffer,
int[] OutputBuffer,
int BlockWidth,
int BlockHeight )
static

◆ FillVoidExtentLDR()

static void ASTCDecoder.FillVoidExtentLDR ( BitArrayStream BitStream,
int[] OutputBuffer,
int BlockWidth,
int BlockHeight )
staticprivate

◆ Hash52()

static int ASTCDecoder.Hash52 ( uint Val)
staticprivate

◆ ReadIntColorValues()

static int[] ASTCDecoder.ReadIntColorValues ( int Number,
int[] ColorValues,
ref int ColorValuesPosition )
staticprivate

◆ ReadUintColorValues()

static uint[] ASTCDecoder.ReadUintColorValues ( int Number,
int[] ColorValues,
ref int ColorValuesPosition )
staticprivate

◆ ReverseByte()

static byte ASTCDecoder.ReverseByte ( byte b)
staticprivate

◆ Select2DPartition()

static int ASTCDecoder.Select2DPartition ( int Seed,
int X,
int Y,
int PartitionCount,
bool IsSmallBlock )
staticprivate

◆ SelectPartition()

static int ASTCDecoder.SelectPartition ( int Seed,
int X,
int Y,
int Z,
int PartitionCount,
bool IsSmallBlock )
staticprivate

◆ UnquantizeTexelWeight()

static int ASTCDecoder.UnquantizeTexelWeight ( IntegerEncoded IntEncoded)
staticprivate

◆ UnquantizeTexelWeights()

static void ASTCDecoder.UnquantizeTexelWeights ( int OutputBuffer[][],
List< IntegerEncoded > Weights,
TexelWeightParams TexelParams,
int BlockWidth,
int BlockHeight )
staticprivate

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