Loading [MathJax]/extensions/MathZoom.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
d_a_movie_player.h File Reference

Go to the source code of this file.

Classes

struct  _THPHuffmanTab
 
struct  _THPComponent
 
struct  _THPFileInfo
 
struct  THPAudioRecordHeader
 
struct  THPAudioDecodeInfo
 
class  daMP_c
 Movie Player. More...
 
struct  daMP_THPReadBuffer
 
class  daMP_Dlst_base_c
 
struct  THPVideoInfo
 
struct  THPAudioInfo
 
struct  daMP_Player_c
 

Typedefs

typedef u8 THPSample
 
typedef s16 THPCoeff
 
typedef f32 THPQuantTab[64]
 
typedef struct _THPHuffmanTab THPHuffmanTab
 
typedef struct _THPComponent THPComponent
 
typedef struct _THPFileInfo THPFileInfo
 
typedef struct THPAudioRecordHeader THPAudioRecordHeader
 
typedef struct THPAudioDecodeInfo THPAudioDecodeInfo
 

Functions

static u32 THPAudioDecode (s16 *audioBuffer, u8 *audioFrame, s32 flag)
 
static s32 __THPAudioGetNewSample (THPAudioDecodeInfo *info)
 
static void __THPAudioInitialize (THPAudioDecodeInfo *info, u8 *ptr)
 
static void __THPSetupBuffers (void)
 
static u8 __THPReadFrameHeader (void)
 
static u8 __THPReadScaneHeader (void)
 
static u8 __THPReadQuantizationTable (void)
 
static u8 __THPReadHuffmanTableSpecification (void)
 
static void __THPHuffGenerateSizeTable (void)
 
static void __THPHuffGenerateCodeTable (void)
 
static void __THPHuffGenerateDecoderTables (u8 tabIndex)
 
static void __THPRestartDefinition (void)
 
static void __THPPrepBitStream (void)
 
static void __THPDecompressYUV (void *tileY, void *tileU, void *tileV)
 
static void __THPGQRRestore (void)
 
static void __THPDecompressiMCURow512x448 (void)
 
static void __THPDecompressiMCURow640x480 (void)
 
static void __THPDecompressiMCURowNxN (void)
 
static void __THPInverseDCTNoYPos (THPCoeff *in, u32 xPos)
 
static void __THPHuffDecodeDCTCompY (THPFileInfo *info, THPCoeff *block)
 
static void __THPHuffDecodeDCTCompU (THPFileInfo *info, THPCoeff *block)
 
static void __THPHuffDecodeDCTCompV (THPFileInfo *info, THPCoeff *block)
 
static void __THPInverseDCTY8 (THPCoeff *in, u32 xPos)
 
static void __THPGQRSetup ()
 
static s32 __THPHuffDecodeTab (THPFileInfo *info, THPHuffmanTab *h)
 
 STATIC_ASSERT (sizeof(daMP_c)==0x580)
 
s32 daMP_NEXT_READ_SIZE (daMP_THPReadBuffer *readBuf)
 
void daMP_PrepareReady (int)
 

Typedef Documentation

◆ THPAudioDecodeInfo

typedef struct THPAudioDecodeInfo THPAudioDecodeInfo

◆ THPAudioRecordHeader

typedef struct THPAudioRecordHeader THPAudioRecordHeader

◆ THPCoeff

typedef s16 THPCoeff

◆ THPComponent

typedef struct _THPComponent THPComponent

◆ THPFileInfo

typedef struct _THPFileInfo THPFileInfo

◆ THPHuffmanTab

typedef struct _THPHuffmanTab THPHuffmanTab

◆ THPQuantTab

typedef f32 THPQuantTab[64]

◆ THPSample

typedef u8 THPSample

Function Documentation

◆ __THPAudioGetNewSample()

s32 __THPAudioGetNewSample ( THPAudioDecodeInfo * info)
static

◆ __THPAudioInitialize()

void __THPAudioInitialize ( THPAudioDecodeInfo * info,
u8 * ptr )
static

◆ __THPDecompressiMCURow512x448()

static void __THPDecompressiMCURow512x448 ( void )
static

◆ __THPDecompressiMCURow640x480()

static void __THPDecompressiMCURow640x480 ( void )
static

◆ __THPDecompressiMCURowNxN()

static void __THPDecompressiMCURowNxN ( void )
static

◆ __THPDecompressYUV()

static void __THPDecompressYUV ( void * tileY,
void * tileU,
void * tileV )
static

◆ __THPGQRRestore()

static void __THPGQRRestore ( void )
static

◆ __THPGQRSetup()

static void __THPGQRSetup ( )
static

◆ __THPHuffDecodeDCTCompU()

static void __THPHuffDecodeDCTCompU ( THPFileInfo * info,
THPCoeff * block )
static

◆ __THPHuffDecodeDCTCompV()

static void __THPHuffDecodeDCTCompV ( THPFileInfo * info,
THPCoeff * block )
static

◆ __THPHuffDecodeDCTCompY()

static void __THPHuffDecodeDCTCompY ( THPFileInfo * info,
THPCoeff * block )
static

◆ __THPHuffDecodeTab()

static s32 __THPHuffDecodeTab ( THPFileInfo * info,
THPHuffmanTab * h )
static

◆ __THPHuffGenerateCodeTable()

static void __THPHuffGenerateCodeTable ( void )
static

◆ __THPHuffGenerateDecoderTables()

static void __THPHuffGenerateDecoderTables ( u8 tabIndex)
static

◆ __THPHuffGenerateSizeTable()

static void __THPHuffGenerateSizeTable ( void )
static

◆ __THPInverseDCTNoYPos()

static void __THPInverseDCTNoYPos ( THPCoeff * in,
u32 xPos )
static

◆ __THPInverseDCTY8()

static void __THPInverseDCTY8 ( THPCoeff * in,
u32 xPos )
static

◆ __THPPrepBitStream()

static void __THPPrepBitStream ( void )
static

◆ __THPReadFrameHeader()

static u8 __THPReadFrameHeader ( void )
static

◆ __THPReadHuffmanTableSpecification()

static u8 __THPReadHuffmanTableSpecification ( void )
static

◆ __THPReadQuantizationTable()

static u8 __THPReadQuantizationTable ( void )
static

◆ __THPReadScaneHeader()

static u8 __THPReadScaneHeader ( void )
static

◆ __THPRestartDefinition()

static void __THPRestartDefinition ( void )
static

◆ __THPSetupBuffers()

static void __THPSetupBuffers ( void )
static

◆ daMP_NEXT_READ_SIZE()

s32 daMP_NEXT_READ_SIZE ( daMP_THPReadBuffer * readBuf)
inline

◆ daMP_PrepareReady()

void daMP_PrepareReady ( int r3)

◆ STATIC_ASSERT()

STATIC_ASSERT ( sizeof(daMP_c) = =0x580)

◆ THPAudioDecode()

static u32 THPAudioDecode ( s16 * audioBuffer,
u8 * audioFrame,
s32 flag )
static