Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_movie_player.cpp File Reference

Functions

static u32 THPAudioDecode (s16 *audioBuffer, u8 *audioFrame, s32 flag)
 
static s32 __THPAudioGetNewSample (THPAudioDecodeInfo *info)
 
static void __THPAudioInitialize (THPAudioDecodeInfo *info, u8 *ptr)
 
 UNK_BSS (1109)
 
 UNK_BSS (1107)
 
 UNK_BSS (1105)
 
 UNK_BSS (1104)
 
 UNK_BSS (1099)
 
 UNK_BSS (1097)
 
 UNK_BSS (1095)
 
 UNK_BSS (1094)
 
 UNK_BSS (1057)
 
 UNK_BSS (1055)
 
 UNK_BSS (1053)
 
 UNK_BSS (1052)
 
 UNK_BSS (1014)
 
 UNK_BSS (1012)
 
 UNK_BSS (1010)
 
 UNK_BSS (1009)
 
static u8 THPStatistics[1120] ALIGN_DECL (32)
 
static s32 THPVideoDecode (void *file, void *tileY, void *tileU, void *tileV, void *work)
 
static void __THPSetupBuffers ()
 
static u8 __THPReadFrameHeader ()
 
static u8 __THPReadScaneHeader ()
 
static u8 __THPReadQuantizationTable ()
 
static u8 __THPReadHuffmanTableSpecification ()
 
static void __THPHuffGenerateSizeTable ()
 
static void __THPHuffGenerateCodeTable ()
 
static void __THPHuffGenerateDecoderTables (u8 tabIndex)
 
static void __THPRestartDefinition ()
 
static void __THPPrepBitStream ()
 
static void __THPDecompressYUV (void *tileY, void *tileU, void *tileV)
 
static void __THPGQRRestore ()
 
static void __THPGQRSetup ()
 
static void __THPDecompressiMCURow512x448 ()
 
static void __THPInverseDCTY8 (register THPCoeff *in, register u32 xPos)
 
static void __THPInverseDCTNoYPos (register THPCoeff *in, register u32 xPos)
 
static void __THPDecompressiMCURow640x480 ()
 
static void __THPDecompressiMCURowNxN ()
 
static void __THPHuffDecodeDCTCompY (register THPFileInfo *info, THPCoeff *block)
 
static s32 __THPHuffDecodeTab (register THPFileInfo *info, register THPHuffmanTab *h)
 
static void __THPHuffDecodeDCTCompU (register THPFileInfo *info, THPCoeff *block)
 
static void __THPHuffDecodeDCTCompV (register THPFileInfo *info, THPCoeff *block)
 
static BOOL THPInit ()
 
static daMP_Player_c daMP_ActivePlayer ALIGN_DECL (16)
 
voiddaMP_PopReadedBuffer ()
 
void daMP_PushReadedBuffer (void *r3)
 
daMP_THPReadBufferdaMP_PopFreeReadBuffer ()
 
void daMP_PushFreeReadBuffer (void *r3)
 
voiddaMP_PopReadedBuffer2 ()
 
void daMP_PushReadedBuffer2 (void *r3)
 
void daMP_ReadThreadStart ()
 
void daMP_ReadThreadCancel ()
 
void daMP_Reader (void *)
 
static BOOL daMP_CreateReadThread (s32 param_0)
 
OSMessage daMP_PopFreeTextureSet ()
 
void daMP_PushFreeTextureSet (void *r3)
 
voiddaMP_PopDecodedTextureSet (s32 r3)
 
void daMP_PushDecodedTextureSet (void *r3)
 
static void daMP_VideoDecode (daMP_THPReadBuffer *param_0)
 
static void daMP_VideoDecoder (void *param_0)
 
static void daMP_VideoDecoderForOnMemory (void *param_0)
 
static int daMP_CreateVideoDecodeThread (s32 param_0, u8 *param_1)
 
static void daMP_VideoDecodeThreadStart ()
 
void daMP_VideoDecodeThreadCancel ()
 
static OSMessage daMP_PopFreeAudioBuffer ()
 
static void daMP_PushFreeAudioBuffer (void *param_0)
 
static OSMessage daMP_PopDecodedAudioBuffer (s32 param_0)
 
