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_FRAME_BYTES</TITLE>
8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">CAMERA_GET_FRAME_BYTES <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_FRAME_BYTES(width, height)   (CAMERA_GET_LINE_BYTES(width) * (height))</CODE><br>
19  <br>
20  </dd>
21</dl>
22
23<H2>Description</H2>
24<P>
25Calculates the total size of the frame set with a <code><A href="CAMERA_DmaRecv.html">CAMERA_DmaRecv*</A></code> function. If the <code><A href="CAMERA_SetTrimmingParams.html">CAMERA_SetTrimmingParams</A></code> function was called to set the width and height, those dimensions are specified as arguments. Otherwise, the dimensions set by a <code><A href="CAMERA_I2CSize.html">CAMERA_I2CSize*</A></code> function are specified as arguments, as described in the function reference for <code><A href="CAMERA_DmaRecv.html">CAMERA_DmaRecv*</A></code>.
26</P>
27
28<H2>See Also</H2>
29<P><CODE><A href="CAMERA_DmaRecv.html">CAMERA_DmaRecv*</A>, <A href="CAMERA_SetTrimmingParams.html">CAMERA_SetTrimmingParams</A>, <A href="CAMERA_I2CSize.html">CAMERA_I2CSize*</A></CODE></P>
30<H2>Revision History</H2>
31<P>2008/01/15 Initial version.</P>
32<hr><p>CONFIDENTIAL</p></body>
33</HTML>
34