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 <twl/tcl.h></code><br/> <br/> 15 <pre><code> 16u32 TCL_GetJpegEncoderBufferSize( u32 option ); 17 </code></pre> 18</dl> 19 20<h2>Arguments</h2> 21<p> 22<table> 23<tr><td><CODE>option</CODE><td>Option passed to <code>SSP_GetJpegEncoderBufferSize</code>.</table> 24</p> 25 26<h2>Return Values</h2> 27<p>Return value for <code>SSP_GetJpegEncoderBufferSize</code>.</p> 28 29<h2>Description</h2> 30<p>Returns the JPEG encoding work buffer size when calling the <a href="TCL_EncodeAndWritePicture.html"><code>TCL_EncodeAndWritePicture(Ex)</code></a> functions.</p> 31<p>Internally, <code>SSP_JPEG_THUMBNAIL</code> is automatically added to the <code>option</code> passed here.</p> 32<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> 33 34<h2>See Also</h2> 35<p><a href="TCL_EncodeAndWritePicture.html"><code>TCL_EncodeAndWritePicture(Ex)</code></a></p> 36 37<h2>Revision History</h2> 38<p> 392008/12/05 Initial version. 40</p> 41 42<hr><p>CONFIDENTIAL</p></body> 43</html> 44