1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>THPPlayerCalcNeedMemory</title>
10</head>
11
12<body>
13
14<h1>THPPlayerCalcNeedMemory</h1>
15<h2>C Specification</h2>
16
17<dl>
18<dd><pre><code>#include &quot;THPPlayer.h&quot;</code></pre>
19  </dd>
20<dd><pre><CODE>u32 THPPlayerCalcNeedMemory(void);</CODE></pre>
21  </dd>
22</dl>
23
24<h2>Arguments</h2>
25<p>None.</p>
26
27<h2>Return Values</h2>
28<p>Returns the work buffer size, if successful; 0 otherwise. </p>
29
30<H2>Description</H2>
31<p>This function calculates the work buffer size that the player needs to playback THP movie data.</p>
32
33<p>The work buffer size depends on the THP movie data. Always call this function to obtain the correct size information when starting to playback new THP movie data.  </p>
34
35<H2>See Also</H2>
36
37<H2>Revision History</H2>
38<P>2006/03/01 Initial version.</P>
39
40<hr>
41<P>CONFIDENTIAL</p>
42</BODY>
43</HTML>
44