Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > by-pkgid > 5c710d7790f885bcc8dd115ae6a7763f > files > 50

syntek-2.1.0-1mdv2010.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>SyntekUSBVideoCamera: stk11xx-dev.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>stk11xx-dev.h File Reference</h1>Driver for Syntek USB video camera.  
<a href="#_details">More...</a>
<p>

<p>
<a href="stk11xx-dev_8h_source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#464bc80890a146546904b9c079e91e64">dev_stka311_initialize_device</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to initialize the device.  <a href="#464bc80890a146546904b9c079e91e64"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#91138b6d0bae1b59a826ed450163e9dd">dev_stka311_configure_device</a> (struct usb_stk11xx *, int)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to configure the device.  <a href="#91138b6d0bae1b59a826ed450163e9dd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#ef8629149742509c287016335f8bf487">dev_stka311_start_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to start the stream.  <a href="#ef8629149742509c287016335f8bf487"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#3958dea772d586b73cfcfa562d1d86f6">dev_stka311_stop_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to stop the stream.  <a href="#3958dea772d586b73cfcfa562d1d86f6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#364e7f4268faa63a61b63040ed41be84">dev_stka311_camera_asleep</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wake-up the camera.  <a href="#364e7f4268faa63a61b63040ed41be84"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#268d5eb7819752a8a8b2fb855266245b">dev_stka311_init_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function initializes the device for the stream.  <a href="#268d5eb7819752a8a8b2fb855266245b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#72b7b62ff65034ae7e5f881f45cf76e7">dev_stka311_sensor_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to set default sensor settings.  <a href="#72b7b62ff65034ae7e5f881f45cf76e7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#641a76164b5ee81457c70fc1e52aceec">dev_stka311_reconf_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reconfigure the camera before the stream.  <a href="#641a76164b5ee81457c70fc1e52aceec"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#10e79ba2ec9f70ffd082a4dbb7ebd179">dev_stka311_camera_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#10e79ba2ec9f70ffd082a4dbb7ebd179"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#e57225ece7d82da5a25c2ec6b5b05e55">dev_stka311_set_camera_quality</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#e57225ece7d82da5a25c2ec6b5b05e55"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#9eca58c7f63fa2d19d2d1491922bbefe">dev_stka311_set_camera_fps</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#9eca58c7f63fa2d19d2d1491922bbefe"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#14dc35a91ee057dd20b30f8a997b33e5">dev_stka821_initialize_device</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to initialize the device.  <a href="#14dc35a91ee057dd20b30f8a997b33e5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#056df583d75edc13bd5c468863832a24">dev_stka821_configure_device</a> (struct usb_stk11xx *, int)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to configure the device.  <a href="#056df583d75edc13bd5c468863832a24"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#815b1cf5be9bda49d3c18142b8bcfaa9">dev_stka821_start_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to start the stream.  <a href="#815b1cf5be9bda49d3c18142b8bcfaa9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#d5b68d124d4e4798083c3989438918ce">dev_stka821_stop_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to stop the stream.  <a href="#d5b68d124d4e4798083c3989438918ce"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#a7d8ba697f1135e2236426269556f046">dev_stka821_camera_asleep</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wake-up the camera.  <a href="#a7d8ba697f1135e2236426269556f046"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#dd2117a8e246fac85e884e80bf4c29ed">dev_stka821_init_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function initializes the device for the stream.  <a href="#dd2117a8e246fac85e884e80bf4c29ed"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#d8ef48aec6d31244810a65e3fddf0d4c">dev_stka821_sensor_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to set default sensor settings.  <a href="#d8ef48aec6d31244810a65e3fddf0d4c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#7d9e16ef4a5a1a4c571f8f95af1419cd">dev_stka821_reconf_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reconfigure the camera before the stream.  <a href="#7d9e16ef4a5a1a4c571f8f95af1419cd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#5c382abc34490844224b0ca9106ae06d">dev_stka821_camera_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#5c382abc34490844224b0ca9106ae06d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#094415517a86ee6104d17f614f023207">dev_stka821_set_camera_quality</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#094415517a86ee6104d17f614f023207"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#e030f2f9c90aa26a51b16e10ae890bd1">dev_stka821_set_camera_fps</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#e030f2f9c90aa26a51b16e10ae890bd1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#5116863a1a98a2479c3ef40eaaa6dd27">dev_stk6a31_initialize_device</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to initialize the device.  <a href="#5116863a1a98a2479c3ef40eaaa6dd27"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#a68f6b69c7b928cc64ae2060e64dd01c">dev_stk6a31_configure_device</a> (struct usb_stk11xx *, int)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to configure the device.  <a href="#a68f6b69c7b928cc64ae2060e64dd01c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#2890e87565d7538ede8daaf1586784b1">dev_stk6a31_start_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to start the stream.  <a href="#2890e87565d7538ede8daaf1586784b1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#3c661b92c2dd4c6e1d0edda818f6d6c4">dev_stk6a31_stop_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to stop the stream.  <a href="#3c661b92c2dd4c6e1d0edda818f6d6c4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#219085da1d5bdda6e1443539a23ad39f">dev_stk6a31_camera_asleep</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wake-up the camera.  <a href="#219085da1d5bdda6e1443539a23ad39f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#620db562f90af68709a808bfae423659">dev_stk6a31_init_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function initializes the device for the stream.  <a href="#620db562f90af68709a808bfae423659"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#1c78076d2cbf0982ca268577ca5f8af4">dev_stk6a31_sensor_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to set default sensor settings.  <a href="#1c78076d2cbf0982ca268577ca5f8af4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#a11236b2bf5a2e6c3d2d0bb1be29a4d7">dev_stk6a31_reconf_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reconfigure the camera before the stream.  <a href="#a11236b2bf5a2e6c3d2d0bb1be29a4d7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#36832735652a677e3fecb11d19bc67d4">dev_stk6a31_camera_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#36832735652a677e3fecb11d19bc67d4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#873022eba8ac231c5338712ffbeec727">dev_stk6a31_set_camera_quality</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#873022eba8ac231c5338712ffbeec727"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#6986e835b6d25a290f7d8cb159959086">dev_stk6a31_set_camera_fps</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#6986e835b6d25a290f7d8cb159959086"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#b217a74304282b8b405d939e0c921707">dev_stk6a33_initialize_device</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to initialize the device.  <a href="#b217a74304282b8b405d939e0c921707"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#5ec37ab566599345defcc91bb6b9f9b2">dev_stk6a33_configure_device</a> (struct usb_stk11xx *, int)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to configure the device.  <a href="#5ec37ab566599345defcc91bb6b9f9b2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#0a3b4a79c11cdd68d1e50d6a74eaebc1">dev_stk6a33_start_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to start the stream.  <a href="#0a3b4a79c11cdd68d1e50d6a74eaebc1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#fd64475c571433227c30e2e83650cae0">dev_stk6a33_stop_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to stop the stream.  <a href="#fd64475c571433227c30e2e83650cae0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#4ba0bb82f60ae42e39021df56fc06731">dev_stk6a33_camera_asleep</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wake-up the camera.  <a href="#4ba0bb82f60ae42e39021df56fc06731"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#ff2a9a1aaaebbba8859f535c3aedcb20">dev_stk6a33_init_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function initializes the device for the stream.  <a href="#ff2a9a1aaaebbba8859f535c3aedcb20"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#14d360b72de6fb8bc88b1c0e05e77bee">dev_stk6a33_sensor_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to set default sensor settings.  <a href="#14d360b72de6fb8bc88b1c0e05e77bee"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#f6c493b0e7c08780192228b4142b3cdf">dev_stk6a33_reconf_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reconfigure the camera before the stream.  <a href="#f6c493b0e7c08780192228b4142b3cdf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#3cec743a576d2e03ecda60875702b83d">dev_stk6a33_camera_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#3cec743a576d2e03ecda60875702b83d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#fba73b22ce5c48a268113766425ee51c">dev_stk6a33_set_camera_quality</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#fba73b22ce5c48a268113766425ee51c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#5fc13c321169b1a11e6466351271c075">dev_stk6a33_set_camera_fps</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#5fc13c321169b1a11e6466351271c075"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#957f24feb4f228dd5eec4d81274fbdb7">dev_stk6a51_initialize_device</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to initialize the device.  <a href="#957f24feb4f228dd5eec4d81274fbdb7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#0aabdbae954dd1b87f00a1109ebdfcf3">dev_stk6a51_configure_device</a> (struct usb_stk11xx *, int)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to configure the device.  <a href="#0aabdbae954dd1b87f00a1109ebdfcf3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#e513b1f984434b2bd5758721c87e4f32">dev_stk6a51_start_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to start the stream.  <a href="#e513b1f984434b2bd5758721c87e4f32"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#000543ee38cd21247b5ae728886ac363">dev_stk6a51_stop_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to stop the stream.  <a href="#000543ee38cd21247b5ae728886ac363"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#607bf26946710a923629e0a6578730fd">dev_stk6a51_camera_asleep</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wake-up the camera.  <a href="#607bf26946710a923629e0a6578730fd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#43f18cf5691af6bdc5f00dc4221a9aa7">dev_stk6a51_init_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function initializes the device for the stream.  <a href="#43f18cf5691af6bdc5f00dc4221a9aa7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#4f554836cc64be46af9faf36b2c8a942">dev_stk6a51_sensor_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to set default sensor settings.  <a href="#4f554836cc64be46af9faf36b2c8a942"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#5483158dbad9d6afc4b464daf36ba893">dev_stk6a51_reconf_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reconfigure the camera before the stream.  <a href="#5483158dbad9d6afc4b464daf36ba893"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#6ed52dae36f49d0beb8aabe88490136b">dev_stk6a51_camera_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#6ed52dae36f49d0beb8aabe88490136b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#dcc296dbaabc4edaab807221cea02b53">dev_stk6a51_set_camera_quality</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#dcc296dbaabc4edaab807221cea02b53"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#f2e60cb33e254c4e554b83c7021aae24">dev_stk6a51_set_camera_fps</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#f2e60cb33e254c4e554b83c7021aae24"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#997e051f497c5f8764db3a6ae2b01803">dev_stk6a54_initialize_device</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to initialize the device.  <a href="#997e051f497c5f8764db3a6ae2b01803"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#0d9618aca1aa27cc9fd8c1923661f13e">dev_stk6a54_configure_device</a> (struct usb_stk11xx *, int)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to configure the device.  <a href="#0d9618aca1aa27cc9fd8c1923661f13e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#914b59be66254f9d097bc3517cf10d5e">dev_stk6a54_start_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to start the stream.  <a href="#914b59be66254f9d097bc3517cf10d5e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#85405354c0c40263761f102e6927830f">dev_stk6a54_stop_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to stop the stream.  <a href="#85405354c0c40263761f102e6927830f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#b85574169a8c07e673b5cb0ba106dada">dev_stk6a54_camera_asleep</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wake-up the camera.  <a href="#b85574169a8c07e673b5cb0ba106dada"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#f2fde070081483819f5c854448988b14">dev_stk6a54_init_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function initializes the device for the stream.  <a href="#f2fde070081483819f5c854448988b14"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#c2d42c841f0d29feccebe9770ec5037a">dev_stk6a54_sensor_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to set default sensor settings.  <a href="#c2d42c841f0d29feccebe9770ec5037a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#7b45d1087780d95bbaae5ca513d74072">dev_stk6a54_reconf_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reconfigure the camera before the stream.  <a href="#7b45d1087780d95bbaae5ca513d74072"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#ed470d429ccda380a8f291edae753d4d">dev_stk6a54_camera_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#ed470d429ccda380a8f291edae753d4d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#2635710f4aef4b67f41bca31151d08ac">dev_stk6a54_set_camera_quality</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#2635710f4aef4b67f41bca31151d08ac"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#c4d8165faaf96de2d0b343229dde4b0a">dev_stk6a54_set_camera_fps</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#c4d8165faaf96de2d0b343229dde4b0a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#571fb820b841490fe7b6da58303d0e88">dev_stk6d51_initialize_device</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to initialize the device.  <a href="#571fb820b841490fe7b6da58303d0e88"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#d5c88291368849fedc390387d9674377">dev_stk6d51_configure_device</a> (struct usb_stk11xx *, int)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to configure the device.  <a href="#d5c88291368849fedc390387d9674377"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#130b349fca52899a6d53e1a5198fe5c9">dev_stk6d51_start_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to start the stream.  <a href="#130b349fca52899a6d53e1a5198fe5c9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#974bde57ac087cc829bbb0fa3801199c">dev_stk6d51_stop_stream</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sets the device to stop the stream.  <a href="#974bde57ac087cc829bbb0fa3801199c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#e1dec85b5ecbb3514180ba783f669702">dev_stk6d51_camera_asleep</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wake-up the camera.  <a href="#e1dec85b5ecbb3514180ba783f669702"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#73336eca026c44e7cd3be23afca252ed">dev_stk6d51_init_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function initializes the device for the stream.  <a href="#73336eca026c44e7cd3be23afca252ed"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#67d5cf9a83dda54b798ca38b28c486ae">dev_stk6d51_sensor_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to set default sensor settings.  <a href="#67d5cf9a83dda54b798ca38b28c486ae"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#2462636d539456b936c389d1bb860092">dev_stk6d51_reconf_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reconfigure the camera before the stream.  <a href="#2462636d539456b936c389d1bb860092"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#449e2a69ac73daae562c4ecd03bd613f">dev_stk6d51_camera_settings</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#449e2a69ac73daae562c4ecd03bd613f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#6b14ffeeef2ab18b7458003b209ba26a">dev_stk6d51_set_camera_quality</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#6b14ffeeef2ab18b7458003b209ba26a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx-dev_8h.html#7c78324c46c5b4eb39c49cd27d32e002">dev_stk6d51_set_camera_fps</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the settings of the camera.  <a href="#7c78324c46c5b4eb39c49cd27d32e002"></a><br></td></tr>
</table>
<hr><h2>Detailed Description</h2>
Driver for Syntek USB video camera. 
<p>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Nicolas VIVIEN </dd></dl>
<dl class="date" compact><dt><b>Date:</b></dt><dd>2007-11-23 </dd></dl>
<dl class="version" compact><dt><b>Version:</b></dt><dd>v2.0.x</dd></dl>
<dl class="note" compact><dt><b>Note:</b></dt><dd>Copyright (C) Nicolas VIVIEN</dd></dl>
<dl class="user" compact><dt><b>Licences</b></dt><dd></dd></dl>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.<p>
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p>
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA<p>
<dl class="user" compact><dt><b>SubVersion</b></dt><dd></dd></dl>
<dl class="rcs" compact><dt><b>Date</b></dt><dd>2009-03-25 15:13:05 +0100 (mer 25 mar 2009) </dd></dl>
<dl class="rcs" compact><dt><b>Revision</b></dt><dd>84 </dd></dl>
<dl class="rcs" compact><dt><b>Author</b></dt><dd>nicklas79 </dd></dl>
<dl class="rcs" compact><dt><b>HeadURL</b></dt><dd><a href="https://syntekdriver.svn.sourceforge.net/svnroot/syntekdriver/tags/2.1.0/stk11xx-dev.h">https://syntekdriver.svn.sourceforge.net/svnroot/syntekdriver/tags/2.1.0/stk11xx-dev.h</a> </dd></dl>

