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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>CAMERA_GET_MAX_LINES</TITLE>
8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">CAMERA_GET_MAX_LINES <IMG src="../image/TWL.gif" align="middle"></H1>
12<H2>Definition</H2>
13
14<dl>
15  <dd>
16<CODE>#include &lt;twl/camera.h&gt;</CODE><BR>
17  <BR>
18  <CODE>#define CAMERA_GET_MAX_LINES(width)     MATH_MIN((1024 / (width)), 16)</CODE><br>
19  <br>
20  </dd>
21</dl>
22
23<H2>Description</H2>
24<P>
25Calculates the maximum value that can be set with the <code><A href="CAMERA_SetTransferLines.html">CAMERA_SetTransferLines</A></code> function. If the <code><A href="CAMERA_SetTrimmingParams.html">CAMERA_SetTrimmingParams</A></code> function was used to specify a width, that width will be specified as the argument value. Otherwise, the width of the camera size set by a <code><A href="CAMERA_I2CSize.html">CAMERA_I2CSize*</A></code> function will be specified as the argument value.
26</P>
27
28<H2>See Also</H2>
29<P><CODE><A href="CAMERA_SetTransferLines.html">CAMERA_SetTransferLines</A>, <A href="CAMERA_I2CSize.html">CAMERA_I2CSize*</A></CODE></P>
30<H2>Revision History</H2>
31<P>2007/10/12 Initial version.</P>
32<hr><p>CONFIDENTIAL</p></body>
33</HTML>
34