1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
4<meta http-equiv="Content-Style-Type" content="text/css">
5<title>TCL_GetJpegEncoderBufferSize</title>
6<link rel="stylesheet" href="../css/nitro.css" type="text/css">
7</head>
8<body>
9<h1 align="left">TCL_GetJpegEncoderBufferSize <img src="../image/TWL.gif" align="middle"></h1>
10
11<h2>Definition</h2>
12<dl>
13	<dd>
14	<code>#include &lt;twl/tcl.h&gt;</code><br/>
15	<br/>
16	<pre><code>
17u32 TCL_GetJpegEncoderBufferSize( u32 option );
18	</code></pre>
19</dl>
20
21<h2>Arguments</h2>
22<p>
23<table>
24<tr><td><SPAN class="argument">option</SPAN><td>Option passed to <code>SSP_GetJpegEncoderFastBufferSize</code>.</table>
25</p>
26
27<h2>Return Values</h2>
28<p>Return value for <code>SSP_GetJpegEncoderFastBufferSize</code>.</p>
29
30<h2>Description</h2>
31<p>Returns the JPEG encoding work buffer size when calling the <a href="TCL_EncodeAndWritePicture.html"><code>TCL_EncodeAndWritePicture(Ex)</code></a> functions.</p>
32<p><code>SSP_JPEG_THUMBNAIL</code> is automatically added to the <code>option</code> passed here.</p>
33<p>The <code>option</code> passed to this function and the <code>option</code> passed to the <a href="TCL_EncodeAndWritePicture.html"><code>TCL_EncodeAndWritePicture(Ex)</code></a> functions should be the same.</p>
34
35<h2>See Also</h2>
36<p><a href="TCL_EncodeAndWritePicture.html"><code>TCL_EncodeAndWritePicture(Ex)</code></a></p>
37
38<h2>Revision History</h2>
39<p>
402009/06/29 Changed the SSP function that is called.<br> 2009/04/30 Changed the SSP function that is called.<br> 2008/12/05 Initial version.
41</p>
42
43<hr><p>CONFIDENTIAL</p></body>
44</html>
45