Legendary Explorer Core Nightly
Core library for working with Mass Effect Trilogy / Legendary Edition files
Loading...
Searching...
No Matches
CompressonatorXCodec.h File Reference

Go to the source code of this file.

Functions

CMP_FLOAT CompRGBBlock (CMP_FLOAT *block_32, CMP_WORD dwBlockSize, CMP_BYTE nRedBits, CMP_BYTE nGreenBits, CMP_BYTE nBlueBits, CMP_BYTE nEndpoints[3][2], CMP_BYTE *pcIndices, CMP_BYTE dwNumPoints, bool _bUseSSE2, bool b3DRefinement, CMP_BYTE nRefinementSteps, CMP_FLOAT *_pfChannelWeights=NULL, bool _bUseAlpha=false, CMP_FLOAT _fAlphaThreshold=0.5)
 
CMP_FLOAT CompRGBBlock (CMP_DWORD *block_32, CMP_WORD dwBlockSize, CMP_BYTE nRedBits, CMP_BYTE nGreenBits, CMP_BYTE nBlueBits, CMP_BYTE nEndpoints[3][2], CMP_BYTE *pcIndices, CMP_BYTE dwNumPoints, bool _bUseSSE2, bool b3DRefinement, CMP_BYTE nRefinementSteps, CMP_FLOAT *_pfChannelWeights=NULL, bool _bUseAlpha=false, CMP_BYTE _nAlphaThreshold=128)
 
CMP_FLOAT CompBlock1X (CMP_FLOAT *_Blk, CMP_WORD dwBlockSize, CMP_BYTE nEndpoints[2], CMP_BYTE *pcIndices, CMP_BYTE dwNumPoints, bool bFixedRampPoints, bool _bUseSSE2=true, int _intPrec=8, int _fracPrec=0, bool _bFixedRamp=true)
 
CMP_FLOAT CompBlock1X (CMP_BYTE *_Blk, CMP_WORD dwBlockSize, CMP_BYTE nEndpoints[2], CMP_BYTE *pcIndices, CMP_BYTE dwNumPoints, bool bFixedRampPoints, bool _bUseSSE2=true, int _intPrec=8, int _fracPrec=0, bool _bFixedRamp=true)
 

Function Documentation

◆ CompRGBBlock() [1/2]

CMP_FLOAT CompRGBBlock ( CMP_FLOAT block_32,
CMP_WORD  dwBlockSize,
CMP_BYTE  nRedBits,
CMP_BYTE  nGreenBits,
CMP_BYTE  nBlueBits,
CMP_BYTE  nEndpoints[3][2],
CMP_BYTE pcIndices,
CMP_BYTE  dwNumPoints,
bool  _bUseSSE2,
bool  b3DRefinement,
CMP_BYTE  nRefinementSteps,
CMP_FLOAT _pfChannelWeights = NULL,
bool  _bUseAlpha = false,
CMP_FLOAT  _fAlphaThreshold = 0.5 
)

◆ CompRGBBlock() [2/2]

CMP_FLOAT CompRGBBlock ( CMP_DWORD block_32,
CMP_WORD  dwBlockSize,
CMP_BYTE  nRedBits,
CMP_BYTE  nGreenBits,
CMP_BYTE  nBlueBits,
CMP_BYTE  nEndpoints[3][2],
CMP_BYTE pcIndices,
CMP_BYTE  dwNumPoints,
bool  _bUseSSE2,
bool  b3DRefinement,
CMP_BYTE  nRefinementSteps,
CMP_FLOAT _pfChannelWeights = NULL,
bool  _bUseAlpha = false,
CMP_BYTE  _nAlphaThreshold = 128 
)

◆ CompBlock1X() [1/2]

CMP_FLOAT CompBlock1X ( CMP_FLOAT _Blk,
CMP_WORD  dwBlockSize,
CMP_BYTE  nEndpoints[2],
CMP_BYTE pcIndices,
CMP_BYTE  dwNumPoints,
bool  bFixedRampPoints,
bool  _bUseSSE2 = true,
int  _intPrec = 8,
int  _fracPrec = 0,
bool  _bFixedRamp = true 
)

◆ CompBlock1X() [2/2]

CMP_FLOAT CompBlock1X ( CMP_BYTE _Blk,
CMP_WORD  dwBlockSize,
CMP_BYTE  nEndpoints[2],
CMP_BYTE pcIndices,
CMP_BYTE  dwNumPoints,
bool  bFixedRampPoints,
bool  _bUseSSE2 = true,
int  _intPrec = 8,
int  _fracPrec = 0,
bool  _bFixedRamp = true 
)