<p>Definition in file <a class="el" href="stk11xx-dev_8h_source.html">stk11xx-dev.h</a>.</p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="219085da1d5bdda6e1443539a23ad39f"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a31_camera_asleep" ref="219085da1d5bdda6e1443539a23ad39f" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a31_camera_asleep           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Wake-up the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function permits to wake-up the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00542">542</a> of file <a class="el" href="stk11xx-dev-6a31_8c_source.html">stk11xx-dev-6a31.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00287">dev_stk11xx_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00572">dev_stk6a31_init_camera()</a>, and <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00070">dev_stk6a31_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="36832735652a677e3fecb11d19bc67d4"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a31_camera_settings" ref="36832735652a677e3fecb11d19bc67d4" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a31_camera_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>... </li></ul>

<p>Definition at line <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00718">718</a> of file <a class="el" href="stk11xx-dev-6a31_8c_source.html">stk11xx-dev-6a31.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>.</p>

</div>
</div><p>
<a class="anchor" name="a68f6b69c7b928cc64ae2060e64dd01c"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a31_configure_device" ref="a68f6b69c7b928cc64ae2060e64dd01c" args="(struct usb_stk11xx *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a31_configure_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>step</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to configure the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>step</em>&nbsp;</td><td>The step of configuration [0-11]</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
The configuration of device is composed of 12 steps. This function is called by the initialization process.<p>
We don't know the meaning of these steps ! We only replay the USB log. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00155">155</a> of file <a class="el" href="stk11xx-dev-6a31_8c_source.html">stk11xx-dev-6a31.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00606">dev_stk6a31_sensor_settings()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00572">dev_stk6a31_init_camera()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00070">dev_stk6a31_initialize_device()</a>, and <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00848">dev_stk6a31_reconf_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="620db562f90af68709a808bfae423659"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a31_init_camera" ref="620db562f90af68709a808bfae423659" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a31_init_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function initializes the device for the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
It's the start. This function has to be called at first, before enabling the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00572">572</a> of file <a class="el" href="stk11xx-dev-6a31_8c_source.html">stk11xx-dev-6a31.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00264">dev_stk11xx_camera_off()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00542">dev_stk6a31_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00155">dev_stk6a31_configure_device()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00115">dev_stk11xx_init_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5116863a1a98a2479c3ef40eaaa6dd27"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a31_initialize_device" ref="5116863a1a98a2479c3ef40eaaa6dd27" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a31_initialize_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to initialize the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function must be called at first. It's the start of the initialization process. After this process, the device is completly initalized and it's ready.<p>
This function is written from the USB log. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00070">70</a> of file <a class="el" href="stk11xx-dev-6a31_8c_source.html">stk11xx-dev-6a31.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00542">dev_stk6a31_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00155">dev_stk6a31_configure_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00146">STK_INFO</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00063">dev_stk11xx_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="a11236b2bf5a2e6c3d2d0bb1be29a4d7"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a31_reconf_camera" ref="a11236b2bf5a2e6c3d2d0bb1be29a4d7" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a31_reconf_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reconfigure the camera before the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
Before enabling the video stream, you have to reconfigure the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00848">848</a> of file <a class="el" href="stk11xx-dev-6a31_8c_source.html">stk11xx-dev-6a31.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>, and <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00155">dev_stk6a31_configure_device()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00552">dev_stk11xx_reconf_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="1c78076d2cbf0982ca268577ca5f8af4"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a31_sensor_settings" ref="1c78076d2cbf0982ca268577ca5f8af4" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a31_sensor_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to set default sensor settings. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
We set some registers in using a I2C bus. WARNING, the sensor settings can be different following the situation. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00606">606</a> of file <a class="el" href="stk11xx-dev-6a31_8c_source.html">stk11xx-dev-6a31.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00155">dev_stk6a31_configure_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6986e835b6d25a290f7d8cb159959086"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a31_set_camera_fps" ref="6986e835b6d25a290f7d8cb159959086" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a31_set_camera_fps           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the frame rate per second. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00799">799</a> of file <a class="el" href="stk11xx-dev-6a31_8c_source.html">stk11xx-dev-6a31.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00449">dev_stk11xx_set_camera_fps()</a>.</p>

</div>
</div><p>
<a class="anchor" name="873022eba8ac231c5338712ffbeec727"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a31_set_camera_quality" ref="873022eba8ac231c5338712ffbeec727" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a31_set_camera_quality           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>... </li></ul>

<p>Definition at line <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00765">765</a> of file <a class="el" href="stk11xx-dev-6a31_8c_source.html">stk11xx-dev-6a31.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00397">dev_stk11xx_set_camera_quality()</a>.</p>

</div>
</div><p>
<a class="anchor" name="2890e87565d7538ede8daaf1586784b1"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a31_start_stream" ref="2890e87565d7538ede8daaf1586784b1" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a31_start_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to start the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
After the initialization of the device and the initialization of the video stream, this function permits to enable the stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00815">815</a> of file <a class="el" href="stk11xx-dev-6a31_8c_source.html">stk11xx-dev-6a31.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00501">dev_stk11xx_start_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3c661b92c2dd4c6e1d0edda818f6d6c4"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a31_stop_stream" ref="3c661b92c2dd4c6e1d0edda818f6d6c4" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a31_stop_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to stop the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
You use the function start_stream to enable the video stream. So you have to use the function stop_strem to disable the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00868">868</a> of file <a class="el" href="stk11xx-dev-6a31_8c_source.html">stk11xx-dev-6a31.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00604">dev_stk11xx_stop_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4ba0bb82f60ae42e39021df56fc06731"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a33_camera_asleep" ref="4ba0bb82f60ae42e39021df56fc06731" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a33_camera_asleep           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Wake-up the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function permits to wake-up the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00652">652</a> of file <a class="el" href="stk11xx-dev-6a33_8c_source.html">stk11xx-dev-6a33.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00287">dev_stk11xx_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00682">dev_stk6a33_init_camera()</a>, and <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00070">dev_stk6a33_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3cec743a576d2e03ecda60875702b83d"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a33_camera_settings" ref="3cec743a576d2e03ecda60875702b83d" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a33_camera_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>... </li></ul>

<p>Definition at line <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00821">821</a> of file <a class="el" href="stk11xx-dev-6a33_8c_source.html">stk11xx-dev-6a33.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5ec37ab566599345defcc91bb6b9f9b2"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a33_configure_device" ref="5ec37ab566599345defcc91bb6b9f9b2" args="(struct usb_stk11xx *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a33_configure_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>step</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to configure the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>step</em>&nbsp;</td><td>The step of configuration [0-11]</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
The configuration of device is composed of 11 steps. This function is called by the initialization process.<p>
We don't know the meaning of these steps ! We only replay the USB log.<p>
The steps 0 to 9 are called during the initialization. Then, the driver choose the last step : 10 : for a resolution from 80x60 to 640x480 11 : for a resolution from 800x600 to 1280x1024 
<p>Definition at line <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00368">368</a> of file <a class="el" href="stk11xx-dev-6a33_8c_source.html">stk11xx-dev-6a33.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00711">dev_stk6a33_sensor_settings()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00682">dev_stk6a33_init_camera()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00070">dev_stk6a33_initialize_device()</a>, and <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00967">dev_stk6a33_reconf_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ff2a9a1aaaebbba8859f535c3aedcb20"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a33_init_camera" ref="ff2a9a1aaaebbba8859f535c3aedcb20" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a33_init_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function initializes the device for the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
It's the start. This function has to be called at first, before enabling the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00682">682</a> of file <a class="el" href="stk11xx-dev-6a33_8c_source.html">stk11xx-dev-6a33.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00264">dev_stk11xx_camera_off()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00652">dev_stk6a33_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00368">dev_stk6a33_configure_device()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00115">dev_stk11xx_init_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="b217a74304282b8b405d939e0c921707"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a33_initialize_device" ref="b217a74304282b8b405d939e0c921707" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a33_initialize_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to initialize the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function must be called at first. It's the start of the initialization process. After this process, the device is completly initalized and it's ready.<p>
This function is written from the USB log. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00070">70</a> of file <a class="el" href="stk11xx-dev-6a33_8c_source.html">stk11xx-dev-6a33.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00652">dev_stk6a33_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00368">dev_stk6a33_configure_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx_8h_source.html#l00146">STK_INFO</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00063">dev_stk11xx_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f6c493b0e7c08780192228b4142b3cdf"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a33_reconf_camera" ref="f6c493b0e7c08780192228b4142b3cdf" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a33_reconf_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reconfigure the camera before the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
Before enabling the video stream, you have to reconfigure the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00967">967</a> of file <a class="el" href="stk11xx-dev-6a33_8c_source.html">stk11xx-dev-6a33.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>, and <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00368">dev_stk6a33_configure_device()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00552">dev_stk11xx_reconf_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="14d360b72de6fb8bc88b1c0e05e77bee"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a33_sensor_settings" ref="14d360b72de6fb8bc88b1c0e05e77bee" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a33_sensor_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to set default sensor settings. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
We set some registers in using a I2C bus. WARNING, the sensor settings can be different following the situation. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00711">711</a> of file <a class="el" href="stk11xx-dev-6a33_8c_source.html">stk11xx-dev-6a33.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00368">dev_stk6a33_configure_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5fc13c321169b1a11e6466351271c075"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a33_set_camera_fps" ref="5fc13c321169b1a11e6466351271c075" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a33_set_camera_fps           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the frame rate per second.<p>
0x204 = 0x2e : Fps MSB (by default 0x01) 0x204 = 0x2d : Fps LSB (by default 0x00)<p>
0x2e | 0x2d | Nbr fps -----+------+-------- 0x00 | 0x00 | 30 0x01 | 0x00 | 20 0x02 | 0x00 | 15 0x03 | 0x00 | 12 0x04 | 0x00 | 10 
<p>Definition at line <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00918">918</a> of file <a class="el" href="stk11xx-dev-6a33_8c_source.html">stk11xx-dev-6a33.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00449">dev_stk11xx_set_camera_fps()</a>.</p>

</div>
</div><p>
<a class="anchor" name="fba73b22ce5c48a268113766425ee51c"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a33_set_camera_quality" ref="fba73b22ce5c48a268113766425ee51c" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a33_set_camera_quality           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>...</li></ul>
<p>
0x204 = 0xa1 : unkown (by default 0x00) 0x204 = 0x10 : contrast (by default 0x7c) 0x204 = 0x04 : Mode (unknown) (by default 0x00) (=&gt; already looked 0x01 and 0x02) 0x204 = 0x00 : brightness / white balance (by default 0x00) 
<p>Definition at line <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00873">873</a> of file <a class="el" href="stk11xx-dev-6a33_8c_source.html">stk11xx-dev-6a33.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00397">dev_stk11xx_set_camera_quality()</a>.</p>

</div>
</div><p>
<a class="anchor" name="0a3b4a79c11cdd68d1e50d6a74eaebc1"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a33_start_stream" ref="0a3b4a79c11cdd68d1e50d6a74eaebc1" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a33_start_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to start the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
After the initialization of the device and the initialization of the video stream, this function permits to enable the stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00934">934</a> of file <a class="el" href="stk11xx-dev-6a33_8c_source.html">stk11xx-dev-6a33.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00501">dev_stk11xx_start_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="fd64475c571433227c30e2e83650cae0"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a33_stop_stream" ref="fd64475c571433227c30e2e83650cae0" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a33_stop_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to stop the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
You use the function start_stream to enable the video stream. So you have to use the function stop_strem to disable the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00987">987</a> of file <a class="el" href="stk11xx-dev-6a33_8c_source.html">stk11xx-dev-6a33.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00604">dev_stk11xx_stop_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="607bf26946710a923629e0a6578730fd"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a51_camera_asleep" ref="607bf26946710a923629e0a6578730fd" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a51_camera_asleep           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Wake-up the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function permits to wake-up the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00718">718</a> of file <a class="el" href="stk11xx-dev-6a51_8c_source.html">stk11xx-dev-6a51.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00287">dev_stk11xx_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00750">dev_stk6a51_init_camera()</a>, and <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00070">dev_stk6a51_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6ed52dae36f49d0beb8aabe88490136b"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a51_camera_settings" ref="6ed52dae36f49d0beb8aabe88490136b" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a51_camera_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>... </li></ul>

<p>Definition at line <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01432">1432</a> of file <a class="el" href="stk11xx-dev-6a51_8c_source.html">stk11xx-dev-6a51.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>.</p>

</div>
</div><p>
<a class="anchor" name="0aabdbae954dd1b87f00a1109ebdfcf3"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a51_configure_device" ref="0aabdbae954dd1b87f00a1109ebdfcf3" args="(struct usb_stk11xx *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a51_configure_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>step</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to configure the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>step</em>&nbsp;</td><td>The step of configuration [0-11]</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
The configuration of device is composed of 12 steps. This function is called by the initialization process.<p>
We don't know the meaning of these steps ! We only replay the USB log. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00335">335</a> of file <a class="el" href="stk11xx-dev-6a51_8c_source.html">stk11xx-dev-6a51.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00781">dev_stk6a51_sensor_settings()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00750">dev_stk6a51_init_camera()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00070">dev_stk6a51_initialize_device()</a>, and <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01531">dev_stk6a51_reconf_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="43f18cf5691af6bdc5f00dc4221a9aa7"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a51_init_camera" ref="43f18cf5691af6bdc5f00dc4221a9aa7" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a51_init_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function initializes the device for the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
It's the start. This function has to be called at first, before enabling the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00750">750</a> of file <a class="el" href="stk11xx-dev-6a51_8c_source.html">stk11xx-dev-6a51.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00264">dev_stk11xx_camera_off()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00718">dev_stk6a51_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00335">dev_stk6a51_configure_device()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00115">dev_stk11xx_init_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="957f24feb4f228dd5eec4d81274fbdb7"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a51_initialize_device" ref="957f24feb4f228dd5eec4d81274fbdb7" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a51_initialize_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to initialize the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function must be called at first. It's the start of the initialization process. After this process, the device is completly initalized and it's ready.<p>
This function is written from the USB log. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00070">70</a> of file <a class="el" href="stk11xx-dev-6a51_8c_source.html">stk11xx-dev-6a51.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00718">dev_stk6a51_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00335">dev_stk6a51_configure_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx_8h_source.html#l00146">STK_INFO</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00063">dev_stk11xx_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5483158dbad9d6afc4b464daf36ba893"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a51_reconf_camera" ref="5483158dbad9d6afc4b464daf36ba893" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a51_reconf_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reconfigure the camera before the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
Before enabling the video stream, you have to reconfigure the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01531">1531</a> of file <a class="el" href="stk11xx-dev-6a51_8c_source.html">stk11xx-dev-6a51.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>, and <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00335">dev_stk6a51_configure_device()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00552">dev_stk11xx_reconf_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4f554836cc64be46af9faf36b2c8a942"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a51_sensor_settings" ref="4f554836cc64be46af9faf36b2c8a942" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a51_sensor_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to set default sensor settings. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
We set some registers in using a I2C bus. WARNING, the sensor settings can be different following the situation. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00781">781</a> of file <a class="el" href="stk11xx-dev-6a51_8c_source.html">stk11xx-dev-6a51.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00335">dev_stk6a51_configure_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f2e60cb33e254c4e554b83c7021aae24"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a51_set_camera_fps" ref="f2e60cb33e254c4e554b83c7021aae24" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a51_set_camera_fps           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the frame rate per second. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01485">1485</a> of file <a class="el" href="stk11xx-dev-6a51_8c_source.html">stk11xx-dev-6a51.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00449">dev_stk11xx_set_camera_fps()</a>.</p>

</div>
</div><p>
<a class="anchor" name="dcc296dbaabc4edaab807221cea02b53"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a51_set_camera_quality" ref="dcc296dbaabc4edaab807221cea02b53" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a51_set_camera_quality           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>... </li></ul>

<p>Definition at line <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01451">1451</a> of file <a class="el" href="stk11xx-dev-6a51_8c_source.html">stk11xx-dev-6a51.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00397">dev_stk11xx_set_camera_quality()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e513b1f984434b2bd5758721c87e4f32"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a51_start_stream" ref="e513b1f984434b2bd5758721c87e4f32" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a51_start_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to start the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
After the initialization of the device and the initialization of the video stream, this function permits to enable the stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01501">1501</a> of file <a class="el" href="stk11xx-dev-6a51_8c_source.html">stk11xx-dev-6a51.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00501">dev_stk11xx_start_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="000543ee38cd21247b5ae728886ac363"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a51_stop_stream" ref="000543ee38cd21247b5ae728886ac363" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a51_stop_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to stop the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
You use the function start_stream to enable the video stream. So you have to use the function stop_strem to disable the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01551">1551</a> of file <a class="el" href="stk11xx-dev-6a51_8c_source.html">stk11xx-dev-6a51.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00604">dev_stk11xx_stop_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="b85574169a8c07e673b5cb0ba106dada"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a54_camera_asleep" ref="b85574169a8c07e673b5cb0ba106dada" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a54_camera_asleep           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Wake-up the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function permits to wake-up the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00268">268</a> of file <a class="el" href="stk11xx-dev-6a54_8c_source.html">stk11xx-dev-6a54.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00287">dev_stk11xx_camera_asleep()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ed470d429ccda380a8f291edae753d4d"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a54_camera_settings" ref="ed470d429ccda380a8f291edae753d4d" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a54_camera_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>... </li></ul>

<p>Definition at line <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00437">437</a> of file <a class="el" href="stk11xx-dev-6a54_8c_source.html">stk11xx-dev-6a54.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>.</p>

</div>
</div><p>
<a class="anchor" name="0d9618aca1aa27cc9fd8c1923661f13e"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a54_configure_device" ref="0d9618aca1aa27cc9fd8c1923661f13e" args="(struct usb_stk11xx *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a54_configure_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>step</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to configure the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>step</em>&nbsp;</td><td>The step of configuration [0-11]</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
The configuration of device is composed of 12 steps. This function is called by the initialization process.<p>
We don't know the meaning of these steps ! We only replay the USB log. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00150">150</a> of file <a class="el" href="stk11xx-dev-6a54_8c_source.html">stk11xx-dev-6a54.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00314">dev_stk6a54_sensor_settings()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00070">dev_stk6a54_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f2fde070081483819f5c854448988b14"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a54_init_camera" ref="f2fde070081483819f5c854448988b14" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a54_init_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function initializes the device for the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
It's the start. This function has to be called at first, before enabling the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00298">298</a> of file <a class="el" href="stk11xx-dev-6a54_8c_source.html">stk11xx-dev-6a54.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00115">dev_stk11xx_init_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="997e051f497c5f8764db3a6ae2b01803"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a54_initialize_device" ref="997e051f497c5f8764db3a6ae2b01803" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a54_initialize_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to initialize the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function must be called at first. It's the start of the initialization process. After this process, the device is completly initalized and it's ready.<p>
This function is written from the USB log. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00070">70</a> of file <a class="el" href="stk11xx-dev-6a54_8c_source.html">stk11xx-dev-6a54.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00150">dev_stk6a54_configure_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00146">STK_INFO</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00063">dev_stk11xx_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7b45d1087780d95bbaae5ca513d74072"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a54_reconf_camera" ref="7b45d1087780d95bbaae5ca513d74072" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a54_reconf_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reconfigure the camera before the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
Before enabling the video stream, you have to reconfigure the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00502">502</a> of file <a class="el" href="stk11xx-dev-6a54_8c_source.html">stk11xx-dev-6a54.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00552">dev_stk11xx_reconf_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c2d42c841f0d29feccebe9770ec5037a"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a54_sensor_settings" ref="c2d42c841f0d29feccebe9770ec5037a" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a54_sensor_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to set default sensor settings. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
We set some registers in using a I2C bus. WARNING, the sensor settings can be different following the situation. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00314">314</a> of file <a class="el" href="stk11xx-dev-6a54_8c_source.html">stk11xx-dev-6a54.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00150">dev_stk6a54_configure_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c4d8165faaf96de2d0b343229dde4b0a"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a54_set_camera_fps" ref="c4d8165faaf96de2d0b343229dde4b0a" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a54_set_camera_fps           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the frame rate per second. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00471">471</a> of file <a class="el" href="stk11xx-dev-6a54_8c_source.html">stk11xx-dev-6a54.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00449">dev_stk11xx_set_camera_fps()</a>.</p>

</div>
</div><p>
<a class="anchor" name="2635710f4aef4b67f41bca31151d08ac"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a54_set_camera_quality" ref="2635710f4aef4b67f41bca31151d08ac" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a54_set_camera_quality           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>... </li></ul>

<p>Definition at line <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00456">456</a> of file <a class="el" href="stk11xx-dev-6a54_8c_source.html">stk11xx-dev-6a54.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00397">dev_stk11xx_set_camera_quality()</a>.</p>

</div>
</div><p>
<a class="anchor" name="914b59be66254f9d097bc3517cf10d5e"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a54_start_stream" ref="914b59be66254f9d097bc3517cf10d5e" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a54_start_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to start the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
After the initialization of the device and the initialization of the video stream, this function permits to enable the stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00487">487</a> of file <a class="el" href="stk11xx-dev-6a54_8c_source.html">stk11xx-dev-6a54.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00501">dev_stk11xx_start_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="85405354c0c40263761f102e6927830f"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6a54_stop_stream" ref="85405354c0c40263761f102e6927830f" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6a54_stop_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to stop the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
You use the function start_stream to enable the video stream. So you have to use the function stop_strem to disable the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00520">520</a> of file <a class="el" href="stk11xx-dev-6a54_8c_source.html">stk11xx-dev-6a54.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00604">dev_stk11xx_stop_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e1dec85b5ecbb3514180ba783f669702"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6d51_camera_asleep" ref="e1dec85b5ecbb3514180ba783f669702" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6d51_camera_asleep           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Wake-up the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function permits to wake-up the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00250">250</a> of file <a class="el" href="stk11xx-dev-6d51_8c_source.html">stk11xx-dev-6d51.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00287">dev_stk11xx_camera_asleep()</a>, and <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00070">dev_stk6d51_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="449e2a69ac73daae562c4ecd03bd613f"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6d51_camera_settings" ref="449e2a69ac73daae562c4ecd03bd613f" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6d51_camera_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>... </li></ul>

<p>Definition at line <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00967">967</a> of file <a class="el" href="stk11xx-dev-6d51_8c_source.html">stk11xx-dev-6d51.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d5c88291368849fedc390387d9674377"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6d51_configure_device" ref="d5c88291368849fedc390387d9674377" args="(struct usb_stk11xx *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6d51_configure_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>step</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to configure the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>step</em>&nbsp;</td><td>The step of configuration [0-11]</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
The configuration of device is composed of 12 steps. This function is called by the initialization process.<p>
We don't know the meaning of these steps ! We only replay the USB log. 
<p>Definition at line <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00132">132</a> of file <a class="el" href="stk11xx-dev-6d51_8c_source.html">stk11xx-dev-6d51.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00296">dev_stk6d51_sensor_settings()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00070">dev_stk6d51_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="73336eca026c44e7cd3be23afca252ed"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6d51_init_camera" ref="73336eca026c44e7cd3be23afca252ed" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6d51_init_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function initializes the device for the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
It's the start. This function has to be called at first, before enabling the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00280">280</a> of file <a class="el" href="stk11xx-dev-6d51_8c_source.html">stk11xx-dev-6d51.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00115">dev_stk11xx_init_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="571fb820b841490fe7b6da58303d0e88"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6d51_initialize_device" ref="571fb820b841490fe7b6da58303d0e88" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6d51_initialize_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to initialize the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function must be called at first. It's the start of the initialization process. After this process, the device is completly initalized and it's ready.<p>
This function is written from the USB log. 
<p>Definition at line <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00070">70</a> of file <a class="el" href="stk11xx-dev-6d51_8c_source.html">stk11xx-dev-6d51.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00250">dev_stk6d51_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00132">dev_stk6d51_configure_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00146">STK_INFO</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00063">dev_stk11xx_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="2462636d539456b936c389d1bb860092"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6d51_reconf_camera" ref="2462636d539456b936c389d1bb860092" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6d51_reconf_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reconfigure the camera before the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
Before enabling the video stream, you have to reconfigure the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-6d51_8c_source.html#l01051">1051</a> of file <a class="el" href="stk11xx-dev-6d51_8c_source.html">stk11xx-dev-6d51.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00552">dev_stk11xx_reconf_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="67d5cf9a83dda54b798ca38b28c486ae"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6d51_sensor_settings" ref="67d5cf9a83dda54b798ca38b28c486ae" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6d51_sensor_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to set default sensor settings. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
We set some registers in using a I2C bus. WARNING, the sensor settings can be different following the situation. 
<p>Definition at line <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00296">296</a> of file <a class="el" href="stk11xx-dev-6d51_8c_source.html">stk11xx-dev-6d51.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00132">dev_stk6d51_configure_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7c78324c46c5b4eb39c49cd27d32e002"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6d51_set_camera_fps" ref="7c78324c46c5b4eb39c49cd27d32e002" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6d51_set_camera_fps           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the frame rate per second. 
<p>Definition at line <a class="el" href="stk11xx-dev-6d51_8c_source.html#l01020">1020</a> of file <a class="el" href="stk11xx-dev-6d51_8c_source.html">stk11xx-dev-6d51.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00449">dev_stk11xx_set_camera_fps()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6b14ffeeef2ab18b7458003b209ba26a"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6d51_set_camera_quality" ref="6b14ffeeef2ab18b7458003b209ba26a" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6d51_set_camera_quality           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>... </li></ul>

<p>Definition at line <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00986">986</a> of file <a class="el" href="stk11xx-dev-6d51_8c_source.html">stk11xx-dev-6d51.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00397">dev_stk11xx_set_camera_quality()</a>.</p>

</div>
</div><p>
<a class="anchor" name="130b349fca52899a6d53e1a5198fe5c9"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6d51_start_stream" ref="130b349fca52899a6d53e1a5198fe5c9" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6d51_start_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to start the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
After the initialization of the device and the initialization of the video stream, this function permits to enable the stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6d51_8c_source.html#l01036">1036</a> of file <a class="el" href="stk11xx-dev-6d51_8c_source.html">stk11xx-dev-6d51.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00501">dev_stk11xx_start_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="974bde57ac087cc829bbb0fa3801199c"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stk6d51_stop_stream" ref="974bde57ac087cc829bbb0fa3801199c" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk6d51_stop_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to stop the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
You use the function start_stream to enable the video stream. So you have to use the function stop_strem to disable the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-6d51_8c_source.html#l01069">1069</a> of file <a class="el" href="stk11xx-dev-6d51_8c_source.html">stk11xx-dev-6d51.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00604">dev_stk11xx_stop_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="364e7f4268faa63a61b63040ed41be84"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka311_camera_asleep" ref="364e7f4268faa63a61b63040ed41be84" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka311_camera_asleep           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Wake-up the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function permits to wake-up the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-a311_8c_source.html#l00632">632</a> of file <a class="el" href="stk11xx-dev-a311_8c_source.html">stk11xx-dev-a311.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00287">dev_stk11xx_camera_asleep()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00662">dev_stka311_init_camera()</a>, and <a class="el" href="stk11xx-dev-a311_8c_source.html#l00070">dev_stka311_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="10e79ba2ec9f70ffd082a4dbb7ebd179"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka311_camera_settings" ref="10e79ba2ec9f70ffd082a4dbb7ebd179" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka311_camera_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>... </li></ul>

<p>Definition at line <a class="el" href="stk11xx-dev-a311_8c_source.html#l00819">819</a> of file <a class="el" href="stk11xx-dev-a311_8c_source.html">stk11xx-dev-a311.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00916">dev_stka311_set_camera_fps()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00859">dev_stka311_set_camera_quality()</a>, and <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>, and <a class="el" href="stk11xx-dev-a311_8c_source.html#l00662">dev_stka311_init_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="91138b6d0bae1b59a826ed450163e9dd"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka311_configure_device" ref="91138b6d0bae1b59a826ed450163e9dd" args="(struct usb_stk11xx *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka311_configure_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>step</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to configure the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>step</em>&nbsp;</td><td>The step of configuration [0-11]</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
The configuration of device is composed of 11 steps. This function is called by the initialization process.<p>
We don't know the meaning of these steps ! We only replay the USB log.<p>
The steps 0 to 9 are called during the initialization. Then, the driver choose the last step : 10 : for a resolution from 80x60 to 640x480 11 : for a resolution from 800x600 to 1280x1024 
<p>Definition at line <a class="el" href="stk11xx-dev-a311_8c_source.html#l00393">393</a> of file <a class="el" href="stk11xx-dev-a311_8c_source.html">stk11xx-dev-a311.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00711">dev_stka311_sensor_settings()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-a311_8c_source.html#l00662">dev_stka311_init_camera()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00070">dev_stka311_initialize_device()</a>, and <a class="el" href="stk11xx-dev-a311_8c_source.html#l01005">dev_stka311_reconf_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="268d5eb7819752a8a8b2fb855266245b"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka311_init_camera" ref="268d5eb7819752a8a8b2fb855266245b" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka311_init_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function initializes the device for the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
It's the start. This function has to be called at first, before enabling the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-a311_8c_source.html#l00662">662</a> of file <a class="el" href="stk11xx-dev-a311_8c_source.html">stk11xx-dev-a311.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00264">dev_stk11xx_camera_off()</a>, <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00632">dev_stka311_camera_asleep()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00819">dev_stka311_camera_settings()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00393">dev_stka311_configure_device()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00115">dev_stk11xx_init_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="464bc80890a146546904b9c079e91e64"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka311_initialize_device" ref="464bc80890a146546904b9c079e91e64" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka311_initialize_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to initialize the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function must be called at first. It's the start of the initialization process. After this process, the device is completly initalized and it's ready.<p>
This function is written from the USB log. 
<p>Definition at line <a class="el" href="stk11xx-dev-a311_8c_source.html#l00070">70</a> of file <a class="el" href="stk11xx-dev-a311_8c_source.html">stk11xx-dev-a311.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00632">dev_stka311_camera_asleep()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00393">dev_stka311_configure_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx_8h_source.html#l00146">STK_INFO</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00063">dev_stk11xx_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="641a76164b5ee81457c70fc1e52aceec"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka311_reconf_camera" ref="641a76164b5ee81457c70fc1e52aceec" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka311_reconf_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reconfigure the camera before the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
Before enabling the video stream, you have to reconfigure the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-a311_8c_source.html#l01005">1005</a> of file <a class="el" href="stk11xx-dev-a311_8c_source.html">stk11xx-dev-a311.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>, and <a class="el" href="stk11xx-dev-a311_8c_source.html#l00393">dev_stka311_configure_device()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00552">dev_stk11xx_reconf_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="72b7b62ff65034ae7e5f881f45cf76e7"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka311_sensor_settings" ref="72b7b62ff65034ae7e5f881f45cf76e7" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka311_sensor_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to set default sensor settings. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
We set some registers in using a I2C bus. WARNING, the sensor settings can be different following the situation. 
<p>Definition at line <a class="el" href="stk11xx-dev-a311_8c_source.html#l00711">711</a> of file <a class="el" href="stk11xx-dev-a311_8c_source.html">stk11xx-dev-a311.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-a311_8c_source.html#l00393">dev_stka311_configure_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="9eca58c7f63fa2d19d2d1491922bbefe"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka311_set_camera_fps" ref="9eca58c7f63fa2d19d2d1491922bbefe" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka311_set_camera_fps           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the frame rate per second.<p>
0x204 = 0x2e : Fps MSB (by default 0x01) 0x204 = 0x2d : Fps LSB (by default 0x00)<p>
0x2e | 0x2d | Nbr fps -----+------+-------- 0x00 | 0x00 | 30 0x01 | 0x00 | 20 0x02 | 0x00 | 15 0x03 | 0x00 | 12 0x04 | 0x00 | 10 
<p>Definition at line <a class="el" href="stk11xx-dev-a311_8c_source.html#l00916">916</a> of file <a class="el" href="stk11xx-dev-a311_8c_source.html">stk11xx-dev-a311.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00449">dev_stk11xx_set_camera_fps()</a>, and <a class="el" href="stk11xx-dev-a311_8c_source.html#l00819">dev_stka311_camera_settings()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e57225ece7d82da5a25c2ec6b5b05e55"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka311_set_camera_quality" ref="e57225ece7d82da5a25c2ec6b5b05e55" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka311_set_camera_quality           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>...</li></ul>
<p>
0x204 = 0xa1 : unkown (by default 0x00) 0x204 = 0x10 : contrast (by default 0x7c) 0x204 = 0x04 : Mode (unknown) (by default 0x00) (=&gt; already looked 0x01 and 0x02) 0x204 = 0x00 : brightness / white balance (by default 0x00) 
<p>Definition at line <a class="el" href="stk11xx-dev-a311_8c_source.html#l00859">859</a> of file <a class="el" href="stk11xx-dev-a311_8c_source.html">stk11xx-dev-a311.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00397">dev_stk11xx_set_camera_quality()</a>, and <a class="el" href="stk11xx-dev-a311_8c_source.html#l00819">dev_stka311_camera_settings()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ef8629149742509c287016335f8bf487"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka311_start_stream" ref="ef8629149742509c287016335f8bf487" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka311_start_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to start the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
After the initialization of the device and the initialization of the video stream, this function permits to enable the stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-a311_8c_source.html#l00975">975</a> of file <a class="el" href="stk11xx-dev-a311_8c_source.html">stk11xx-dev-a311.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00501">dev_stk11xx_start_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3958dea772d586b73cfcfa562d1d86f6"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka311_stop_stream" ref="3958dea772d586b73cfcfa562d1d86f6" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka311_stop_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to stop the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
You use the function start_stream to enable the video stream. So you have to use the function stop_strem to disable the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-a311_8c_source.html#l01046">1046</a> of file <a class="el" href="stk11xx-dev-a311_8c_source.html">stk11xx-dev-a311.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00604">dev_stk11xx_stop_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="a7d8ba697f1135e2236426269556f046"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka821_camera_asleep" ref="a7d8ba697f1135e2236426269556f046" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka821_camera_asleep           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Wake-up the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function permits to wake-up the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-a821_8c_source.html#l00583">583</a> of file <a class="el" href="stk11xx-dev-a821_8c_source.html">stk11xx-dev-a821.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00287">dev_stk11xx_camera_asleep()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00613">dev_stka821_init_camera()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00070">dev_stka821_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5c382abc34490844224b0ca9106ae06d"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka821_camera_settings" ref="5c382abc34490844224b0ca9106ae06d" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka821_camera_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>... </li></ul>

<p>Definition at line <a class="el" href="stk11xx-dev-a821_8c_source.html#l00738">738</a> of file <a class="el" href="stk11xx-dev-a821_8c_source.html">stk11xx-dev-a821.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00613">dev_stka821_init_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="056df583d75edc13bd5c468863832a24"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka821_configure_device" ref="056df583d75edc13bd5c468863832a24" args="(struct usb_stk11xx *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka821_configure_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>step</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to configure the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>step</em>&nbsp;</td><td>The step of configuration [0-11]</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
The configuration of device is composed of 12 steps. This function is called by the initialization process.<p>
We don't know the meaning of these steps ! We only replay the USB log. 
<p>Definition at line <a class="el" href="stk11xx-dev-a821_8c_source.html#l00316">316</a> of file <a class="el" href="stk11xx-dev-a821_8c_source.html">stk11xx-dev-a821.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00662">dev_stka821_sensor_settings()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-a821_8c_source.html#l00613">dev_stka821_init_camera()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00070">dev_stka821_initialize_device()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00875">dev_stka821_reconf_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="dd2117a8e246fac85e884e80bf4c29ed"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka821_init_camera" ref="dd2117a8e246fac85e884e80bf4c29ed" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka821_init_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function initializes the device for the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
It's the start. This function has to be called at first, before enabling the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-a821_8c_source.html#l00613">613</a> of file <a class="el" href="stk11xx-dev-a821_8c_source.html">stk11xx-dev-a821.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00264">dev_stk11xx_camera_off()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00583">dev_stka821_camera_asleep()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00738">dev_stka821_camera_settings()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00316">dev_stka821_configure_device()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00115">dev_stk11xx_init_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="14dc35a91ee057dd20b30f8a997b33e5"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka821_initialize_device" ref="14dc35a91ee057dd20b30f8a997b33e5" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka821_initialize_device           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to initialize the device. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This function must be called at first. It's the start of the initialization process. After this process, the device is completly initalized and it's ready.<p>
This function is written from the USB log. 
<p>Definition at line <a class="el" href="stk11xx-dev-a821_8c_source.html#l00070">70</a> of file <a class="el" href="stk11xx-dev-a821_8c_source.html">stk11xx-dev-a821.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00583">dev_stka821_camera_asleep()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00316">dev_stka821_configure_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx_8h_source.html#l00146">STK_INFO</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00063">dev_stk11xx_initialize_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7d9e16ef4a5a1a4c571f8f95af1419cd"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka821_reconf_camera" ref="7d9e16ef4a5a1a4c571f8f95af1419cd" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka821_reconf_camera           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reconfigure the camera before the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
Before enabling the video stream, you have to reconfigure the device. 
<p>Definition at line <a class="el" href="stk11xx-dev-a821_8c_source.html#l00875">875</a> of file <a class="el" href="stk11xx-dev-a821_8c_source.html">stk11xx-dev-a821.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00342">dev_stk11xx_camera_settings()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00316">dev_stka821_configure_device()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00552">dev_stk11xx_reconf_camera()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d8ef48aec6d31244810a65e3fddf0d4c"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka821_sensor_settings" ref="d8ef48aec6d31244810a65e3fddf0d4c" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka821_sensor_settings           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to set default sensor settings. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
We set some registers in using a I2C bus. WARNING, the sensor settings can be different following the situation. 
<p>Definition at line <a class="el" href="stk11xx-dev-a821_8c_source.html#l00662">662</a> of file <a class="el" href="stk11xx-dev-a821_8c_source.html">stk11xx-dev-a821.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-a821_8c_source.html#l00316">dev_stka821_configure_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e030f2f9c90aa26a51b16e10ae890bd1"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka821_set_camera_fps" ref="e030f2f9c90aa26a51b16e10ae890bd1" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka821_set_camera_fps           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the frame rate per second. 
<p>Definition at line <a class="el" href="stk11xx-dev-a821_8c_source.html#l00829">829</a> of file <a class="el" href="stk11xx-dev-a821_8c_source.html">stk11xx-dev-a821.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00449">dev_stk11xx_set_camera_fps()</a>.</p>

</div>
</div><p>
<a class="anchor" name="094415517a86ee6104d17f614f023207"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka821_set_camera_quality" ref="094415517a86ee6104d17f614f023207" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka821_set_camera_quality           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function permits to modify the settings of the camera. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
This functions permits to modify the settings :<ul>
<li>brightness</li><li>contrast</li><li>white balance</li><li>... </li></ul>

<p>Definition at line <a class="el" href="stk11xx-dev-a821_8c_source.html#l00795">795</a> of file <a class="el" href="stk11xx-dev-a821_8c_source.html">stk11xx-dev-a821.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00397">dev_stk11xx_set_camera_quality()</a>.</p>

</div>
</div><p>
<a class="anchor" name="815b1cf5be9bda49d3c18142b8bcfaa9"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka821_start_stream" ref="815b1cf5be9bda49d3c18142b8bcfaa9" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka821_start_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to start the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
After the initialization of the device and the initialization of the video stream, this function permits to enable the stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-a821_8c_source.html#l00845">845</a> of file <a class="el" href="stk11xx-dev-a821_8c_source.html">stk11xx-dev-a821.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00501">dev_stk11xx_start_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d5b68d124d4e4798083c3989438918ce"></a><!-- doxytag: member="stk11xx&#45;dev.h::dev_stka821_stop_stream" ref="d5b68d124d4e4798083c3989438918ce" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stka821_stop_stream           </td>
          <td>(</td>
          <td class="paramtype">struct usb_stk11xx *&nbsp;</td>
          <td class="paramname"> <em>dev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the device to stop the stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dev</em>&nbsp;</td><td>Device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
You use the function start_stream to enable the video stream. So you have to use the function stop_strem to disable the video stream. 
<p>Definition at line <a class="el" href="stk11xx-dev-a821_8c_source.html#l00895">895</a> of file <a class="el" href="stk11xx-dev-a821_8c_source.html">stk11xx-dev-a821.c</a>.</p>

<p>References <a class="el" href="stk11xx-usb_8c_source.html#l00572">usb_stk11xx_read_registry()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00604">dev_stk11xx_stop_stream()</a>.</p>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Nov 11 13:36:59 2009 for SyntekUSBVideoCamera by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>