Movie Tools (THP Tools) API Function List

thpcore

THPConvertJPEG2THP Converts JPEG data into THP video data.
THPPrint
THPPrintError
THPPrintLog
Outputs a character string.
THPPrintFunc
THPPrintErrorFunc
THPPrintLogFunc
Registers the character string output function.
THPMalloc
THPFree
Register the functions for allocating and deallocating memory.
THPImageStatus Structure that contains information about the THP video data.
THPVerboseFlag Sets the verbose flag.

thpaudio

THPAudioInit Loads dsptool.dll and initializes the pointer for this function.
THPAudioQuit Call this function when finishing THP audio data conversion.
THPAudioCreateHandle Reads information about the WAV file and sets the information in the THPAudioHandle structure.
THPAudioFreeHandle Releases the THPAudioHandle structure.
THPAudioGetInfo Gets the number of channels and the playback frequency from the THPAudioHandle structure.
THPAudioGetTotalSamples Calculates the number of audio data samples required for the THP movie data.
THPAudioGetFrameSize Calculates the size of THP audio data required for the specified frame of THP movie data.
THPAudioGetMaxFrameSize Calculates the size of the audio data for each frame of the THP movie data and returns the largest size.
THPAudioGetMaxFrameSamples Calculates the number of samples in the audio data for each frame in the THP movie data and returns the maximum value.
THPAudioWriteFrame Encodes audio data using ADPCM.
THPAudioHandle Retains the information needed for creating THP audio data.
THPAudioFileInfo Retains the information for the original WAV data that is converted into THP audio data.

thputilities

THPUtyConvertToUnixFmt Converts a UNIX path into a DOS path.
THPUtyReverseEndianU16 Converts the endian of an integer value (u16).
THPUtyReverseEndianU32 Converts the endian of an integer value (u32).
THPUtyReverseEndianF32 Converts the endian of a floating point value (f32).
THPUtyWritePad32 Outputs NULL to file with a 32-byte alignment.
THPUtyPutU32 Converts and then outputs the endian of an integer value (u32).
THPUtyPutF32 Converts and then outputs the endian of a floating point value (f32).
THPUtyHeaderInit Initializes the THPHeader structure.
THPUtyWriteTHPHeader Outputs the THPHeader structure.
THPUtyWriteTHPFrameCompInfo Outputs the THPFrameCompInfo structure.
THPUtyWriteTHPVideoInfo Outputs the THPVideoInfo structure.
THPUtyWriteTHPAudioInfo Outputs the THPAudioInfo structure.
THPUtyWriteTHPFrameHeader Outputs the THPFrameHeaderstructure.
THPUtyWriteTHPComponentsInfo Outputs the THPVideoInfo and the THPAudioInfo structures.
THPUtyWriteTHPFileHeader Outputs the THPFileHeader structure.
THPUtyReadTHPHeader Reads the THPHeader structure.
THPUtyReadTHPFrameCompInfo Reads the THPFrameCompInfo structure.
THPUtyReadTHPVideoInfo Reads the THPVideoInfo structure.
THPUtyReadTHPVideoInfoOld Reads the THPVideoInfo structure from the THP movie data (for version 1.0 and earlier versions).
THPUtyReadTHPAudioInfo Reads the THPVAudioInfo structure.
THPUtyReadTHPAudioInfoOld Reads the THPAudioInfo structure from the THP movie data (for version 1.0 and earlier versions).
THPUtyReadTHPFrameHeader Reads the THPFrameHeader structure.
THPUtyReadTHPFileHeader Reads the THPFileHeader structure.
THPUtyCopyTHPFile Copies the THP movie data.
THPUtyCreateTHP Creates THP movie data.
THPUtyChangeAudioTrack Switches the audio track of the THP movie data.




CONFIDENTIAL