static void daMP_PushDecodedAudioBuffer (void *param_0)
 
static void daMP_AudioDecode (daMP_THPReadBuffer *param_0)
 
static void daMP_AudioDecoder (void *param_0)
 
static void daMP_AudioDecoderForOnMemory (void *param_0)
 
static int daMP_CreateAudioDecodeThread (s32 param_0, u8 *param_1)
 
void daMP_AudioDecodeThreadStart ()
 
void daMP_AudioDecodeThreadCancel ()
 
static void daMP_THPGXRestore ()
 
static f32 dummyLiteral ()
 
static void daMP_THPGXYuv2RgbSetup (GXRenderModeObj const *param_0)
 
static void daMP_THPGXYuv2RgbDraw (u8 *param_0, u8 *param_1, u8 *param_2, s16 param_3, s16 param_4, s16 param_5, s16 param_6, s16 param_7, s16 param_8)
 
 COMPILER_STRIP_GATE (0x80879114, &lit_4894)
 
static void daMP_MixAudio (s16 *param_0, s16 *param_1, u32 param_2)
 
static s16daMP_audioCallbackWithMSound (s32 param_0)
 
static void daMP_audioInitWithMSound ()
 
static void daMP_audioQuitWithMSound ()
 
static void daMP_PushUsedTextureSet (void *param_0)
 
static OSMessage daMP_PopUsedTextureSet ()
 
static int daMP_THPPlayerInit (s32 param_0)
 
static void daMP_THPPlayerQuit ()
 
static BOOL daMP_THPPlayerOpen (char const *filename, int param_1)
 
static int daMP_THPPlayerClose ()
 
static u32 daMP_THPPlayerCalcNeedMemory ()
 
static void daMP_THPPlayerSetBuffer (u8 *param_0)
 
static void daMP_InitAllMessageQueue ()
 
static void daMP_ProperTimingForStart ()
 
static void daMP_ProperTimingForGettingNextFrame ()
 
static void daMP_PlayControl (u32 param_0)
 
s32 daMP_WaitUntilPrepare ()
 
void daMP_PrepareReady (int r3)
 
static BOOL daMP_THPPlayerPrepare (s32 param_0, s32 param_1, s32 param_2)
 
static void daMP_THPPlayerDrawDone ()
 
static int daMP_THPPlayerPlay ()
 
static void daMP_THPPlayerStop ()
 
static int daMP_THPPlayerPause ()
 
static int daMP_THPPlayerDrawCurrentFrame (_GXRenderModeObj const *param_0, u32 param_1, u32 param_2, u32 param_3, u32 param_4)
 
static int daMP_THPPlayerGetVideoInfo (THPVideoInfo *info)
 
static int daMP_THPPlayerGetAudioInfo (THPAudioInfo *info)
 
static u32 daMP_THPPlayerGetTotalFrame ()
 
static int daMP_THPPlayerGetState ()
 
static void daMP_THPPlayerSetVolume (s32 param_0, s32 param_1)
 
static BOOL daMP_ActivePlayer_Init (char const *moviePath)
 
static void daMP_ActivePlayer_Finish ()
 
static void daMP_ActivePlayer_Main ()
 
static void daMP_ActivePlayer_Draw ()
 
static u32 daMP_Get_MovieRestFrame ()
 
static void daMP_Set_PercentMovieVolume (f32 param_0)
 
static int daMP_Callback_Dummy (daMP_c *i_this)
 

Variables

static THPHuffmanTabYdchuff
 
static THPHuffmanTabUdchuff
 
static THPHuffmanTabVdchuff
 
static THPHuffmanTabYachuff
 
static THPHuffmanTabUachuff
 
static THPHuffmanTabVachuff
 
static u8__THPHuffmanBits
 
static u8__THPHuffmanSizeTab
 
static u16__THPHuffmanCodeTab
 
static THPSampleGbase
 
static f32Gq
 
static u8__THPLCWork512 [3]
 
static u8__THPLCWork640 [3]
 
static u32 __THPOldGQR5
 
static u32 __THPOldGQR6
 
static u8__THPWorkArea
 
static THPCoeff__THPMCUBuffer [6]
 
static THPFileInfo__THPInfo
 
static BOOL __THPInitFlag
 
