1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="content-type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<BASE target="main"> 9<TITLE>THP TOOL API Menu</TITLE> 10</HEAD> 11<BODY> 12<H1><A name="thp">Movie Tools (THP Tools) API Function List</a></H1> 13 14<H3><a name="thpcore">thpcore</a></H3> 15<TABLE class="api_list" border="1"> 16 <TBODY> 17 <TR> 18<TH><A href="thpcore/THPConvertJPEG2THP.html">THPConvertJPEG2THP</A></TH> 19<TD>Converts JPEG data into THP video data.</TD> 20 </TR> 21 <TR> 22<TH><A href="thpcore/THPPrintXXXX.html"> THPPrint<br>THPPrintError<br>THPPrintLog</A></TH> 23<TD>Outputs a character string.</TD> 24 </TR> 25 <TR> 26<TH><A href="thpcore/THPPrintXXXXFunc.html"> THPPrintFunc<br>THPPrintErrorFunc<br>THPPrintLogFunc</A></TH> 27<TD>Registers the character string output function.</TD> 28 </TR> 29 <TR> 30<TH><A href="thpcore/THPMalloc.html"> THPMalloc<br>THPFree</A></TH> 31<TD>Register the functions for allocating and deallocating memory.</TD> 32 </TR> 33 <TR> 34<TH><A href="thpcore/THPImageStatus.html">THPImageStatus</A></TH> 35<TD>Structure that contains information about the THP video data.</TD> 36 </TR> 37 <TR> 38<TH><A href="thpcore/THPVerboseFlag.html">THPVerboseFlag</A></TH> 39<TD>Sets the verbose flag.</TD> 40 </TR> 41 </TBODY> 42</TABLE> 43 44<H3><a name="thpaudio">thpaudio</a></H3> 45<TABLE class="api_list" border="1"> 46 <TBODY> 47 <TR> 48<TH><A href="thpaudio/THPAudioInit.html">THPAudioInit</A></TH> 49<TD>Loads <CODE>dsptool.dll</CODE> and initializes the pointer for this function.</TD> 50 </TR> 51 <TR> 52<TH><A href="thpaudio/THPAudioQuit.html">THPAudioQuit</A></TH> 53<TD>Call this function when finishing THP audio data conversion.</TD> 54 </TR> 55 <TR> 56<TH><A href="thpaudio/THPAudioCreateHandle.html">THPAudioCreateHandle</A></TH> 57<TD>Reads information about the WAV file and sets the information in the <code>THPAudioHandle</code> structure.</TD> 58 </TR> 59 <TR> 60<TH><A href="thpaudio/THPAudioFreeHandle.html">THPAudioFreeHandle</A></TH> 61<TD>Releases the <code>THPAudioHandle</code> structure.</TD> 62 </TR> 63 <TR> 64<TH><A href="thpaudio/THPAudioGetInfo.html">THPAudioGetInfo</A></TH> 65<TD>Gets the number of channels and the playback frequency from the <code>THPAudioHandle</code> structure.</TD> 66 </TR> 67 <TR> 68<TH><A href="thpaudio/THPAudioGetTotalSamples.html">THPAudioGetTotalSamples</A></TH> 69<TD>Calculates the number of audio data samples required for the THP movie data.</TD> 70 </TR> 71 <TR> 72<TH><A href="thpaudio/THPAudioGetFrameSize.html">THPAudioGetFrameSize</A></TH> 73<TD>Calculates the size of THP audio data required for the specified frame of THP movie data.</TD> 74 </TR> 75 <TR> 76<TH><A href="thpaudio/THPAudioGetMaxFrameSize.html">THPAudioGetMaxFrameSize</A></TH> 77<TD>Calculates the size of the audio data for each frame of the THP movie data and returns the largest size.</TD> 78 </TR> 79 <TR> 80<TH><A href="thpaudio/THPAudioGetMaxFrameSamples.html">THPAudioGetMaxFrameSamples</A></TH> 81<TD>Calculates the number of samples in the audio data for each frame in the THP movie data and returns the maximum value.</TD> 82 </TR> 83 <TR> 84<TH><A href="thpaudio/THPAudioWriteFrame.html">THPAudioWriteFrame</A></TH> 85<TD>Encodes audio data using ADPCM.</TD> 86 </TR> 87 <TR> 88<TH><A href="thpaudio/THPAudioHandle.html">THPAudioHandle</A></TH> 89<TD>Retains the information needed for creating THP audio data.</TD> 90 </TR> 91 <TR> 92<TH><A href="thpaudio/THPAudioFileInfo.html">THPAudioFileInfo</A></TH> 93<TD>Retains the information for the original WAV data that is converted into THP audio data.</TD> 94 </TR> 95 </TBODY> 96</TABLE> 97 98<H3><a name="thputilities">thputilities</a></H3> 99<TABLE class="api_list" border="1"> 100 <TBODY> 101 <TR> 102<TH><A href="thputilities/THPUtyConvertToUnixFmt.html">THPUtyConvertToUnixFmt</A></TH> 103<TD>Converts a UNIX path into a DOS path.</TD> 104 </TR> 105 <TR> 106<TH><A href="thputilities/THPUtyReverseEndianU16.html">THPUtyReverseEndianU16</A></TH> 107<TD>Converts the endian of an integer value (u16).</TD> 108 </TR> 109 <TR> 110<TH><A href="thputilities/THPUtyReverseEndianU32.html">THPUtyReverseEndianU32</A></TH> 111<TD>Converts the endian of an integer value (u32).</TD> 112 </TR> 113 <TR> 114<TH><A href="thputilities/THPUtyReverseEndianF32.html">THPUtyReverseEndianF32</A></TH> 115<TD>Converts the endian of a floating point value (f32).</TD> 116 </TR> 117 <TR> 118<TH><A href="thputilities/THPUtyWritePad32.html">THPUtyWritePad32</A></TH> 119<TD>Outputs NULL to file with a 32-byte alignment.</TD> 120 </TR> 121 <TR> 122<TH><A href="thputilities/THPUtyPutU32.html">THPUtyPutU32</A></TH> 123<TD>Converts and then outputs the endian of an integer value (u32).</TD> 124 </TR> 125 <TR> 126<TH><A href="thputilities/THPUtyPutF32.html">THPUtyPutF32</A></TH> 127<TD>Converts and then outputs the endian of a floating point value (f32).</TD> 128 </TR> 129 <TR> 130<TH><A href="thputilities/THPUtyHeaderInit.html">THPUtyHeaderInit</A></TH> 131<TD>Initializes the <code>THPHeader</code> structure.</TD> 132 </TR> 133 <TR> 134<TH><A href="thputilities/THPUtyWriteTHPHeader.html">THPUtyWriteTHPHeader</A></TH> 135<TD>Outputs the <code>THPHeader</code> structure.</TD> 136 </TR> 137 <TR> 138<TH><A href="thputilities/THPUtyWriteTHPFrameCompInfo.html">THPUtyWriteTHPFrameCompInfo</A></TH> 139<TD>Outputs the <code>THPFrameCompInfo</code> structure.</TD> 140 </TR> 141 <TR> 142<TH><A href="thputilities/THPUtyWriteTHPVideoInfo.html">THPUtyWriteTHPVideoInfo</A></TH> 143<TD>Outputs the <code>THPVideoInfo</code> structure.</TD> 144 </TR> 145 <TR> 146<TH><A href="thputilities/THPUtyWriteTHPAudioInfo.html">THPUtyWriteTHPAudioInfo</A></TH> 147<TD>Outputs the <code>THPAudioInfo</code> structure.</TD> 148 </TR> 149 <TR> 150<TH><A href="thputilities/THPUtyWriteTHPFrameHeader.html">THPUtyWriteTHPFrameHeader</A></TH> 151<TD>Outputs the <code>THPFrameHeader</code>structure.</TD> 152 </TR> 153 <TR> 154<TH><A href="thputilities/THPUtyWriteTHPComponentsInfo.html">THPUtyWriteTHPComponentsInfo</A></TH> 155<TD>Outputs the <code>THPVideoInfo</code> and the <code>THPAudioInfo</code> structures.</TD> 156 </TR> 157 <TR> 158<TH><A href="thputilities/THPUtyWriteTHPFileHeader.html">THPUtyWriteTHPFileHeader</A></TH> 159<TD>Outputs the <code>THPFileHeader</code> structure.</TD> 160 </TR> 161 <TR> 162<TH><A href="thputilities/THPUtyReadTHPHeader.html">THPUtyReadTHPHeader</A></TH> 163<TD>Reads the <code>THPHeader</code> structure.</TD> 164 </TR> 165 <TR> 166<TH><A href="thputilities/THPUtyReadTHPFrameCompInfo.html">THPUtyReadTHPFrameCompInfo</A></TH> 167<TD>Reads the <code>THPFrameCompInfo</code> structure.</TD> 168 </TR> 169 <TR> 170<TH><A href="thputilities/THPUtyReadTHPVideoInfo.html">THPUtyReadTHPVideoInfo</A></TH> 171<TD>Reads the <code>THPVideoInfo</code> structure.</TD> 172 </TR> 173 <TR> 174<TH><A href="thputilities/THPUtyReadTHPVideoInfoOld.html">THPUtyReadTHPVideoInfoOld</A></TH> 175<TD>Reads the <code>THPVideoInfo</code> structure from the THP movie data (for version 1.0 and earlier versions).</TD> 176 </TR> 177 <TR> 178<TH><A href="thputilities/THPUtyReadTHPAudioInfo.html">THPUtyReadTHPAudioInfo</A></TH> 179<TD>Reads the <code>THPVAudioInfo</code> structure.</TD> 180 </TR> 181 <TR> 182<TH><A href="thputilities/THPUtyReadTHPAudioInfoOld.html">THPUtyReadTHPAudioInfoOld</A></TH> 183<TD>Reads the <code>THPAudioInfo</code> structure from the THP movie data (for version 1.0 and earlier versions).</TD> 184 </TR> 185 <TR> 186<TH><A href="thputilities/THPUtyReadTHPFrameHeader.html">THPUtyReadTHPFrameHeader</A></TH> 187<TD>Reads the <code>THPFrameHeader</code> structure.</TD> 188 </TR> 189 <TR> 190<TH><A href="thputilities/THPUtyReadTHPFileHeader.html">THPUtyReadTHPFileHeader</A></TH> 191<TD>Reads the <code>THPFileHeader</code> structure.</TD> 192 </TR> 193 <TR> 194<TH><A href="thputilities/THPUtyCopyTHPFile.html">THPUtyCopyTHPFile</A></TH> 195<TD>Copies the THP movie data.</TD> 196 </TR> 197 <TR> 198<TH><A href="thputilities/THPUtyCreateTHP.html">THPUtyCreateTHP</A></TH> 199<TD>Creates THP movie data.</TD> 200 </TR> 201 <TR> 202<TH><A href="thputilities/THPUtyChangeAudioTrack.html">THPUtyChangeAudioTrack</A></TH> 203<TD>Switches the audio track of the THP movie data.</TD> 204 </TR> 205 </TBODY> 206</TABLE> 207<br><br><br> 208<hr><p>CONFIDENTIAL</p></body> 209</HTML> 210 211