Movie (THP) API Function List

Low-level APIs

THPInit Prepares for extraction with the THP library.
THPVideoDecode Extracts the THP video data.
THPAudioDecode Extracts THP audio data.

THP Simple Player and THP Player

THPVideoInfo Structure that maintains information about the THP video data.
THPAudioInfo Structure that maintains information about the THP audio data.

THP Simple Player

THPSimpleInit Initializes the THP simple player.
THPSimpleQuit Discards the THP simple player.
THPSimpleOpen Opens the THP movie data.
THPSimpleClose Closes the THP movie data.
THPSimpleCalcNeedMemory Calculates the size of the work area that THP simple player uses.
THPSimpleSetBuffer Registers the work area in the THP simple player.
THPSimpleSetSoundMode Sets the THP simple player's output mode.
THPSimpleGetSoundMode Gets the THP simple player's output mode.
THPSimplePreLoad Preloads movie data in order to start THP movie data playback.
THPSimpleLoadStop Stops preloading movie data and restores THP simple player to its initial state.
THPSimpleDecode Extracts THP video data and THP audio data.
THPSimpleDrawCurrentFrame Renders the extracted THP video data.
THPSimpleAudioStart Permits playback of THP audio data to start.
THPSimpleAudioStop Prohibits the playback of THP audio data.
THPSimpleSetVolume Sets the audio playback volume.
THPSimpleGetVolume Obtains the current playback volume.
THPSimpleGetVideoInfo Gets information about the THP video data.
THPSimpleGetAudioInfo Gets information about the THP audio data.
THPSimpleGetFrameRate Gets the frame rate of the THP movie data.
THPSimpleGetTotalFrame Gets the total number of frames in the THP movie data.

THP Player

THPPlayerInit Initializes the THP player.
THPPlayerQuit Discards the THP player.
THPPlayerOpen Opens the THP movie data.
THPPlayerClose Closes the THP movie data.
THPPlayerCalcNeedMemory Calculates the size of the work area that the THP player uses.
THPPlayerSetBuffer Registers the work area in the THP player.
THPPlayerSetSoundMode Sets the THP player's output mode.
THPPlayerGetSoundMode Gets the THP player's output mode.
THPPlayerPrepare Specifies how to play back the THP movie data and the starting frame.
THPPlayerPlay Starts THP movie data playback.
THPPlayerStop Stops THP movie data playback.
THPPlayerPause Pauses THP movie data playback.
THPPlayerSkip Advances the THP movie data playback by one frame.
THPPlayerDrawCurrentFrame Renders the THP video data that should be currently displayed.
THPPlayerDrawDone Called instead of the GXDrawDone function when THP movie data is playing.
THPPlayerSetVolume Sets the audio playback volume.
THPPlayerGetVolume Obtains the current playback volume.
THPPlayerGetVideoInfo Gets information about the THP video data.
THPPlayerGetAudioInfo Gets information about the THP audio data.
THPPlayerGetFrameRate Gets the frame rate of the THP movie data.
THPPlayerGetTotalFrame Gets the total number of frames in the THP movie data.
THPPlayerGetState Gets the current status of the THP player.




CONFIDENTIAL