static const u8 __THPJpegNaturalOrder [80]
 
static const f64 __THPAANScaleFactor [8]
 
static BOOL daMP_ReadThreadCreated
 
static OSMessageQueue daMP_FreeReadBufferQueue
 
static OSMessageQueue daMP_ReadedBufferQueue
 
static OSMessageQueue daMP_ReadedBufferQueue2
 
static OSMessage daMP_FreeReadBufferMessage [10]
 
static OSMessage daMP_ReadedBufferMessage [10]
 
static OSMessage daMP_ReadedBufferMessage2 [10]
 
static OSThread daMP_ReadThread
 
static u8 daMP_ReadThreadStack [0x2000]
 
static BOOL daMP_VideoDecodeThreadCreated
 
static OSThread daMP_VideoDecodeThread
 
static u8 daMP_VideoDecodeThreadStack [0x64000]
 
static OSMessageQueue daMP_FreeTextureSetQueue
 
static OSMessageQueue daMP_DecodedTextureSetQueue
 
static OSMessage daMP_FreeTextureSetMessage [3]
 
static OSMessage daMP_DecodedTextureSetMessage [3]
 
static BOOL daMP_First
 
static BOOL daMP_AudioDecodeThreadCreated
 
static OSThread daMP_AudioDecodeThread
 
static u8 daMP_AudioDecodeThreadStack [0x64000]
 
static OSMessageQueue daMP_FreeAudioBufferQueue
 
static OSMessageQueue daMP_DecodedAudioBufferQueue
 
static OSMessage daMP_FreeAudioBufferMessage [3]
 
static OSMessage daMP_DecodedAudioBufferMessage [3]
 
static SECTION_RODATA f32 const lit_4894 = 7.0f / 10.0f
 
static SECTION_DATA u16 daMP_VolumeTable []
 
static BOOL daMP_Initialized
 
static OSMessageQueue daMP_PrepareReadyQueue
 
static OSMessageQueue daMP_UsedTextureSetQueue
 
static OSMessage daMP_PrepareReadyMessage
 
static OSMessage daMP_UsedTextureSetMessage [3]
 
static VIRetraceCallback daMP_OldVIPostCallback
 
static u32 daMP_SoundBufferIndex
 
static u32 daMP_OldAIDCallback
 
static voiddaMP_LastAudioBuffer
 
static voiddaMP_CurAudioBuffer
 
static s32 daMP_AudioSystem
 
static SECTION_DEAD char const *const stringBase_808792E2
 
static SECTION_DEAD char const *const stringBase_8087930E
 
static SECTION_DEAD char const *const stringBase_8087933B
 
static SECTION_DEAD char const *const stringBase_8087936E
 
static SECTION_DEAD char const *const stringBase_80879397
 
static THPVideoInfo daMP_videoInfo
 
static THPAudioInfo daMP_audioInfo
 
static u32 daMP_DrawPosX
 
static u32 daMP_DrawPosY
 
static voiddaMP_buffer
 
static BOOL daMP_Fail_alloc
 
static daMP_Dlst_base_c daMP_c_Dlst_base
 
static actor_method_class daMP_METHODS
 
actor_process_profile_definition g_profile_MOVIE_PLAYER
 
 AUDIO_INSTANCES
 

Function Documentation

◆ __THPAudioGetNewSample()

static s32 __THPAudioGetNewSample ( THPAudioDecodeInfo info)
static

◆ __THPAudioInitialize()

static 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 ( register THPFileInfo info,
THPCoeff block 
)
static

◆ __THPHuffDecodeDCTCompV()

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

◆ __THPHuffDecodeDCTCompY()

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

◆ __THPHuffDecodeTab()

