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>Constants</title> 6<link rel="stylesheet" href="../css/nitro.css" type="text/css"> 7</head> 8<body> 9<h1 align="left">TCL-Related Constants <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> 16enum 17{ 18 TCL_MAX_NUM_NAND_PICTURES = 500 , 19 20 TCL_MAX_JPEG_SIZE = 200 * 1024 , 21 22 TCL_JPEG_WIDTH = 640 , 23 TCL_JPEG_HEIGHT = 480 , 24 TCL_JPEG_DEFAULT_QUALITY = 80 , 25 26 TCL_PATH_LEN = 64 , 27 28 TCL_CONST_END 29}; 30 </code></pre> 31</dl> 32 33<h2>Description</h2> 34<p>TWL defines various constants.</p> 35<p>The constants are explained in the following list.</p> 36<table> 37<tr><td>TCL_MAX_NUM_NAND_PICTURES<td>The maximum number of photos that TCL can manage. 38<tr><td>TCL_MAX_JPEG_SIZE<td>The maximum JPEG size (in bytes) that TCL can manage. 39<tr><td>TCL_JPEG_WIDTH<td>The JPEG image width that TCL can manage. 40<tr><td>TCL_JPEG_HEIGHT<td>The JPEG image height that TCL can manage. 41<tr><td>TCL_JPEG_DEFAULT_QUALITY<td>The quality value recommended by TCL when using the SSP library. 42<tr><td>TCL_PATH_LEN<td>Guarantees the path length returned by the different path search functions. 43</table> 44 45<h2>See Also</h2> 46 47<h2>Revision History</h2> 48<p> 492009/03/17 Added <CODE>TCL_PATH_LEN</CODE>.<br> 2008/10/07 Initial version. 50</p> 51 52<hr><p>CONFIDENTIAL</p></body> 53</html> 54