|
SSBM Decomp
|
Data Structures | |
| struct | THPAlignedHuffmanTabPtr |
| struct | THPAlignedSamplePtr |
| struct | THPAlignedWidth |
| struct | THPQuantizationPtr |
| struct | THPLCWork |
| struct | THPVideoDecodeHeader |
| struct | THPLCSizeEntry |
| struct | THPInitWork |
| THPInit initializes the adjacent LC work objects as one layout. More... | |
Macros | |
| #define | THP_SDATA |
| #define | THPROUNDUP(a, b) |
| #define | OS_GQR_F32 0x0000 |
| #define | OS_GQR_U8 0x0004 |
| #define | OS_GQR_U16 0x0005 |
| #define | OS_GQR_S8 0x0006 |
| #define | OS_GQR_S16 0x0007 |
| #define | OS_FASTCAST_U8 2 |
| #define | OS_FASTCAST_U16 3 |
| #define | OS_FASTCAST_S8 4 |
| #define | OS_FASTCAST_S16 5 |
Variables | |
| static char | __THP420Error [] = "ERROR: THP only supports 4:2:0!!!\n" |
| static const u8 | __THPJpegNaturalOrder [80] |
| static const f64 | __THPAANScaleFactor [8] |
| static struct THPLCWork | __THPLC |
| u8 * | __THPLCWork672 [3] |
| static struct THPLCSizeEntry | __THPLCSizeTableA [5] |
| static struct THPLCSizeEntry | __THPLCSizeTableB [9] |
| #define THP_SDATA |
| #define THPROUNDUP | ( | a, | |
| b ) |
| #define OS_GQR_F32 0x0000 |
| #define OS_GQR_U8 0x0004 |
| #define OS_GQR_U16 0x0005 |
| #define OS_GQR_S8 0x0006 |
| #define OS_GQR_S16 0x0007 |
| #define OS_FASTCAST_U8 2 |
| #define OS_FASTCAST_U16 3 |
| #define OS_FASTCAST_S8 4 |
| #define OS_FASTCAST_S16 5 |
|
static |
| void __THPPrepBitStream | ( | THPFileInfo * | info | ) |
| s32 THPDec_8032F8D4 | ( | u8 * | data, |
| THPDec_8032FD40_Data * | out ) |
| s32 THPDec_8032FD40 | ( | THPDec_8032FD40_Data * | data, |
| u16 | num ) |
| THPFileInfo * THPVideoDecode | ( | void * | hdr, |
| void * | status_out, | ||
| THPFileInfo * | work, | ||
| void * | data, | ||
| THPDec_8032FD40_Data * | desc ) |
Reads the headers of one compressed THP video frame into work.
| header | Frame dimensions. |
| status_out | Receives the status code: 0 on success, an error code otherwise. |
| work | The decode work area, sized by THPDec_8032FD40. |
| data | The compressed frame data. |
| desc | The image descriptor built by THPDec_8032F8D4. |
work, ready for THPDec_80331340 / THPDec_803313D0, or NULL if the frame could not be read. | void THPDec_803300E0 | ( | THPFileInfo * | info | ) |
Carves the sixteen THPFileInfo::mcuBuffer blocks, 128 bytes each, out of the work area's scratch space, starting at the next 32-byte boundary.
| u8 THPDec_80330158 | ( | THPFileInfo * | info | ) |
| u8 THPDec_803310CC | ( | THPFileInfo * | info | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| void THPDec_80331340 | ( | THPFileInfo * | info, |
| void * | tileY, | ||
| void * | tileU, | ||
| void * | tileV ) |
| void THPDec_803313D0 | ( | THPFileInfo * | info, |
| void * | tileY, | ||
| void * | tileU, | ||
| void * | tileV, | ||
| u32 | x ) |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
| void THPInit | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
| u8 * __THPLCWork672 |
|
static |
|
static |