static s32 __THPHuffDecodeTab ( register THPFileInfo info,
register 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 ( register THPCoeff in,
register u32  xPos 
)
static

◆ __THPInverseDCTY8()

static void __THPInverseDCTY8 ( register THPCoeff in,
register 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

◆ ALIGN_DECL() [1/2]

static daMP_Player_c daMP_ActivePlayer ALIGN_DECL ( 16  )
static

◆ ALIGN_DECL() [2/2]

static u32 Gwid ALIGN_DECL ( 32  )
static

◆ COMPILER_STRIP_GATE()

COMPILER_STRIP_GATE ( 0x80879114  ,
lit_4894 
)

◆ daMP_ActivePlayer_Draw()

static void daMP_ActivePlayer_Draw ( )
static

◆ daMP_ActivePlayer_Finish()

static void daMP_ActivePlayer_Finish ( )
static

◆ daMP_ActivePlayer_Init()

static BOOL daMP_ActivePlayer_Init ( char const moviePath)
static

◆ daMP_ActivePlayer_Main()

static void daMP_ActivePlayer_Main ( )
static

◆ daMP_audioCallbackWithMSound()

static s16 * daMP_audioCallbackWithMSound ( s32  param_0)
static

◆ daMP_AudioDecode()

static void daMP_AudioDecode ( daMP_THPReadBuffer param_0)
static

◆ daMP_AudioDecoder()

static void daMP_AudioDecoder ( void param_0)
static

◆ daMP_AudioDecoderForOnMemory()

static void daMP_AudioDecoderForOnMemory ( void param_0)
static

◆ daMP_AudioDecodeThreadCancel()

void daMP_AudioDecodeThreadCancel ( )

◆ daMP_AudioDecodeThreadStart()

void daMP_AudioDecodeThreadStart ( )

◆ daMP_audioInitWithMSound()

static void daMP_audioInitWithMSound ( )
static

◆ daMP_audioQuitWithMSound()

static void daMP_audioQuitWithMSound ( )
static

◆ daMP_Callback_Dummy()

static int daMP_Callback_Dummy ( daMP_c i_this)
static

◆ daMP_CreateAudioDecodeThread()

static int daMP_CreateAudioDecodeThread ( s32  param_0,
u8 param_1 
)
static

◆ daMP_CreateReadThread()

static BOOL daMP_CreateReadThread ( s32  param_0)
static

◆ daMP_CreateVideoDecodeThread()

static int daMP_CreateVideoDecodeThread ( s32  param_0,
u8 param_1 
)
static

◆ daMP_Get_MovieRestFrame()

static u32 daMP_Get_MovieRestFrame ( )
static

◆ daMP_InitAllMessageQueue()

static void daMP_InitAllMessageQueue ( )
static

◆ daMP_MixAudio()

static void daMP_MixAudio ( s16 param_0,
s16 param_1,
u32  param_2 
)
static

◆ daMP_PlayControl()

static void daMP_PlayControl ( u32  param_0)
static

◆ daMP_PopDecodedAudioBuffer()

static OSMessage daMP_PopDecodedAudioBuffer ( s32  param_0)
static

◆ daMP_PopDecodedTextureSet()

void * daMP_PopDecodedTextureSet ( s32  r3)

◆ daMP_PopFreeAudioBuffer()

static OSMessage daMP_PopFreeAudioBuffer ( )
static

◆ daMP_PopFreeReadBuffer()

daMP_THPReadBuffer * daMP_PopFreeReadBuffer ( )

◆ daMP_PopFreeTextureSet()

OSMessage daMP_PopFreeTextureSet ( )

◆ daMP_PopReadedBuffer()

void * daMP_PopReadedBuffer ( )

◆ daMP_PopReadedBuffer2()

void * daMP_PopReadedBuffer2 ( )

◆ daMP_PopUsedTextureSet()

static OSMessage daMP_PopUsedTextureSet ( )
static

◆ daMP_PrepareReady()

void daMP_PrepareReady ( int  r3)

◆ daMP_ProperTimingForGettingNextFrame()

static void daMP_ProperTimingForGettingNextFrame ( )
static

◆ daMP_ProperTimingForStart()

static void daMP_ProperTimingForStart ( )
static

◆ daMP_PushDecodedAudioBuffer()

static void daMP_PushDecodedAudioBuffer ( void param_0)
static

◆ daMP_PushDecodedTextureSet()

void daMP_PushDecodedTextureSet ( void r3)

◆ daMP_PushFreeAudioBuffer()

static void daMP_PushFreeAudioBuffer ( void param_0)
static

◆ daMP_PushFreeReadBuffer()

void daMP_PushFreeReadBuffer ( void r3)

◆ daMP_PushFreeTextureSet()

void daMP_PushFreeTextureSet ( void r3)

◆ daMP_PushReadedBuffer()

void daMP_PushReadedBuffer ( void r3)

◆ daMP_PushReadedBuffer2()

void daMP_PushReadedBuffer2 ( void r3)

◆ daMP_PushUsedTextureSet()

static void daMP_PushUsedTextureSet ( void param_0)
static

◆ daMP_Reader()

void daMP_Reader ( void )

◆ daMP_ReadThreadCancel()

void daMP_ReadThreadCancel ( )

◆ daMP_ReadThreadStart()

void daMP_ReadThreadStart ( )

◆ daMP_Set_PercentMovieVolume()

static void daMP_Set_PercentMovieVolume ( f32  param_0)
static

◆ daMP_THPGXRestore()

static void daMP_THPGXRestore ( )
static

◆ daMP_THPGXYuv2RgbDraw()

static void daMP_THPGXYuv2RgbDraw ( u8 param_0,
u8 param_1,
u8 param_2,
s16  param_3,
s16  param_4,
s16  param_5,
s16  param_6,
s16  param_7,
s16  param_8 
)
static

◆ daMP_THPGXYuv2RgbSetup()

static void daMP_THPGXYuv2RgbSetup ( GXRenderModeObj const param_0)
static

◆ daMP_THPPlayerCalcNeedMemory()

static u32 daMP_THPPlayerCalcNeedMemory ( )
static

◆ daMP_THPPlayerClose()

static int daMP_THPPlayerClose ( )
static

◆ daMP_THPPlayerDrawCurrentFrame()

static int daMP_THPPlayerDrawCurrentFrame ( _GXRenderModeObj const param_0,
u32  param_1,
u32  param_2,
u32  param_3,
u32  param_4 
)
static

◆ daMP_THPPlayerDrawDone()

static void daMP_THPPlayerDrawDone ( )
static

◆ daMP_THPPlayerGetAudioInfo()

static int daMP_THPPlayerGetAudioInfo ( THPAudioInfo info)
static

◆ daMP_THPPlayerGetState()

static int daMP_THPPlayerGetState ( )
static

◆ daMP_THPPlayerGetTotalFrame()

static u32 daMP_THPPlayerGetTotalFrame ( )
static

◆ daMP_THPPlayerGetVideoInfo()

static int daMP_THPPlayerGetVideoInfo ( THPVideoInfo info)
static

◆ daMP_THPPlayerInit()

static int daMP_THPPlayerInit ( s32  param_0)
static

◆ daMP_THPPlayerOpen()

static BOOL daMP_THPPlayerOpen ( char const filename,
int  param_1 
)
static

◆ daMP_THPPlayerPause()

static int daMP_THPPlayerPause ( )
static

◆ daMP_THPPlayerPlay()

static int daMP_THPPlayerPlay ( )
static

◆ daMP_THPPlayerPrepare()

static BOOL daMP_THPPlayerPrepare ( s32  param_0,
s32  param_1,
s32  param_2 
)
static

◆ daMP_THPPlayerQuit()

static void daMP_THPPlayerQuit ( )
static

◆ daMP_THPPlayerSetBuffer()

static void daMP_THPPlayerSetBuffer ( u8 param_0)
static

◆ daMP_THPPlayerSetVolume()

static void daMP_THPPlayerSetVolume ( s32  param_0,
s32  param_1 
)
static

◆ daMP_THPPlayerStop()

static void daMP_THPPlayerStop ( )
static

◆ daMP_VideoDecode()

static void daMP_VideoDecode ( daMP_THPReadBuffer param_0)
static

◆ daMP_VideoDecoder()

static void daMP_VideoDecoder ( void param_0)
static

◆ daMP_VideoDecoderForOnMemory()

static void daMP_VideoDecoderForOnMemory ( void param_0)
static

◆ daMP_VideoDecodeThreadCancel()

void daMP_VideoDecodeThreadCancel ( )

◆ daMP_VideoDecodeThreadStart()

static void daMP_VideoDecodeThreadStart ( )
static

◆ daMP_WaitUntilPrepare()

s32 daMP_WaitUntilPrepare ( )

◆ dummyLiteral()

static f32 dummyLiteral ( )
static

◆ THPAudioDecode()

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

◆ THPInit()

static BOOL THPInit ( )
static

◆ THPVideoDecode()

static s32 THPVideoDecode ( void file,
void tileY,
void tileU,
void tileV,
void work 
)
static

◆ UNK_BSS() [1/16]

UNK_BSS ( 1009  )

◆ UNK_BSS() [2/16]

UNK_BSS ( 1010  )

◆ UNK_BSS() [3/16]

UNK_BSS ( 1012  )

◆ UNK_BSS() [4/16]

UNK_BSS ( 1014  )

◆ UNK_BSS() [5/16]

UNK_BSS ( 1052  )

◆ UNK_BSS() [6/16]

UNK_BSS ( 1053  )

◆ UNK_BSS() [7/16]

UNK_BSS ( 1055  )

◆ UNK_BSS() [8/16]

UNK_BSS ( 1057  )

◆ UNK_BSS() [9/16]

UNK_BSS ( 1094  )

◆ UNK_BSS() [10/16]

UNK_BSS ( 1095  )

◆ UNK_BSS() [11/16]

UNK_BSS ( 1097  )

◆ UNK_BSS() [12/16]

UNK_BSS ( 1099  )

◆ UNK_BSS() [13/16]

UNK_BSS ( 1104  )

◆ UNK_BSS() [14/16]

UNK_BSS ( 1105  )

◆ UNK_BSS() [15/16]

UNK_BSS ( 1107  )

◆ UNK_BSS() [16/16]

UNK_BSS ( 1109  )

Variable Documentation

◆ __THPAANScaleFactor

const f64 __THPAANScaleFactor[8]
static
Initial value:
= {
1.0f, 1.387039845f, 1.306562965f, 1.175875602f, 1.0f, 0.785694958f, 0.541196100f, 0.275899379f,
}

◆ __THPHuffmanBits

u8* __THPHuffmanBits
static

◆ __THPHuffmanCodeTab

u16* __THPHuffmanCodeTab
static

◆ __THPHuffmanSizeTab

u8* __THPHuffmanSizeTab
static

◆ __THPInfo

THPFileInfo* __THPInfo
static

◆ __THPInitFlag

BOOL __THPInitFlag
static

◆ __THPJpegNaturalOrder

const u8 __THPJpegNaturalOrder[80]
static
Initial value:
= {
0, 1, 8, 16, 9, 2, 3, 10, 17, 24, 32, 25, 18, 11, 4, 5, 12, 19, 26, 33,
40, 48, 41, 34, 27, 20, 13, 6, 7, 14, 21, 28, 35, 42, 49, 56, 57, 50, 43, 36,
29, 22, 15, 23, 30, 37, 44, 51, 58, 59, 52, 45, 38, 31, 39, 46, 53, 60, 61, 54,
47, 55, 62, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
}

◆ __THPLCWork512

u8* __THPLCWork512[3]
static

◆ __THPLCWork640

u8* __THPLCWork640[3]
static

◆ __THPMCUBuffer

THPCoeff* __THPMCUBuffer[6]
static

◆ __THPOldGQR5

u32 __THPOldGQR5
static

◆ __THPOldGQR6

u32 __THPOldGQR6
static

◆ __THPWorkArea

u8* __THPWorkArea
static

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ daMP_AudioDecodeThread

OSThread daMP_AudioDecodeThread
static

◆ daMP_AudioDecodeThreadCreated

BOOL daMP_AudioDecodeThreadCreated
static

◆ daMP_AudioDecodeThreadStack

u8 daMP_AudioDecodeThreadStack[0x64000]
static

◆ daMP_audioInfo

THPAudioInfo daMP_audioInfo
static

◆ daMP_AudioSystem

s32 daMP_AudioSystem
static

◆ daMP_buffer

void* daMP_buffer
static

◆ daMP_c_Dlst_base

daMP_Dlst_base_c daMP_c_Dlst_base
static

◆ daMP_CurAudioBuffer

void* daMP_CurAudioBuffer
static

◆ daMP_DecodedAudioBufferMessage

OSMessage daMP_DecodedAudioBufferMessage[3]
static

◆ daMP_DecodedAudioBufferQueue

OSMessageQueue daMP_DecodedAudioBufferQueue
static

◆ daMP_DecodedTextureSetMessage

OSMessage daMP_DecodedTextureSetMessage[3]
static

◆ daMP_DecodedTextureSetQueue

OSMessageQueue daMP_DecodedTextureSetQueue
static

◆ daMP_DrawPosX

u32 daMP_DrawPosX
static

◆ daMP_DrawPosY

u32 daMP_DrawPosY
static

◆ daMP_Fail_alloc

BOOL daMP_Fail_alloc
static

◆ daMP_First

BOOL daMP_First
static

◆ daMP_FreeAudioBufferMessage

OSMessage daMP_FreeAudioBufferMessage[3]
static

◆ daMP_FreeAudioBufferQueue

OSMessageQueue daMP_FreeAudioBufferQueue
static

◆ daMP_FreeReadBufferMessage

OSMessage daMP_FreeReadBufferMessage[10]
static

◆ daMP_FreeReadBufferQueue

OSMessageQueue daMP_FreeReadBufferQueue
static

◆ daMP_FreeTextureSetMessage

OSMessage daMP_FreeTextureSetMessage[3]
static

◆ daMP_FreeTextureSetQueue

OSMessageQueue daMP_FreeTextureSetQueue
static

◆ daMP_Initialized

BOOL daMP_Initialized
static

◆ daMP_LastAudioBuffer

void* daMP_LastAudioBuffer
static

◆ daMP_METHODS

actor_method_class daMP_METHODS
static
Initial value:
= {
}
static int daMP_c_Callback_Init(fopAc_ac_c *)
Definition d_a_movie_player.cpp:3719
static int daMP_c_Callback_Finish(daMP_c *)
Definition d_a_movie_player.cpp:3725
static int daMP_c_Callback_Draw(daMP_c *)
Definition d_a_movie_player.cpp:3739
static int daMP_c_Callback_Main(daMP_c *)
Definition d_a_movie_player.cpp:3730
static int daMP_Callback_Dummy(daMP_c *i_this)
Definition d_a_movie_player.cpp:3748
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ daMP_OldAIDCallback

u32 daMP_OldAIDCallback
static

◆ daMP_OldVIPostCallback

VIRetraceCallback daMP_OldVIPostCallback
static

◆ daMP_PrepareReadyMessage

OSMessage daMP_PrepareReadyMessage
static

◆ daMP_PrepareReadyQueue

OSMessageQueue daMP_PrepareReadyQueue
static

◆ daMP_ReadedBufferMessage

OSMessage daMP_ReadedBufferMessage[10]
static

◆ daMP_ReadedBufferMessage2

OSMessage daMP_ReadedBufferMessage2[10]
static

◆ daMP_ReadedBufferQueue

OSMessageQueue daMP_ReadedBufferQueue
static

◆ daMP_ReadedBufferQueue2

OSMessageQueue daMP_ReadedBufferQueue2
static

◆ daMP_ReadThread

OSThread daMP_ReadThread
static

◆ daMP_ReadThreadCreated

BOOL daMP_ReadThreadCreated
static

◆ daMP_ReadThreadStack

u8 daMP_ReadThreadStack[0x2000]
static

◆ daMP_SoundBufferIndex

u32 daMP_SoundBufferIndex
static

◆ daMP_UsedTextureSetMessage

OSMessage daMP_UsedTextureSetMessage[3]
static

◆ daMP_UsedTextureSetQueue

OSMessageQueue daMP_UsedTextureSetQueue
static

◆ daMP_VideoDecodeThread

OSThread daMP_VideoDecodeThread
static

◆ daMP_VideoDecodeThreadCreated

BOOL daMP_VideoDecodeThreadCreated
static

◆ daMP_VideoDecodeThreadStack

u8 daMP_VideoDecodeThreadStack[0x64000]
static

◆ daMP_videoInfo

THPVideoInfo daMP_videoInfo
static

◆ daMP_VolumeTable

SECTION_DATA u16 daMP_VolumeTable[]
static
Initial value:
= {
0x0000, 0x0002, 0x0008, 0x0012, 0x0020, 0x0032, 0x0049, 0x0063,
0x0082, 0x00A4, 0x00CB, 0x00F5, 0x0124, 0x0157, 0x018E, 0x01C9,
0x0208, 0x024B, 0x0292, 0x02DD, 0x032C, 0x037F, 0x03D7, 0x0432,
0x0492, 0x04F5, 0x055D, 0x05C9, 0x0638, 0x06AC, 0x0724, 0x07A0,
0x0820, 0x08A4, 0x092C, 0x09B8, 0x0A48, 0x0ADD, 0x0B75, 0x0C12,
0x0CB2, 0x0D57, 0x0DFF, 0x0EAC, 0x0F5D, 0x1012, 0x10CA, 0x1187,
0x1248, 0x130D, 0x13D7, 0x14A4, 0x1575, 0x164A, 0x1724, 0x1801,
0x18E3, 0x19C8, 0x1AB2, 0x1BA0, 0x1C91, 0x1D87, 0x1E81, 0x1F7F,
0x2081, 0x2187, 0x2291, 0x239F, 0x24B2, 0x25C8, 0x26E2, 0x2801,
0x2923, 0x2A4A, 0x2B75, 0x2CA3, 0x2DD6, 0x2F0D, 0x3048, 0x3187,
0x32CA, 0x3411, 0x355C, 0x36AB, 0x37FF, 0x3956, 0x3AB1, 0x3C11,
0x3D74, 0x3EDC, 0x4048, 0x41B7, 0x432B, 0x44A3, 0x461F, 0x479F,
0x4923, 0x4AAB, 0x4C37, 0x4DC7, 0x4F5C, 0x50F4, 0x5290, 0x5431,
0x55D6, 0x577E, 0x592B, 0x5ADC, 0x5C90, 0x5E49, 0x6006, 0x61C7,
0x638C, 0x6555, 0x6722, 0x68F4, 0x6AC9, 0x6CA2, 0x6E80, 0x7061,
0x7247, 0x7430, 0x761E, 0x7810, 0x7A06, 0x7C00, 0x7DFE, 0x8000,
}

◆ g_profile_MOVIE_PLAYER

actor_process_profile_definition g_profile_MOVIE_PLAYER
extern
Initial value:
= {
7,
&g_fpcLf_Method.mBase,
sizeof(daMP_c),
0,
0,
9,
0x0006C000,
}
Movie Player.
Definition d_a_movie_player.h:113
void * g_fopAc_Method[8]
void * g_fpcLf_Method[5+1]
Definition f_pc_leaf.cpp:65
static actor_method_class daMP_METHODS
Definition d_a_movie_player.cpp:3753
@ PROC_MOVIE_PLAYER
Definition d_procname.h:741
@ fopAc_CULLBOX_CUSTOM_e
Definition f_op_actor.h:67
@ fopAc_ACTOR_e
Definition f_op_actor.h:38
@ fpcLy_CURRENT_e
Definition f_pc_layer_tag.h:9
@ fpcPi_CURRENT_e
Definition f_pc_priority.h:8

◆ Gbase

THPSample* Gbase
static

◆ Gq

f32* Gq
static

◆ lit_4894

SECTION_RODATA f32 const lit_4894 = 7.0f / 10.0f
static

◆ stringBase_808792E2

SECTION_DEAD char const* const stringBase_808792E2
static
Initial value:
=
"This thp file doesn't have the offset data\n"

◆ stringBase_8087930E

SECTION_DEAD char const* const stringBase_8087930E
static
Initial value:
=
"Fail to read the offset data from THP file.\n"

◆ stringBase_8087933B

SECTION_DEAD char const* const stringBase_8087933B
static
Initial value:
=
"Specified frame number is over total frame numbe"
"r\n"

◆ stringBase_8087936E

SECTION_DEAD char const* const stringBase_8087936E
static
Initial value:
=
"Specified audio track number is invalid\n"

◆ stringBase_80879397

SECTION_DEAD char const* const stringBase_80879397
static
Initial value:
=
"Fail to read all movie data from THP file\n"

◆ Uachuff

THPHuffmanTab* Uachuff
static

◆ Udchuff

THPHuffmanTab* Udchuff
static

◆ Vachuff

THPHuffmanTab* Vachuff
static

◆ Vdchuff

THPHuffmanTab* Vdchuff
static

◆ Yachuff

THPHuffmanTab* Yachuff
static

◆ Ydchuff

THPHuffmanTab* Ydchuff
static