Updated docu.

This commit is contained in:
Timo Lang
2015-06-06 18:50:22 +02:00
parent 57aa160278
commit 307c4d998b
1073 changed files with 16543 additions and 6400 deletions

672
pixy__helper_8c.html Normal file
View File

@@ -0,0 +1,672 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>discoverpixy: common/app/pixy_helper.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">discoverpixy
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_bdd9a5d540de89e9fe90efdfc6973a4f.html">common</a></li><li class="navelem"><a class="el" href="dir_99a8943037ff3844556e6a5d529fec0c.html">app</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">pixy_helper.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="pixy__helper_8h_source.html">pixy_helper.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="pixy_8h_source.html">pixy.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="tft_8h_source.html">tft.h</a>&quot;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for pixy_helper.c:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c__incl.png" border="0" usemap="#common_2app_2pixy__helper_8c" alt=""/></div>
<map name="common_2app_2pixy__helper_8c" id="common_2app_2pixy__helper_8c">
<area shape="rect" id="node2" href="pixy__helper_8h.html" title="pixy_helper.h" alt="" coords="130,80,229,107"/><area shape="rect" id="node6" href="pixy_8h.html" title="pixy.h" alt="" coords="269,80,325,107"/><area shape="rect" id="node8" href="tft_8h.html" title="tft.h" alt="" coords="5,155,49,181"/><area shape="rect" id="node5" href="filesystem_8h.html" title="filesystem.h" alt="" coords="125,155,217,181"/><area shape="rect" id="node7" href="pixydefs_8h.html" title="pixydefs.h" alt="" coords="344,155,425,181"/></map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:afb06c0b9c06d1309cf67dcf1a9fc3eef"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pixy__helper_8c.html#afb06c0b9c06d1309cf67dcf1a9fc3eef">renderBA81</a> (uint16_t xpos, uint16_t ypos, uint16_t width, uint16_t height, uint32_t frameLen, uint8_t *frame)</td></tr>
<tr class="separator:afb06c0b9c06d1309cf67dcf1a9fc3eef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b12014ced2f09e5e7d6646b966552ef"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pixy__helper_8c.html#a9b12014ced2f09e5e7d6646b966552ef">saveBA81</a> (<a class="el" href="struct_f_i_l_e___h_a_n_d_l_e.html">FILE_HANDLE</a> *handle, uint16_t width, uint16_t height, uint32_t frameLen, uint8_t *frame)</td></tr>
<tr class="separator:a9b12014ced2f09e5e7d6646b966552ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31b46efdf685d2337447b1e529693e2f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pixy__helper_8c.html#a31b46efdf685d2337447b1e529693e2f">pixy_render_full_frame</a> (uint16_t x, uint16_t y)</td></tr>
<tr class="separator:a31b46efdf685d2337447b1e529693e2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8071a378a78f150cd14bbbd9b93c925"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pixy__helper_8c.html#ad8071a378a78f150cd14bbbd9b93c925">pixy_render_cropped_frame</a> (uint16_t x, uint16_t y, uint16_t xoffset, uint16_t yoffset, uint16_t width, uint16_t height)</td></tr>
<tr class="separator:ad8071a378a78f150cd14bbbd9b93c925"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb47b641ad8f8cb10c26debb27c7dead"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pixy__helper_8c.html#aeb47b641ad8f8cb10c26debb27c7dead">pixy_save_full_frame</a> (<a class="el" href="struct_f_i_l_e___h_a_n_d_l_e.html">FILE_HANDLE</a> *handle)</td></tr>
<tr class="separator:aeb47b641ad8f8cb10c26debb27c7dead"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0820ad9bb1ae6791fecb3916372c479"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pixy__helper_8c.html#af0820ad9bb1ae6791fecb3916372c479">pixy_save_cropped_frame</a> (<a class="el" href="struct_f_i_l_e___h_a_n_d_l_e.html">FILE_HANDLE</a> *handle, uint16_t xoffset, uint16_t yoffset, uint16_t width, uint16_t height)</td></tr>
<tr class="separator:af0820ad9bb1ae6791fecb3916372c479"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0bb3b512eb46a18bda67293e4453d76"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pixy__helper_8c.html#ac0bb3b512eb46a18bda67293e4453d76">interpolateBayer</a> (uint16_t width, uint16_t x, uint16_t y, uint8_t *pixel, uint8_t *r, uint8_t *g, uint8_t *b)</td></tr>
<tr class="separator:ac0bb3b512eb46a18bda67293e4453d76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9068bef13bfd5e3cee9ecfe4d070f02"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pixy__helper_8c.html#ad9068bef13bfd5e3cee9ecfe4d070f02">pixy_cc_set_region</a> (uint8_t signum, uint16_t xoffset, uint16_t yoffset, uint16_t width, uint16_t height)</td></tr>
<tr class="separator:ad9068bef13bfd5e3cee9ecfe4d070f02"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ac0bb3b512eb46a18bda67293e4453d76"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void interpolateBayer </td>
<td>(</td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>pixel</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>r</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>g</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>b</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_ac0bb3b512eb46a18bda67293e4453d76_icgraph.png" border="0" usemap="#pixy__helper_8c_ac0bb3b512eb46a18bda67293e4453d76_icgraph" alt=""/></div>
<map name="pixy__helper_8c_ac0bb3b512eb46a18bda67293e4453d76_icgraph" id="pixy__helper_8c_ac0bb3b512eb46a18bda67293e4453d76_icgraph">
<area shape="rect" id="node2" href="pixy__helper_8c.html#afb06c0b9c06d1309cf67dcf1a9fc3eef" title="renderBA81" alt="" coords="169,15,260,42"/><area shape="rect" id="node6" href="pixy__helper_8c.html#a9b12014ced2f09e5e7d6646b966552ef" title="saveBA81" alt="" coords="175,67,255,94"/><area shape="rect" id="node3" href="pixy__helper_8h.html#ad8071a378a78f150cd14bbbd9b93c925" title="pixy_render_cropped\l_frame" alt="" coords="322,5,465,47"/><area shape="rect" id="node4" href="pixy__helper_8h.html#a31b46efdf685d2337447b1e529693e2f" title="pixy_render_full_frame" alt="" coords="527,13,677,39"/><area shape="rect" id="node5" href="screen__photomode_8c.html#a5e8f84ee8ff4bf827775c38ae6752509" title="update" alt="" coords="725,13,787,39"/><area shape="rect" id="node7" href="pixy__helper_8h.html#af0820ad9bb1ae6791fecb3916372c479" title="pixy_save_cropped_frame" alt="" coords="308,71,479,98"/><area shape="rect" id="node8" href="pixy__helper_8h.html#aeb47b641ad8f8cb10c26debb27c7dead" title="pixy_save_full_frame" alt="" coords="531,71,673,98"/><area shape="rect" id="node9" href="screen__photomode__save_8c.html#a5e8f84ee8ff4bf827775c38ae6752509" title="update" alt="" coords="725,71,787,98"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ad9068bef13bfd5e3cee9ecfe4d070f02"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int pixy_cc_set_region </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>signum</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>xoffset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>yoffset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>height</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the color signature to the color in the selected region of the frame </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">signum</td><td>the color signature number (1..7) </td></tr>
<tr><td class="paramname">xoffset</td><td>The x-Coordinate of the topleft point of the region </td></tr>
<tr><td class="paramname">yoffset</td><td>The y-Coordinate of the topleft point of the region </td></tr>
<tr><td class="paramname">width</td><td>The width of the region </td></tr>
<tr><td class="paramname">height</td><td>The height of the region </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise the errorcode from pixy </dd></dl>
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_ad9068bef13bfd5e3cee9ecfe4d070f02_cgraph.png" border="0" usemap="#pixy__helper_8c_ad9068bef13bfd5e3cee9ecfe4d070f02_cgraph" alt=""/></div>
<map name="pixy__helper_8c_ad9068bef13bfd5e3cee9ecfe4d070f02_cgraph" id="pixy__helper_8c_ad9068bef13bfd5e3cee9ecfe4d070f02_cgraph">
<area shape="rect" id="node2" href="group__pixy.html#ga3d55779001cc649ed85be1a92f09892d" title="Send a command to Pixy. " alt="" coords="188,5,299,32"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_ad9068bef13bfd5e3cee9ecfe4d070f02_icgraph.png" border="0" usemap="#pixy__helper_8c_ad9068bef13bfd5e3cee9ecfe4d070f02_icgraph" alt=""/></div>
<map name="pixy__helper_8c_ad9068bef13bfd5e3cee9ecfe4d070f02_icgraph" id="pixy__helper_8c_ad9068bef13bfd5e3cee9ecfe4d070f02_icgraph">
<area shape="rect" id="node2" href="screen__tracking_8c.html#a5e8f84ee8ff4bf827775c38ae6752509" title="update" alt="" coords="188,5,249,32"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ad8071a378a78f150cd14bbbd9b93c925"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int pixy_render_cropped_frame </td>
<td>(</td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>xoffset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>yoffset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>height</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Receives a cropped frame from pixy and display's it on the display with the topleft corner at (x,y) </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>The x-Coordinate of the top left corner to draw the image </td></tr>
<tr><td class="paramname">y</td><td>The y-Coordinate of the top left corner to draw the image </td></tr>
<tr><td class="paramname">xoffset</td><td>The x-Coordinate on the pixy image from where on you want the frame data </td></tr>
<tr><td class="paramname">yoffset</td><td>The y-Coordinate on the pixy image from where on you want the frame data </td></tr>
<tr><td class="paramname">width</td><td>The width of the image recorded from pixy </td></tr>
<tr><td class="paramname">height</td><td>The height of the image recorded from pixy </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise the errorcode from pixy </dd></dl>
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_ad8071a378a78f150cd14bbbd9b93c925_cgraph.png" border="0" usemap="#pixy__helper_8c_ad8071a378a78f150cd14bbbd9b93c925_cgraph" alt=""/></div>
<map name="pixy__helper_8c_ad8071a378a78f150cd14bbbd9b93c925_cgraph" id="pixy__helper_8c_ad8071a378a78f150cd14bbbd9b93c925_cgraph">
<area shape="rect" id="node2" href="group__pixy.html#ga3d55779001cc649ed85be1a92f09892d" title="Send a command to Pixy. " alt="" coords="196,5,307,32"/><area shape="rect" id="node3" href="pixy__helper_8c.html#afb06c0b9c06d1309cf67dcf1a9fc3eef" title="renderBA81" alt="" coords="206,56,297,83"/><area shape="rect" id="node4" href="pixy__helper_8c.html#ac0bb3b512eb46a18bda67293e4453d76" title="interpolateBayer" alt="" coords="355,31,471,57"/><area shape="rect" id="node5" href="group__tft.html#ga82f9b498c57296310f0dfdaa3d7928ac" title="tft_draw_pixel" alt="" coords="362,81,463,108"/><area shape="rect" id="node6" href="group__ll__tft.html#gad219f39d734f774eb4f5390b5f9f8309" title="ll_tft_draw_pixel" alt="" coords="519,81,633,108"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_ad8071a378a78f150cd14bbbd9b93c925_icgraph.png" border="0" usemap="#pixy__helper_8c_ad8071a378a78f150cd14bbbd9b93c925_icgraph" alt=""/></div>
<map name="pixy__helper_8c_ad8071a378a78f150cd14bbbd9b93c925_icgraph" id="pixy__helper_8c_ad8071a378a78f150cd14bbbd9b93c925_icgraph">
<area shape="rect" id="node2" href="pixy__helper_8h.html#a31b46efdf685d2337447b1e529693e2f" title="pixy_render_full_frame" alt="" coords="196,13,347,39"/><area shape="rect" id="node3" href="screen__photomode_8c.html#a5e8f84ee8ff4bf827775c38ae6752509" title="update" alt="" coords="395,13,456,39"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a31b46efdf685d2337447b1e529693e2f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int pixy_render_full_frame </td>
<td>(</td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Receives a fullsized frame from pixy and display's it on the display with the topleft corner at (x,y) </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>The x-Coordinate of the top left corner </td></tr>
<tr><td class="paramname">y</td><td>The y-Coordinate of the top left corner </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise the errorcode from pixy </dd></dl>
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_a31b46efdf685d2337447b1e529693e2f_cgraph.png" border="0" usemap="#pixy__helper_8c_a31b46efdf685d2337447b1e529693e2f_cgraph" alt=""/></div>
<map name="pixy__helper_8c_a31b46efdf685d2337447b1e529693e2f_cgraph" id="pixy__helper_8c_a31b46efdf685d2337447b1e529693e2f_cgraph">
<area shape="rect" id="node2" href="pixy__helper_8c.html#ad8071a378a78f150cd14bbbd9b93c925" title="pixy_render_cropped\l_frame" alt="" coords="204,23,347,65"/><area shape="rect" id="node3" href="group__pixy.html#ga3d55779001cc649ed85be1a92f09892d" title="Send a command to Pixy. " alt="" coords="395,5,505,32"/><area shape="rect" id="node4" href="pixy__helper_8c.html#afb06c0b9c06d1309cf67dcf1a9fc3eef" title="renderBA81" alt="" coords="405,56,495,83"/><area shape="rect" id="node5" href="pixy__helper_8c.html#ac0bb3b512eb46a18bda67293e4453d76" title="interpolateBayer" alt="" coords="553,31,669,57"/><area shape="rect" id="node6" href="group__tft.html#ga82f9b498c57296310f0dfdaa3d7928ac" title="tft_draw_pixel" alt="" coords="561,81,662,108"/><area shape="rect" id="node7" href="group__ll__tft.html#gad219f39d734f774eb4f5390b5f9f8309" title="ll_tft_draw_pixel" alt="" coords="717,81,832,108"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_a31b46efdf685d2337447b1e529693e2f_icgraph.png" border="0" usemap="#pixy__helper_8c_a31b46efdf685d2337447b1e529693e2f_icgraph" alt=""/></div>
<map name="pixy__helper_8c_a31b46efdf685d2337447b1e529693e2f_icgraph" id="pixy__helper_8c_a31b46efdf685d2337447b1e529693e2f_icgraph">
<area shape="rect" id="node2" href="screen__photomode_8c.html#a5e8f84ee8ff4bf827775c38ae6752509" title="update" alt="" coords="204,5,265,32"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="af0820ad9bb1ae6791fecb3916372c479"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int pixy_save_cropped_frame </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_f_i_l_e___h_a_n_d_l_e.html">FILE_HANDLE</a> *&#160;</td>
<td class="paramname"><em>handle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>xoffset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>yoffset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>height</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Receives a cropped frame from pixy and saves it to the given file in the 24bit (b,g,a) format. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">handle</td><td>The file to write the data to. The file must be open and it should be seeked to the right position. </td></tr>
<tr><td class="paramname">xoffset</td><td>The x-Coordinate on the pixy image from where on you want the frame data </td></tr>
<tr><td class="paramname">yoffset</td><td>The y-Coordinate on the pixy image from where on you want the frame data </td></tr>
<tr><td class="paramname">width</td><td>The width of the image recorded from pixy </td></tr>
<tr><td class="paramname">height</td><td>The height of the image recorded from pixy </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise the errorcode from pixy </dd></dl>
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_af0820ad9bb1ae6791fecb3916372c479_cgraph.png" border="0" usemap="#pixy__helper_8c_af0820ad9bb1ae6791fecb3916372c479_cgraph" alt=""/></div>
<map name="pixy__helper_8c_af0820ad9bb1ae6791fecb3916372c479_cgraph" id="pixy__helper_8c_af0820ad9bb1ae6791fecb3916372c479_cgraph">
<area shape="rect" id="node2" href="group__pixy.html#ga3d55779001cc649ed85be1a92f09892d" title="Send a command to Pixy. " alt="" coords="224,5,335,32"/><area shape="rect" id="node3" href="pixy__helper_8c.html#a9b12014ced2f09e5e7d6646b966552ef" title="saveBA81" alt="" coords="239,56,319,83"/><area shape="rect" id="node4" href="group__filesystem.html#gac447af479c334caa207d6c279571d8a2" title="filesystem_file_seek" alt="" coords="383,5,521,32"/><area shape="rect" id="node6" href="pixy__helper_8c.html#ac0bb3b512eb46a18bda67293e4453d76" title="interpolateBayer" alt="" coords="394,56,510,83"/><area shape="rect" id="node7" href="group__filesystem.html#gae7124857f3ab32f6032ef129f2a80000" title="filesystem_file_write" alt="" coords="383,107,521,133"/><area shape="rect" id="node5" href="group__ll__filesystem.html#ga27b21c519c928bc7767fbdcbb9209148" title="ll_filesystem_file_seek" alt="" coords="569,5,721,32"/><area shape="rect" id="node8" href="group__ll__filesystem.html#gab7ce3131ebbf7c556c9ebeea312fce02" title="ll_filesystem_file\l_write" alt="" coords="587,99,704,141"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_af0820ad9bb1ae6791fecb3916372c479_icgraph.png" border="0" usemap="#pixy__helper_8c_af0820ad9bb1ae6791fecb3916372c479_icgraph" alt=""/></div>
<map name="pixy__helper_8c_af0820ad9bb1ae6791fecb3916372c479_icgraph" id="pixy__helper_8c_af0820ad9bb1ae6791fecb3916372c479_icgraph">
<area shape="rect" id="node2" href="pixy__helper_8h.html#aeb47b641ad8f8cb10c26debb27c7dead" title="pixy_save_full_frame" alt="" coords="224,5,365,32"/><area shape="rect" id="node3" href="screen__photomode__save_8c.html#a5e8f84ee8ff4bf827775c38ae6752509" title="update" alt="" coords="413,5,475,32"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="aeb47b641ad8f8cb10c26debb27c7dead"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int pixy_save_full_frame </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_f_i_l_e___h_a_n_d_l_e.html">FILE_HANDLE</a> *&#160;</td>
<td class="paramname"><em>handle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Receives a fullsized frame from pixy and saves it to the given file in the 24bit (b,g,a) format. Use this method to write the bitmap-data part of a windows bitmap (.bmp). This method will neither open nor close the passed file. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">handle</td><td>The file to write the data to. The file must be open and it should be seeked to the right position. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise the errorcode from pixy </dd></dl>
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_aeb47b641ad8f8cb10c26debb27c7dead_cgraph.png" border="0" usemap="#pixy__helper_8c_aeb47b641ad8f8cb10c26debb27c7dead_cgraph" alt=""/></div>
<map name="pixy__helper_8c_aeb47b641ad8f8cb10c26debb27c7dead_cgraph" id="pixy__helper_8c_aeb47b641ad8f8cb10c26debb27c7dead_cgraph">
<area shape="rect" id="node2" href="pixy__helper_8c.html#af0820ad9bb1ae6791fecb3916372c479" title="pixy_save_cropped_frame" alt="" coords="195,31,365,57"/><area shape="rect" id="node3" href="group__pixy.html#ga3d55779001cc649ed85be1a92f09892d" title="Send a command to Pixy. " alt="" coords="413,5,524,32"/><area shape="rect" id="node4" href="pixy__helper_8c.html#a9b12014ced2f09e5e7d6646b966552ef" title="saveBA81" alt="" coords="429,56,509,83"/><area shape="rect" id="node5" href="group__filesystem.html#gac447af479c334caa207d6c279571d8a2" title="filesystem_file_seek" alt="" coords="572,5,711,32"/><area shape="rect" id="node7" href="pixy__helper_8c.html#ac0bb3b512eb46a18bda67293e4453d76" title="interpolateBayer" alt="" coords="583,56,699,83"/><area shape="rect" id="node8" href="group__filesystem.html#gae7124857f3ab32f6032ef129f2a80000" title="filesystem_file_write" alt="" coords="572,107,711,133"/><area shape="rect" id="node6" href="group__ll__filesystem.html#ga27b21c519c928bc7767fbdcbb9209148" title="ll_filesystem_file_seek" alt="" coords="759,5,911,32"/><area shape="rect" id="node9" href="group__ll__filesystem.html#gab7ce3131ebbf7c556c9ebeea312fce02" title="ll_filesystem_file\l_write" alt="" coords="776,99,893,141"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_aeb47b641ad8f8cb10c26debb27c7dead_icgraph.png" border="0" usemap="#pixy__helper_8c_aeb47b641ad8f8cb10c26debb27c7dead_icgraph" alt=""/></div>
<map name="pixy__helper_8c_aeb47b641ad8f8cb10c26debb27c7dead_icgraph" id="pixy__helper_8c_aeb47b641ad8f8cb10c26debb27c7dead_icgraph">
<area shape="rect" id="node2" href="screen__photomode__save_8c.html#a5e8f84ee8ff4bf827775c38ae6752509" title="update" alt="" coords="195,5,256,32"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="afb06c0b9c06d1309cf67dcf1a9fc3eef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static int renderBA81 </td>
<td>(</td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>xpos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>ypos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>frameLen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>frame</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_afb06c0b9c06d1309cf67dcf1a9fc3eef_cgraph.png" border="0" usemap="#pixy__helper_8c_afb06c0b9c06d1309cf67dcf1a9fc3eef_cgraph" alt=""/></div>
<map name="pixy__helper_8c_afb06c0b9c06d1309cf67dcf1a9fc3eef_cgraph" id="pixy__helper_8c_afb06c0b9c06d1309cf67dcf1a9fc3eef_cgraph">
<area shape="rect" id="node2" href="pixy__helper_8c.html#ac0bb3b512eb46a18bda67293e4453d76" title="interpolateBayer" alt="" coords="144,5,260,32"/><area shape="rect" id="node3" href="group__tft.html#ga82f9b498c57296310f0dfdaa3d7928ac" title="tft_draw_pixel" alt="" coords="151,56,253,83"/><area shape="rect" id="node4" href="group__ll__tft.html#gad219f39d734f774eb4f5390b5f9f8309" title="ll_tft_draw_pixel" alt="" coords="308,56,423,83"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_afb06c0b9c06d1309cf67dcf1a9fc3eef_icgraph.png" border="0" usemap="#pixy__helper_8c_afb06c0b9c06d1309cf67dcf1a9fc3eef_icgraph" alt=""/></div>
<map name="pixy__helper_8c_afb06c0b9c06d1309cf67dcf1a9fc3eef_icgraph" id="pixy__helper_8c_afb06c0b9c06d1309cf67dcf1a9fc3eef_icgraph">
<area shape="rect" id="node2" href="pixy__helper_8h.html#ad8071a378a78f150cd14bbbd9b93c925" title="pixy_render_cropped\l_frame" alt="" coords="144,5,287,47"/><area shape="rect" id="node3" href="pixy__helper_8h.html#a31b46efdf685d2337447b1e529693e2f" title="pixy_render_full_frame" alt="" coords="335,13,485,39"/><area shape="rect" id="node4" href="screen__photomode_8c.html#a5e8f84ee8ff4bf827775c38ae6752509" title="update" alt="" coords="533,13,595,39"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a9b12014ced2f09e5e7d6646b966552ef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static int saveBA81 </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_f_i_l_e___h_a_n_d_l_e.html">FILE_HANDLE</a> *&#160;</td>
<td class="paramname"><em>handle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>frameLen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>frame</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_a9b12014ced2f09e5e7d6646b966552ef_cgraph.png" border="0" usemap="#pixy__helper_8c_a9b12014ced2f09e5e7d6646b966552ef_cgraph" alt=""/></div>
<map name="pixy__helper_8c_a9b12014ced2f09e5e7d6646b966552ef_cgraph" id="pixy__helper_8c_a9b12014ced2f09e5e7d6646b966552ef_cgraph">
<area shape="rect" id="node2" href="group__filesystem.html#gac447af479c334caa207d6c279571d8a2" title="filesystem_file_seek" alt="" coords="133,5,272,32"/><area shape="rect" id="node4" href="pixy__helper_8c.html#ac0bb3b512eb46a18bda67293e4453d76" title="interpolateBayer" alt="" coords="145,56,261,83"/><area shape="rect" id="node5" href="group__filesystem.html#gae7124857f3ab32f6032ef129f2a80000" title="filesystem_file_write" alt="" coords="133,107,272,133"/><area shape="rect" id="node3" href="group__ll__filesystem.html#ga27b21c519c928bc7767fbdcbb9209148" title="ll_filesystem_file_seek" alt="" coords="320,5,472,32"/><area shape="rect" id="node6" href="group__ll__filesystem.html#gab7ce3131ebbf7c556c9ebeea312fce02" title="ll_filesystem_file\l_write" alt="" coords="337,99,455,141"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="pixy__helper_8c_a9b12014ced2f09e5e7d6646b966552ef_icgraph.png" border="0" usemap="#pixy__helper_8c_a9b12014ced2f09e5e7d6646b966552ef_icgraph" alt=""/></div>
<map name="pixy__helper_8c_a9b12014ced2f09e5e7d6646b966552ef_icgraph" id="pixy__helper_8c_a9b12014ced2f09e5e7d6646b966552ef_icgraph">
<area shape="rect" id="node2" href="pixy__helper_8h.html#af0820ad9bb1ae6791fecb3916372c479" title="pixy_save_cropped_frame" alt="" coords="133,5,304,32"/><area shape="rect" id="node3" href="pixy__helper_8h.html#aeb47b641ad8f8cb10c26debb27c7dead" title="pixy_save_full_frame" alt="" coords="352,5,493,32"/><area shape="rect" id="node4" href="screen__photomode__save_8c.html#a5e8f84ee8ff4bf827775c38ae6752509" title="update" alt="" coords="541,5,603,32"/></map>
</div>
</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Jun 6 2015 18:48:32 for discoverpixy by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>