Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > by-pkgid > 5c710d7790f885bcc8dd115ae6a7763f > files > 58

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.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.h File Reference</h1>Driver for Syntek USB video camera.  
<a href="#_details">More...</a>
<p>

<p>
<a href="stk11xx_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>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>stk11xx_iso_buf</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>stk11xx_frame_buf</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>stk11xx_image_buf</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>stk11xx_coord</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>stk11xx_video</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>usb_stk11xx</b></td></tr>

<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#25634d21648ca7fb7a2aca614bafaaeb">DRIVER_NAME</a>&nbsp;&nbsp;&nbsp;&quot;stk11xx&quot;</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#e578001fe043b4cca7a0edd801cfe9c4">DRIVER_VERSION</a>&nbsp;&nbsp;&nbsp;&quot;v2.0.0&quot;</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#deb97232a92a9bf74cc96d45637116ae">DRIVER_VERSION_NUM</a>&nbsp;&nbsp;&nbsp;0x020000</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#ae26107a17c06584f8bbd0d6fb91013d">DRIVER_DESC</a>&nbsp;&nbsp;&nbsp;&quot;Syntek USB Video Camera&quot;</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#13f5c49b43ae26d3c3b618ec019a7685">DRIVER_AUTHOR</a>&nbsp;&nbsp;&nbsp;&quot;Nicolas VIVIEN&quot;</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#dd51b53e8b628f95078327028dccb20c">PREFIX</a>&nbsp;&nbsp;&nbsp;DRIVER_NAME &quot;: &quot;</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#ec973c0ea6961094f801d3f90d1dcdd6">USB_SYNTEK1_VENDOR_ID</a>&nbsp;&nbsp;&nbsp;0x174f</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#6d15e8c0162bcf42c8192fdf8fc1b516">USB_SYNTEK2_VENDOR_ID</a>&nbsp;&nbsp;&nbsp;0x05e1</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#b10b64fc880949ce0503df77bcad8ed1">USB_STK_A311_PRODUCT_ID</a>&nbsp;&nbsp;&nbsp;0xa311</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#f8fbeced8d03a4662b945faa8fb97d34">USB_STK_A821_PRODUCT_ID</a>&nbsp;&nbsp;&nbsp;0xa821</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#433f18ebde586610039cb3f98a360a0d">USB_STK_6A31_PRODUCT_ID</a>&nbsp;&nbsp;&nbsp;0x6a31</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#0e65935d0a86b7308c3314082e4f8e28">USB_STK_6A33_PRODUCT_ID</a>&nbsp;&nbsp;&nbsp;0x6a33</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#7893d73e6865a8b61f07efe5978ce62a">USB_STK_6A51_PRODUCT_ID</a>&nbsp;&nbsp;&nbsp;0x6a51</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#9051e3ea42b0b1d3d6083389381cde6f">USB_STK_6A54_PRODUCT_ID</a>&nbsp;&nbsp;&nbsp;0x6a54</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#393c2bb4ce5348e4be6a2b50dffeb1c5">USB_STK_6D51_PRODUCT_ID</a>&nbsp;&nbsp;&nbsp;0x6d51</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#08f8051e3d5cafd2f39bc274921db312">USB_STK_0501_PRODUCT_ID</a>&nbsp;&nbsp;&nbsp;0x0501</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#02acd2788e2df6e66e06dff1b96b88b7">VID_HARDWARE_STK11XX</a>&nbsp;&nbsp;&nbsp;88</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#ac10237297a8b2b0665e56179c99b64f">MAX_ISO_BUFS</a>&nbsp;&nbsp;&nbsp;16</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#e588d0730bf3cd5f13c3888a6b1b6d5a">ISO_FRAMES_PER_DESC</a>&nbsp;&nbsp;&nbsp;10</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#95e294179b485a466ddd6520f56e9431">ISO_MAX_FRAME_SIZE</a>&nbsp;&nbsp;&nbsp;3 * 1024</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#845fc3faad4ba5aedfae60d91db77736">ISO_BUFFER_SIZE</a>&nbsp;&nbsp;&nbsp;(ISO_FRAMES_PER_DESC * ISO_MAX_FRAME_SIZE)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#aece77d67ce4d8f6c8e27269d33c9d89">STK11XX_MAX_IMAGES</a>&nbsp;&nbsp;&nbsp;10</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#c866eee120e8f291a6130a26d252a425">STK11XX_FRAME_SIZE</a>&nbsp;&nbsp;&nbsp;(1280 * 1024 * 4)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#4ac4c54762be94083880d2988060a7c4">DRIVER_SUPPORT</a>&nbsp;&nbsp;&nbsp;&quot;Syntek USB Camera : STK-1135&quot;</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#1958f6738c21fdcb362bee81312aa5de">CONFIG_STK11XX_DEBUG</a>&nbsp;&nbsp;&nbsp;0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#55d1b4af8174ee2f44f9ea2e18f6392d">STK_INFO</a>(str, args...)&nbsp;&nbsp;&nbsp;printk(KERN_INFO PREFIX str, ##args)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#2548285f2eade14f8e93c9b611e622d7">STK_ERROR</a>(str, args...)&nbsp;&nbsp;&nbsp;printk(KERN_ERR PREFIX str, ##args)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#ea1169d7c9eeeea59745f7c1e9a8de56">STK_WARNING</a>(str, args...)&nbsp;&nbsp;&nbsp;printk(KERN_WARNING PREFIX str, ##args)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#6a7ffe6803607fae5d467b1b4f5515f2">STK_DEBUG</a>(str, args...)&nbsp;&nbsp;&nbsp;do { } while(0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#8051a3a79feead28d859beeb87145878">CONFIG_STK11XX_DEBUG_STREAM</a>&nbsp;&nbsp;&nbsp;0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#649dee4d247234a95351c9d56205623b">STK_STREAM</a>(str, args...)&nbsp;&nbsp;&nbsp;do { } while(0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#563c7087d02e5ac0f5c3a8124b36f231">STK11XX_PERCENT</a>(x, y)&nbsp;&nbsp;&nbsp;( ((int)x * (int)y) / 100)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#19aafceb483b5079bf16bebe1733b922">to_stk11xx_dev</a>(d)&nbsp;&nbsp;&nbsp;container_of(d, struct usb_stk11xx, kref)</td></tr>

<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#98c8219ab2b3b778f7305d0facd7e6f0">T_SYNTEK_DEVICE</a> { <br>
&nbsp;&nbsp;<b>SYNTEK_STK_M811</b> =  1, 
<b>SYNTEK_STK_A311</b> =  2, 
<b>SYNTEK_STK_A821</b> =  3, 
<b>SYNTEK_STK_6A31</b> =  4, 
<br>
&nbsp;&nbsp;<b>SYNTEK_STK_6A33</b> =  5, 
<b>SYNTEK_STK_6A51</b> =  6, 
<b>SYNTEK_STK_6A54</b> =  7, 
<b>SYNTEK_STK_6D51</b> =  8
<br>
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#5400cbd98f5ec8f3d24ec55313e274f1">T_STK11XX_VIDEOMODE</a> { <a class="el" href="stk11xx_8h.html#5400cbd98f5ec8f3d24ec55313e274f1896c4ee082ee0fa3eed44795b4a78e9e">STK11XX_VGA</a>, 
<a class="el" href="stk11xx_8h.html#5400cbd98f5ec8f3d24ec55313e274f13f5de5bc8e126ddba84831bfdf8fdaa8">STK11XX_SXGA</a>, 
<a class="el" href="stk11xx_8h.html#5400cbd98f5ec8f3d24ec55313e274f1a3d8892408ae0c6388d749887ea9b6f7">STK11XX_UXGA</a>
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#0d648b0f385f0e07baec23e3f03b27a6">T_STK11XX_RESOLUTION</a> { <br>
&nbsp;&nbsp;<b>STK11XX_80x60</b>, 
<b>STK11XX_128x96</b>, 
<b>STK11XX_160x120</b>, 
<b>STK11XX_213x160</b>, 
<br>
&nbsp;&nbsp;<b>STK11XX_320x240</b>, 
<b>STK11XX_640x480</b>, 
<b>STK11XX_800x600</b>, 
<b>STK11XX_1024x768</b>, 
<br>
&nbsp;&nbsp;<b>STK11XX_1280x1024</b>, 
<b>STK11XX_NBR_SIZES</b>
<br>
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#03341f90cb66feda805e4a0afa363ddc">T_STK11XX_PALETTE</a> { <br>
&nbsp;&nbsp;<b>STK11XX_PALETTE_RGB24</b>, 
<b>STK11XX_PALETTE_RGB32</b>, 
<b>STK11XX_PALETTE_BGR24</b>, 
<b>STK11XX_PALETTE_BGR32</b>, 
<br>
&nbsp;&nbsp;<b>STK11XX_PALETTE_UYVY</b>, 
<b>STK11XX_PALETTE_YUYV</b>
<br>
 }</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_8h.html#ba4a0665d0f900b337b43d411e87ccb0">usb_stk11xx_write_registry</a> (struct usb_stk11xx *, __u16, __u16)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Write a 16-bits value to a 16-bits register.  <a href="#ba4a0665d0f900b337b43d411e87ccb0"></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_8h.html#d6ae987a2bad16ca19b2b60de7c96672">usb_stk11xx_read_registry</a> (struct usb_stk11xx *, __u16, int *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read a 16-bits value from a 16-bits register.  <a href="#d6ae987a2bad16ca19b2b60de7c96672"></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_8h.html#a982f4b4e3f9b3e7bc30f7f377e4ec6f">usb_stk11xx_set_feature</a> (struct usb_stk11xx *, int)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Send the message SET_FEATURE and choose the interface.  <a href="#a982f4b4e3f9b3e7bc30f7f377e4ec6f"></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_8h.html#cfce4cb3110489637b0617be920c7c8c">usb_stk11xx_set_configuration</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Send the message SET_CONFIGURATION.  <a href="#cfce4cb3110489637b0617be920c7c8c"></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_8h.html#003ffdf3e0f5f20d60b69650e1b7d769">usb_stk11xx_isoc_init</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initilize an isochronous pipe.  <a href="#003ffdf3e0f5f20d60b69650e1b7d769"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#b956e6442fd5e152f5846a1db7e9e5eb">usb_stk11xx_isoc_handler</a> (struct urb *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ISOC handler.  <a href="#b956e6442fd5e152f5846a1db7e9e5eb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#8fb48c1dc48247cb7a580ac09f5e7e75">usb_stk11xx_isoc_cleanup</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clean-up all the ISOC buffers.  <a href="#8fb48c1dc48247cb7a580ac09f5e7e75"></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_8h.html#2d3e1e713cb004ed900c19a591358157">dev_stk11xx_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="#2d3e1e713cb004ed900c19a591358157"></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_8h.html#484dc060b60923c1b4e82ba9d92fd210">dev_stk11xx_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="#484dc060b60923c1b4e82ba9d92fd210"></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_8h.html#07b40aeb3839bdea2b62060143d92cf1">dev_stk11xx_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="#07b40aeb3839bdea2b62060143d92cf1"></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_8h.html#1599379f7f17fc826657c36068d5140a">dev_stk11xx_check_device</a> (struct usb_stk11xx *, int)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to check the device in reading the register 0x0201.  <a href="#1599379f7f17fc826657c36068d5140a"></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_8h.html#a6f918a8d8d0d1c531e9fe3f64d00d6a">dev_stk11xx_camera_on</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function switchs on the camera.  <a href="#a6f918a8d8d0d1c531e9fe3f64d00d6a"></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_8h.html#757e00fd2115fd15cb385366fef204fc">dev_stk11xx_camera_off</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function switchs off the camera.  <a href="#757e00fd2115fd15cb385366fef204fc"></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_8h.html#240e068813b6c3bb0564d585e496fcb0">dev_stk11xx_camera_asleep</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wake-up the camera.  <a href="#240e068813b6c3bb0564d585e496fcb0"></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_8h.html#f92eb0b647251032bb8c1d9fed3a0f47">dev_stk11xx_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="#f92eb0b647251032bb8c1d9fed3a0f47"></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_8h.html#4b0f0d7bcf4d0565fdf799bd409330ba">dev_stk11xx_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="#4b0f0d7bcf4d0565fdf799bd409330ba"></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_8h.html#c15cba528f7d6408174802cd118526a2">dev_stk11xx_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="#c15cba528f7d6408174802cd118526a2"></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_8h.html#7a02dd7b6ed1a9daed1a4d290c1809be">dev_stk11xx_set_camera_quality</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the quality video of the camera.  <a href="#7a02dd7b6ed1a9daed1a4d290c1809be"></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_8h.html#22dab906e660e43573943e4c2f2504c0">dev_stk11xx_set_camera_fps</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function permits to modify the fps of the camera.  <a href="#22dab906e660e43573943e4c2f2504c0"></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_8h.html#848a627e5fb76b194e2b5658fd3f8f20">dev_stk11xx_watchdog_camera</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A espece of software watchdog.  <a href="#848a627e5fb76b194e2b5658fd3f8f20"></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_8h.html#ee51a96a13692d189e6d91bd781afa7f">v4l_stk11xx_select_video_mode</a> (struct usb_stk11xx *, int, int)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Select a video mode.  <a href="#ee51a96a13692d189e6d91bd781afa7f"></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_8h.html#ea83cb34e801e4b0470c848174128aeb">v4l_stk11xx_register_video_device</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Register the video device.  <a href="#ea83cb34e801e4b0470c848174128aeb"></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_8h.html#8abb280daa1010eece7e965f3a6471ba">v4l_stk11xx_unregister_video_device</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unregister the video device.  <a href="#8abb280daa1010eece7e965f3a6471ba"></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_8h.html#7820fa9a826d800dc3fa486716778eb6">stk11xx_create_sysfs_files</a> (struct video_device *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create the 'sys' entries.  <a href="#7820fa9a826d800dc3fa486716778eb6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#c2abc4e52cf858cc22bed97d9fca064f">stk11xx_remove_sysfs_files</a> (struct video_device *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove the 'sys' entries.  <a href="#c2abc4e52cf858cc22bed97d9fca064f"></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_8h.html#7d64c84f3004137bd930c9a53c312ab5">stk11xx_allocate_buffers</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocate all ISOC buffers.  <a href="#7d64c84f3004137bd930c9a53c312ab5"></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_8h.html#c5658017a802daf91de04b84770cf8b0">stk11xx_reset_buffers</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reset all ISOC buffers.  <a href="#c5658017a802daf91de04b84770cf8b0"></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_8h.html#3633ec31448d548f5528cfd818435856">stk11xx_clear_buffers</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clear current buffers.  <a href="#3633ec31448d548f5528cfd818435856"></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_8h.html#743db10a2819add190d2d1ab9e32ad80">stk11xx_free_buffers</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Release all buffers.  <a href="#743db10a2819add190d2d1ab9e32ad80"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#d488d2f913e0dbe93a9a8fdee45c9f74">stk11xx_next_image</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Prepare the next image.  <a href="#d488d2f913e0dbe93a9a8fdee45c9f74"></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_8h.html#32eb2f968fb5595a37696bfc87ef3b0b">stk11xx_next_frame</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Prepare the next frame.  <a href="#32eb2f968fb5595a37696bfc87ef3b0b"></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_8h.html#6149eb9b00c67901fa80e745931a1ef8">stk11xx_handle_frame</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Handler frame.  <a href="#6149eb9b00c67901fa80e745931a1ef8"></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_8h.html#eb706601cc04933521aec8a0e78cbe7d">stk11xx_decompress</a> (struct usb_stk11xx *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Decompress a frame.  <a href="#eb706601cc04933521aec8a0e78cbe7d"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct stk11xx_coord&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stk11xx_8h.html#4977da08718c28052dab2096023754e2">stk11xx_image_sizes</a> [STK11XX_NBR_SIZES]</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>2006-10-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.h">https://syntekdriver.svn.sourceforge.net/svnroot/syntekdriver/tags/2.1.0/stk11xx.h</a> </dd></dl>

<p>Definition in file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="1958f6738c21fdcb362bee81312aa5de"></a><!-- doxytag: member="stk11xx.h::CONFIG_STK11XX_DEBUG" ref="1958f6738c21fdcb362bee81312aa5de" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CONFIG_STK11XX_DEBUG&nbsp;&nbsp;&nbsp;0          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Enable / Disable the debug mode. 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00134">134</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="8051a3a79feead28d859beeb87145878"></a><!-- doxytag: member="stk11xx.h::CONFIG_STK11XX_DEBUG_STREAM" ref="8051a3a79feead28d859beeb87145878" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CONFIG_STK11XX_DEBUG_STREAM&nbsp;&nbsp;&nbsp;0          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Enable / Disable the debug mode about the stream. 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00163">163</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="13f5c49b43ae26d3c3b618ec019a7685"></a><!-- doxytag: member="stk11xx.h::DRIVER_AUTHOR" ref="13f5c49b43ae26d3c3b618ec019a7685" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_AUTHOR&nbsp;&nbsp;&nbsp;&quot;Nicolas VIVIEN&quot;          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Author of this driver 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00042">42</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="ae26107a17c06584f8bbd0d6fb91013d"></a><!-- doxytag: member="stk11xx.h::DRIVER_DESC" ref="ae26107a17c06584f8bbd0d6fb91013d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_DESC&nbsp;&nbsp;&nbsp;&quot;Syntek USB Video Camera&quot;          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Short description of this driver 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00041">41</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l01065">usb_stk11xx_init()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l01679">v4l_stk11xx_register_video_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="25634d21648ca7fb7a2aca614bafaaeb"></a><!-- doxytag: member="stk11xx.h::DRIVER_NAME" ref="25634d21648ca7fb7a2aca614bafaaeb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_NAME&nbsp;&nbsp;&nbsp;&quot;stk11xx&quot;          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Name of this driver 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00038">38</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="4ac4c54762be94083880d2988060a7c4"></a><!-- doxytag: member="stk11xx.h::DRIVER_SUPPORT" ref="4ac4c54762be94083880d2988060a7c4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_SUPPORT&nbsp;&nbsp;&nbsp;&quot;Syntek USB Camera : STK-1135&quot;          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
List of supported device<ul>
<li>DC1125 : USB2.0 Syntek chipset </li></ul>

<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00111">111</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="e578001fe043b4cca7a0edd801cfe9c4"></a><!-- doxytag: member="stk11xx.h::DRIVER_VERSION" ref="e578001fe043b4cca7a0edd801cfe9c4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_VERSION&nbsp;&nbsp;&nbsp;&quot;v2.0.0&quot;          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Version of this driver 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00039">39</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l01065">usb_stk11xx_init()</a>.</p>

</div>
</div><p>
<a class="anchor" name="deb97232a92a9bf74cc96d45637116ae"></a><!-- doxytag: member="stk11xx.h::DRIVER_VERSION_NUM" ref="deb97232a92a9bf74cc96d45637116ae" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_VERSION_NUM&nbsp;&nbsp;&nbsp;0x020000          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Version numerical of this driver 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00040">40</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>.</p>

</div>
</div><p>
<a class="anchor" name="845fc3faad4ba5aedfae60d91db77736"></a><!-- doxytag: member="stk11xx.h::ISO_BUFFER_SIZE" ref="845fc3faad4ba5aedfae60d91db77736" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ISO_BUFFER_SIZE&nbsp;&nbsp;&nbsp;(ISO_FRAMES_PER_DESC * ISO_MAX_FRAME_SIZE)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Maximal size of buffer 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00086">86</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-buf_8c_source.html#l00128">stk11xx_allocate_buffers()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00124">usb_stk11xx_isoc_init()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e588d0730bf3cd5f13c3888a6b1b6d5a"></a><!-- doxytag: member="stk11xx.h::ISO_FRAMES_PER_DESC" ref="e588d0730bf3cd5f13c3888a6b1b6d5a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ISO_FRAMES_PER_DESC&nbsp;&nbsp;&nbsp;10          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Number frames per ISOC descriptor 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00084">84</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00124">usb_stk11xx_isoc_init()</a>.</p>

</div>
</div><p>
<a class="anchor" name="95e294179b485a466ddd6520f56e9431"></a><!-- doxytag: member="stk11xx.h::ISO_MAX_FRAME_SIZE" ref="95e294179b485a466ddd6520f56e9431" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ISO_MAX_FRAME_SIZE&nbsp;&nbsp;&nbsp;3 * 1024          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Maximale size of frame 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00085">85</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00124">usb_stk11xx_isoc_init()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ac10237297a8b2b0665e56179c99b64f"></a><!-- doxytag: member="stk11xx.h::MAX_ISO_BUFS" ref="ac10237297a8b2b0665e56179c99b64f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAX_ISO_BUFS&nbsp;&nbsp;&nbsp;16          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Number maximal of ISOC buffers 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00083">83</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-buf_8c_source.html#l00128">stk11xx_allocate_buffers()</a>, <a class="el" href="stk11xx-buf_8c_source.html#l00287">stk11xx_free_buffers()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00431">usb_stk11xx_isoc_cleanup()</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00124">usb_stk11xx_isoc_init()</a>.</p>

</div>
</div><p>
<a class="anchor" name="dd51b53e8b628f95078327028dccb20c"></a><!-- doxytag: member="stk11xx.h::PREFIX" ref="dd51b53e8b628f95078327028dccb20c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PREFIX&nbsp;&nbsp;&nbsp;DRIVER_NAME &quot;: &quot;          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Prefix use for the STK "printk" 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00043">43</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="c866eee120e8f291a6130a26d252a425"></a><!-- doxytag: member="stk11xx.h::STK11XX_FRAME_SIZE" ref="c866eee120e8f291a6130a26d252a425" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define STK11XX_FRAME_SIZE&nbsp;&nbsp;&nbsp;(1280 * 1024 * 4)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Maximum size after decompression 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00097">97</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-buf_8c_source.html#l00128">stk11xx_allocate_buffers()</a>.</p>

</div>
</div><p>
<a class="anchor" name="aece77d67ce4d8f6c8e27269d33c9d89"></a><!-- doxytag: member="stk11xx.h::STK11XX_MAX_IMAGES" ref="aece77d67ce4d8f6c8e27269d33c9d89" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define STK11XX_MAX_IMAGES&nbsp;&nbsp;&nbsp;10          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Absolute maximum number of buffers available for mmap() 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00096">96</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-buf_8c_source.html#l00128">stk11xx_allocate_buffers()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00528">v4l_stk11xx_mmap()</a>.</p>

</div>
</div><p>
<a class="anchor" name="563c7087d02e5ac0f5c3a8124b36f231"></a><!-- doxytag: member="stk11xx.h::STK11XX_PERCENT" ref="563c7087d02e5ac0f5c3a8124b36f231" args="(x, y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define STK11XX_PERCENT          </td>
          <td>(</td>
          <td class="paramtype">x,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">y&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td>&nbsp;&nbsp;&nbsp;( ((int)x * (int)y) / 100)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Calculate a value from a percent 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00359">359</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00606">usb_stk11xx_default_settings()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6a7ffe6803607fae5d467b1b4f5515f2"></a><!-- doxytag: member="stk11xx.h::STK_DEBUG" ref="6a7ffe6803607fae5d467b1b4f5515f2" args="(str, args...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define STK_DEBUG          </td>
          <td>(</td>
          <td class="paramtype">str,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">args...&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td>&nbsp;&nbsp;&nbsp;do { } while(0)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Print debug message. <em>Use</em> this function like the function printf. 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00149">149</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00155">dev_stk6a31_configure_device()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00765">dev_stk6a31_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00368">dev_stk6a33_configure_device()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00070">dev_stk6a33_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00873">dev_stk6a33_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00335">dev_stk6a51_configure_device()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00070">dev_stk6a51_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01451">dev_stk6a51_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00150">dev_stk6a54_configure_device()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00132">dev_stk6d51_configure_device()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00986">dev_stk6d51_set_camera_quality()</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-dev-a311_8c_source.html#l00070">dev_stka311_initialize_device()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00859">dev_stka311_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00316">dev_stka821_configure_device()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00070">dev_stka821_initialize_device()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00795">dev_stka821_set_camera_quality()</a>, <a class="el" href="stk11xx-buf_8c_source.html#l00128">stk11xx_allocate_buffers()</a>, <a class="el" href="stk11xx-buf_8c_source.html#l00287">stk11xx_free_buffers()</a>, <a class="el" href="stk11xx-buf_8c_source.html#l00221">stk11xx_reset_buffers()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l01065">usb_stk11xx_init()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00431">usb_stk11xx_isoc_cleanup()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00243">usb_stk11xx_isoc_handler()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00124">usb_stk11xx_isoc_init()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00506">usb_stk11xx_set_configuration()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l01642">v4l_stk11xx_ioctl()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l00255">v4l_stk11xx_open()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00128">v4l_stk11xx_select_video_mode()</a>.</p>

</div>
</div><p>
<a class="anchor" name="2548285f2eade14f8e93c9b611e622d7"></a><!-- doxytag: member="stk11xx.h::STK_ERROR" ref="2548285f2eade14f8e93c9b611e622d7" args="(str, args...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define STK_ERROR          </td>
          <td>(</td>
          <td class="paramtype">str,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">args...&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td>&nbsp;&nbsp;&nbsp;printk(KERN_ERR PREFIX str, ##args)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Print error message. <em>Use</em> this function like the function printf. 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00147">147</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00264">dev_stk11xx_camera_off()</a>, <a class="el" href="stk11xx-dev_8c_source.html#l00241">dev_stk11xx_camera_on()</a>, <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev_8c_source.html#l00218">dev_stk11xx_watchdog_camera()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00606">dev_stk6a31_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00711">dev_stk6a33_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00314">dev_stk6a54_sensor_settings()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00711">dev_stka311_sensor_settings()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00662">dev_stka821_sensor_settings()</a>, <a class="el" href="stk11xx-buf_8c_source.html#l00128">stk11xx_allocate_buffers()</a>, <a class="el" href="stk11xx-buf_8c_source.html#l00352">stk11xx_next_frame()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l01065">usb_stk11xx_init()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00243">usb_stk11xx_isoc_handler()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00124">usb_stk11xx_isoc_init()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</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#l00506">usb_stk11xx_set_configuration()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00474">usb_stk11xx_set_feature()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00540">usb_stk11xx_write_registry()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l00528">v4l_stk11xx_mmap()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l00255">v4l_stk11xx_open()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l01679">v4l_stk11xx_register_video_device()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00344">v4l_stk11xx_release()</a>.</p>

</div>
</div><p>
<a class="anchor" name="55d1b4af8174ee2f44f9ea2e18f6392d"></a><!-- doxytag: member="stk11xx.h::STK_INFO" ref="55d1b4af8174ee2f44f9ea2e18f6392d" args="(str, args...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define STK_INFO          </td>
          <td>(</td>
          <td class="paramtype">str,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">args...&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td>&nbsp;&nbsp;&nbsp;printk(KERN_INFO PREFIX str, ##args)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Print information message. <em>Use</em> this function like the function printf. 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00146">146</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00070">dev_stk6a31_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00070">dev_stk6a33_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00070">dev_stk6a51_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00070">dev_stk6a54_initialize_device()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00070">dev_stk6d51_initialize_device()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00070">dev_stka311_initialize_device()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00070">dev_stka821_initialize_device()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00904">usb_stk11xx_disconnect()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l01142">usb_stk11xx_exit()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l01065">usb_stk11xx_init()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l01679">v4l_stk11xx_register_video_device()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l01712">v4l_stk11xx_unregister_video_device()</a>.</p>

</div>
</div><p>
<a class="anchor" name="649dee4d247234a95351c9d56205623b"></a><!-- doxytag: member="stk11xx.h::STK_STREAM" ref="649dee4d247234a95351c9d56205623b" args="(str, args...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define STK_STREAM          </td>
          <td>(</td>
          <td class="paramtype">str,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">args...&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td>&nbsp;&nbsp;&nbsp;do { } while(0)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Print stream debug message. <em>Use</em> this function like the function printf. 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00172">172</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-buf_8c_source.html#l00407">stk11xx_handle_frame()</a>, <a class="el" href="stk11xx-buf_8c_source.html#l00352">stk11xx_next_frame()</a>, <a class="el" href="stk11xx-buf_8c_source.html#l00334">stk11xx_next_image()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00243">usb_stk11xx_isoc_handler()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l00528">v4l_stk11xx_mmap()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l00490">v4l_stk11xx_poll()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00391">v4l_stk11xx_read()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ea1169d7c9eeeea59745f7c1e9a8de56"></a><!-- doxytag: member="stk11xx.h::STK_WARNING" ref="ea1169d7c9eeeea59745f7c1e9a8de56" args="(str, args...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define STK_WARNING          </td>
          <td>(</td>
          <td class="paramtype">str,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">args...&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td>&nbsp;&nbsp;&nbsp;printk(KERN_WARNING PREFIX str, ##args)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Print warning message. <em>Use</em> this function like the function printf. 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00148">148</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="19aafceb483b5079bf16bebe1733b922"></a><!-- doxytag: member="stk11xx.h::to_stk11xx_dev" ref="19aafceb483b5079bf16bebe1733b922" args="(d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define to_stk11xx_dev          </td>
          <td>(</td>
          <td class="paramtype">d&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td>&nbsp;&nbsp;&nbsp;container_of(d, struct usb_stk11xx, kref)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Cast a member of a structure out to the containing structure 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00366">366</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="08f8051e3d5cafd2f39bc274921db312"></a><!-- doxytag: member="stk11xx.h::USB_STK_0501_PRODUCT_ID" ref="08f8051e3d5cafd2f39bc274921db312" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USB_STK_0501_PRODUCT_ID&nbsp;&nbsp;&nbsp;0x0501          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Product ID of the camera DC-1125 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00056">56</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="433f18ebde586610039cb3f98a360a0d"></a><!-- doxytag: member="stk11xx.h::USB_STK_6A31_PRODUCT_ID" ref="433f18ebde586610039cb3f98a360a0d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USB_STK_6A31_PRODUCT_ID&nbsp;&nbsp;&nbsp;0x6a31          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Product ID of the camera DC-NEW 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00050">50</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="0e65935d0a86b7308c3314082e4f8e28"></a><!-- doxytag: member="stk11xx.h::USB_STK_6A33_PRODUCT_ID" ref="0e65935d0a86b7308c3314082e4f8e28" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USB_STK_6A33_PRODUCT_ID&nbsp;&nbsp;&nbsp;0x6a33          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Product ID of the camera DC-NEW 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00051">51</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7893d73e6865a8b61f07efe5978ce62a"></a><!-- doxytag: member="stk11xx.h::USB_STK_6A51_PRODUCT_ID" ref="7893d73e6865a8b61f07efe5978ce62a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USB_STK_6A51_PRODUCT_ID&nbsp;&nbsp;&nbsp;0x6a51          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Product ID of the camera DC-NEW 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00052">52</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="9051e3ea42b0b1d3d6083389381cde6f"></a><!-- doxytag: member="stk11xx.h::USB_STK_6A54_PRODUCT_ID" ref="9051e3ea42b0b1d3d6083389381cde6f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USB_STK_6A54_PRODUCT_ID&nbsp;&nbsp;&nbsp;0x6a54          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Product ID of the camera DC-NEW 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00053">53</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="393c2bb4ce5348e4be6a2b50dffeb1c5"></a><!-- doxytag: member="stk11xx.h::USB_STK_6D51_PRODUCT_ID" ref="393c2bb4ce5348e4be6a2b50dffeb1c5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USB_STK_6D51_PRODUCT_ID&nbsp;&nbsp;&nbsp;0x6d51          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Product ID of the camera DC-NEW 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00054">54</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="b10b64fc880949ce0503df77bcad8ed1"></a><!-- doxytag: member="stk11xx.h::USB_STK_A311_PRODUCT_ID" ref="b10b64fc880949ce0503df77bcad8ed1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USB_STK_A311_PRODUCT_ID&nbsp;&nbsp;&nbsp;0xa311          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Product ID of the camera STK-1125 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00048">48</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f8fbeced8d03a4662b945faa8fb97d34"></a><!-- doxytag: member="stk11xx.h::USB_STK_A821_PRODUCT_ID" ref="f8fbeced8d03a4662b945faa8fb97d34" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USB_STK_A821_PRODUCT_ID&nbsp;&nbsp;&nbsp;0xa821          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Product ID of the camera STK-1135 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00049">49</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ec973c0ea6961094f801d3f90d1dcdd6"></a><!-- doxytag: member="stk11xx.h::USB_SYNTEK1_VENDOR_ID" ref="ec973c0ea6961094f801d3f90d1dcdd6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USB_SYNTEK1_VENDOR_ID&nbsp;&nbsp;&nbsp;0x174f          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Vendor ID of the camera 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00045">45</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6d15e8c0162bcf42c8192fdf8fc1b516"></a><!-- doxytag: member="stk11xx.h::USB_SYNTEK2_VENDOR_ID" ref="6d15e8c0162bcf42c8192fdf8fc1b516" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USB_SYNTEK2_VENDOR_ID&nbsp;&nbsp;&nbsp;0x05e1          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Vendor ID of the camera 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00046">46</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="02acd2788e2df6e66e06dff1b96b88b7"></a><!-- doxytag: member="stk11xx.h::VID_HARDWARE_STK11XX" ref="02acd2788e2df6e66e06dff1b96b88b7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VID_HARDWARE_STK11XX&nbsp;&nbsp;&nbsp;88          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This value must be inserted into the kernel headers linux/videodev.h It's useful only for the support of V4L v1 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00065">65</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

</div>
</div><p>
<hr><h2>Enumeration Type Documentation</h2>
<a class="anchor" name="03341f90cb66feda805e4a0afa363ddc"></a><!-- doxytag: member="stk11xx.h::T_STK11XX_PALETTE" ref="03341f90cb66feda805e4a0afa363ddc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="stk11xx_8h.html#03341f90cb66feda805e4a0afa363ddc">T_STK11XX_PALETTE</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Color palette 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00223">223</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="0d648b0f385f0e07baec23e3f03b27a6"></a><!-- doxytag: member="stk11xx.h::T_STK11XX_RESOLUTION" ref="0d648b0f385f0e07baec23e3f03b27a6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="stk11xx_8h.html#0d648b0f385f0e07baec23e3f03b27a6">T_STK11XX_RESOLUTION</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Video resolution 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00206">206</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="5400cbd98f5ec8f3d24ec55313e274f1"></a><!-- doxytag: member="stk11xx.h::T_STK11XX_VIDEOMODE" ref="5400cbd98f5ec8f3d24ec55313e274f1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="stk11xx_8h.html#5400cbd98f5ec8f3d24ec55313e274f1">T_STK11XX_VIDEOMODE</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Video feature supported by camera <dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="5400cbd98f5ec8f3d24ec55313e274f1896c4ee082ee0fa3eed44795b4a78e9e"></a><!-- doxytag: member="STK11XX_VGA" ref="5400cbd98f5ec8f3d24ec55313e274f1896c4ee082ee0fa3eed44795b4a78e9e" args="" -->STK11XX_VGA</em>&nbsp;</td><td>
For VGA video camera </td></tr>
<tr><td valign="top"><em><a class="anchor" name="5400cbd98f5ec8f3d24ec55313e274f13f5de5bc8e126ddba84831bfdf8fdaa8"></a><!-- doxytag: member="STK11XX_SXGA" ref="5400cbd98f5ec8f3d24ec55313e274f13f5de5bc8e126ddba84831bfdf8fdaa8" args="" -->STK11XX_SXGA</em>&nbsp;</td><td>
For SXGA video camera 1.3M </td></tr>
<tr><td valign="top"><em><a class="anchor" name="5400cbd98f5ec8f3d24ec55313e274f1a3d8892408ae0c6388d749887ea9b6f7"></a><!-- doxytag: member="STK11XX_UXGA" ref="5400cbd98f5ec8f3d24ec55313e274f1a3d8892408ae0c6388d749887ea9b6f7" args="" -->STK11XX_UXGA</em>&nbsp;</td><td>
For UXGA video camera 2M </td></tr>
</table>
</dl>

<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00196">196</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="98c8219ab2b3b778f7305d0facd7e6f0"></a><!-- doxytag: member="stk11xx.h::T_SYNTEK_DEVICE" ref="98c8219ab2b3b778f7305d0facd7e6f0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="stk11xx_8h.html#98c8219ab2b3b778f7305d0facd7e6f0">T_SYNTEK_DEVICE</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Video camera supported by the driver 
<p>Definition at line <a class="el" href="stk11xx_8h_source.html#l00181">181</a> of file <a class="el" href="stk11xx_8h_source.html">stk11xx.h</a>.</p>

</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="240e068813b6c3bb0564d585e496fcb0"></a><!-- doxytag: member="stk11xx.h::dev_stk11xx_camera_asleep" ref="240e068813b6c3bb0564d585e496fcb0" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk11xx_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_8c_source.html#l00287">287</a> of file <a class="el" href="stk11xx-dev_8c_source.html">stk11xx-dev.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00542">dev_stk6a31_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00652">dev_stk6a33_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00718">dev_stk6a51_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00268">dev_stk6a54_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00250">dev_stk6d51_camera_asleep()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00632">dev_stka311_camera_asleep()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00583">dev_stka821_camera_asleep()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00344">v4l_stk11xx_release()</a>.</p>

</div>
</div><p>
<a class="anchor" name="757e00fd2115fd15cb385366fef204fc"></a><!-- doxytag: member="stk11xx.h::dev_stk11xx_camera_off" ref="757e00fd2115fd15cb385366fef204fc" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk11xx_camera_off           </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 switchs off 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>
In fact, we choose the alternate interface '0'. 
<p>Definition at line <a class="el" href="stk11xx-dev_8c_source.html#l00264">264</a> of file <a class="el" href="stk11xx-dev_8c_source.html">stk11xx-dev.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</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-6a33_8c_source.html#l00682">dev_stk6a33_init_camera()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00750">dev_stk6a51_init_camera()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00662">dev_stka311_init_camera()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00613">dev_stka821_init_camera()</a>, <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00344">v4l_stk11xx_release()</a>.</p>

</div>
</div><p>
<a class="anchor" name="a6f918a8d8d0d1c531e9fe3f64d00d6a"></a><!-- doxytag: member="stk11xx.h::dev_stk11xx_camera_on" ref="a6f918a8d8d0d1c531e9fe3f64d00d6a" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk11xx_camera_on           </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 switchs on 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>
In fact, we choose the alternate interface '5'. 
<p>Definition at line <a class="el" href="stk11xx-dev_8c_source.html#l00241">241</a> of file <a class="el" href="stk11xx-dev_8c_source.html">stk11xx-dev.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00255">v4l_stk11xx_open()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c15cba528f7d6408174802cd118526a2"></a><!-- doxytag: member="stk11xx.h::dev_stk11xx_camera_settings" ref="c15cba528f7d6408174802cd118526a2" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk11xx_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_8c_source.html#l00342">342</a> of file <a class="el" href="stk11xx-dev_8c_source.html">stk11xx-dev.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00718">dev_stk6a31_camera_settings()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00821">dev_stk6a33_camera_settings()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01432">dev_stk6a51_camera_settings()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00437">dev_stk6a54_camera_settings()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00967">dev_stk6d51_camera_settings()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00819">dev_stka311_camera_settings()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00738">dev_stka821_camera_settings()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00848">dev_stk6a31_reconf_camera()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00967">dev_stk6a33_reconf_camera()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01531">dev_stk6a51_reconf_camera()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00502">dev_stk6a54_reconf_camera()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l01051">dev_stk6d51_reconf_camera()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l01005">dev_stka311_reconf_camera()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00875">dev_stka821_reconf_camera()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00255">v4l_stk11xx_open()</a>.</p>

</div>
</div><p>
<a class="anchor" name="1599379f7f17fc826657c36068d5140a"></a><!-- doxytag: member="stk11xx.h::dev_stk11xx_check_device" ref="1599379f7f17fc826657c36068d5140a" args="(struct usb_stk11xx *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk11xx_check_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>nbr</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 check the device in reading the register 0x0201. 
<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>nbr</em>&nbsp;</td><td>Number of tries</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK</dd></dl>
When we configure the stk11xx, this function is used to check the device status.<ul>
<li>If the read value is 0x00, then the device isn't ready.</li><li>If the read value is 0x04, then the device is ready.</li><li>If the read value is other, then the device is misconfigured. </li></ul>

<p>Definition at line <a class="el" href="stk11xx-dev_8c_source.html#l00170">170</a> of file <a class="el" href="stk11xx-dev_8c_source.html">stk11xx-dev.c</a>.</p>

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

<p>Referenced by <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00718">dev_stk6a31_camera_settings()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00155">dev_stk6a31_configure_device()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00070">dev_stk6a31_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00606">dev_stk6a31_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00765">dev_stk6a31_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00821">dev_stk6a33_camera_settings()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00070">dev_stk6a33_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00711">dev_stk6a33_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00873">dev_stk6a33_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00335">dev_stk6a51_configure_device()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00070">dev_stk6a51_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00781">dev_stk6a51_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01451">dev_stk6a51_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00070">dev_stk6a54_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00314">dev_stk6a54_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00070">dev_stk6d51_initialize_device()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00296">dev_stk6d51_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00986">dev_stk6d51_set_camera_quality()</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-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>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00711">dev_stka311_sensor_settings()</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-dev-a821_8c_source.html#l00070">dev_stka821_initialize_device()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00662">dev_stka821_sensor_settings()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00795">dev_stka821_set_camera_quality()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f92eb0b647251032bb8c1d9fed3a0f47"></a><!-- doxytag: member="stk11xx.h::dev_stk11xx_init_camera" ref="f92eb0b647251032bb8c1d9fed3a0f47" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk11xx_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_8c_source.html#l00115">115</a> of file <a class="el" href="stk11xx-dev_8c_source.html">stk11xx-dev.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00572">dev_stk6a31_init_camera()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00682">dev_stk6a33_init_camera()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00750">dev_stk6a51_init_camera()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00298">dev_stk6a54_init_camera()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00280">dev_stk6d51_init_camera()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00662">dev_stka311_init_camera()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00613">dev_stka821_init_camera()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00255">v4l_stk11xx_open()</a>.</p>

</div>
</div><p>
<a class="anchor" name="2d3e1e713cb004ed900c19a591358157"></a><!-- doxytag: member="stk11xx.h::dev_stk11xx_initialize_device" ref="2d3e1e713cb004ed900c19a591358157" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk11xx_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_8c_source.html#l00063">63</a> of file <a class="el" href="stk11xx-dev_8c_source.html">stk11xx-dev.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00070">dev_stk6a31_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00070">dev_stk6a33_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00070">dev_stk6a51_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00070">dev_stk6a54_initialize_device()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00070">dev_stk6d51_initialize_device()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00070">dev_stka311_initialize_device()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00070">dev_stka821_initialize_device()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4b0f0d7bcf4d0565fdf799bd409330ba"></a><!-- doxytag: member="stk11xx.h::dev_stk11xx_reconf_camera" ref="4b0f0d7bcf4d0565fdf799bd409330ba" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk11xx_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_8c_source.html#l00552">552</a> of file <a class="el" href="stk11xx-dev_8c_source.html">stk11xx-dev.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00848">dev_stk6a31_reconf_camera()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00967">dev_stk6a33_reconf_camera()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01531">dev_stk6a51_reconf_camera()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00502">dev_stk6a54_reconf_camera()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l01051">dev_stk6d51_reconf_camera()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l01005">dev_stka311_reconf_camera()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00875">dev_stka821_reconf_camera()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00255">v4l_stk11xx_open()</a>.</p>

</div>
</div><p>
<a class="anchor" name="22dab906e660e43573943e4c2f2504c0"></a><!-- doxytag: member="stk11xx.h::dev_stk11xx_set_camera_fps" ref="22dab906e660e43573943e4c2f2504c0" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk11xx_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 fps 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 of the camera. So the number of images per second. 
<p>Definition at line <a class="el" href="stk11xx-dev_8c_source.html#l00449">449</a> of file <a class="el" href="stk11xx-dev_8c_source.html">stk11xx-dev.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00799">dev_stk6a31_set_camera_fps()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00918">dev_stk6a33_set_camera_fps()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01485">dev_stk6a51_set_camera_fps()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00471">dev_stk6a54_set_camera_fps()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l01020">dev_stk6d51_set_camera_fps()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00916">dev_stka311_set_camera_fps()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00829">dev_stka821_set_camera_fps()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7a02dd7b6ed1a9daed1a4d290c1809be"></a><!-- doxytag: member="stk11xx.h::dev_stk11xx_set_camera_quality" ref="7a02dd7b6ed1a9daed1a4d290c1809be" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk11xx_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 quality video 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_8c_source.html#l00397">397</a> of file <a class="el" href="stk11xx-dev_8c_source.html">stk11xx-dev.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00765">dev_stk6a31_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00873">dev_stk6a33_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01451">dev_stk6a51_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00456">dev_stk6a54_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00986">dev_stk6d51_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00859">dev_stka311_set_camera_quality()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00795">dev_stka821_set_camera_quality()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-sysfs_8c_source.html#l00239">store_brightness()</a>, <a class="el" href="stk11xx-sysfs_8c_source.html#l00376">store_colour()</a>, <a class="el" href="stk11xx-sysfs_8c_source.html#l00284">store_contrast()</a>, and <a class="el" href="stk11xx-sysfs_8c_source.html#l00330">store_whitebalance()</a>.</p>

</div>
</div><p>
<a class="anchor" name="484dc060b60923c1b4e82ba9d92fd210"></a><!-- doxytag: member="stk11xx.h::dev_stk11xx_start_stream" ref="484dc060b60923c1b4e82ba9d92fd210" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk11xx_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_8c_source.html#l00501">501</a> of file <a class="el" href="stk11xx-dev_8c_source.html">stk11xx-dev.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00815">dev_stk6a31_start_stream()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00934">dev_stk6a33_start_stream()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01501">dev_stk6a51_start_stream()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00487">dev_stk6a54_start_stream()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l01036">dev_stk6d51_start_stream()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00975">dev_stka311_start_stream()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00845">dev_stka821_start_stream()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00255">v4l_stk11xx_open()</a>.</p>

</div>
</div><p>
<a class="anchor" name="07b40aeb3839bdea2b62060143d92cf1"></a><!-- doxytag: member="stk11xx.h::dev_stk11xx_stop_stream" ref="07b40aeb3839bdea2b62060143d92cf1" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk11xx_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_8c_source.html#l00604">604</a> of file <a class="el" href="stk11xx-dev_8c_source.html">stk11xx-dev.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00868">dev_stk6a31_stop_stream()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00987">dev_stk6a33_stop_stream()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01551">dev_stk6a51_stop_stream()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00520">dev_stk6a54_stop_stream()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l01069">dev_stk6d51_stop_stream()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l01046">dev_stka311_stop_stream()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00895">dev_stka821_stop_stream()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00344">v4l_stk11xx_release()</a>.</p>

</div>
</div><p>
<a class="anchor" name="848a627e5fb76b194e2b5658fd3f8f20"></a><!-- doxytag: member="stk11xx.h::dev_stk11xx_watchdog_camera" ref="848a627e5fb76b194e2b5658fd3f8f20" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dev_stk11xx_watchdog_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>
A espece of software watchdog. 
<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>Value of register 0x0001</dd></dl>
This function reads periodically the value of register 0x0001.<p>
We don't know the purpose. I assume that it seems to a software watchdog. 
<p>Definition at line <a class="el" href="stk11xx-dev_8c_source.html#l00218">218</a> of file <a class="el" href="stk11xx-dev_8c_source.html">stk11xx-dev.c</a>.</p>

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

<p>Referenced by <a class="el" href="stk11xx-buf_8c_source.html#l00407">stk11xx_handle_frame()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7d64c84f3004137bd930c9a53c312ab5"></a><!-- doxytag: member="stk11xx.h::stk11xx_allocate_buffers" ref="7d64c84f3004137bd930c9a53c312ab5" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int stk11xx_allocate_buffers           </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>
Allocate all ISOC buffers. 
<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 reserved the memory for each ISOC buffer. 
<p>Definition at line <a class="el" href="stk11xx-buf_8c_source.html#l00128">128</a> of file <a class="el" href="stk11xx-buf_8c_source.html">stk11xx-buf.c</a>.</p>

<p>References <a class="el" href="stk11xx-buf_8c_source.html#l00055">default_nbrframebuf</a>, <a class="el" href="stk11xx_8h_source.html#l00086">ISO_BUFFER_SIZE</a>, <a class="el" href="stk11xx_8h_source.html#l00083">MAX_ISO_BUFS</a>, <a class="el" href="stk11xx_8h_source.html#l00097">STK11XX_FRAME_SIZE</a>, <a class="el" href="stk11xx_8h_source.html#l00096">STK11XX_MAX_IMAGES</a>, <a class="el" href="stk11xx-buf_8c_source.html#l00067">stk11xx_rvmalloc()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, and <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00255">v4l_stk11xx_open()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3633ec31448d548f5528cfd818435856"></a><!-- doxytag: member="stk11xx.h::stk11xx_clear_buffers" ref="3633ec31448d548f5528cfd818435856" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int stk11xx_clear_buffers           </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>
Clear current buffers. 
<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 clear the memory. 
<p>Definition at line <a class="el" href="stk11xx-buf_8c_source.html#l00270">270</a> of file <a class="el" href="stk11xx-buf_8c_source.html">stk11xx-buf.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7820fa9a826d800dc3fa486716778eb6"></a><!-- doxytag: member="stk11xx.h::stk11xx_create_sysfs_files" ref="7820fa9a826d800dc3fa486716778eb6" args="(struct video_device *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int stk11xx_create_sysfs_files           </td>
          <td>(</td>
          <td class="paramtype">struct video_device *&nbsp;</td>
          <td class="paramname"> <em>vdev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create the 'sys' entries. 
<p>
This function permits to create all the entries in the 'sys' filesystem.<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>vdev</em>&nbsp;</td><td>Video device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK </dd></dl>

<p>Definition at line <a class="el" href="stk11xx-sysfs_8c_source.html#l00503">503</a> of file <a class="el" href="stk11xx-sysfs_8c_source.html">stk11xx-sysfs.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="eb706601cc04933521aec8a0e78cbe7d"></a><!-- doxytag: member="stk11xx.h::stk11xx_decompress" ref="eb706601cc04933521aec8a0e78cbe7d" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int stk11xx_decompress           </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>
Decompress a frame. 
<p>
This function permits to decompress a frame from the video 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>

<p>Definition at line <a class="el" href="stk11xx-bayer_8c_source.html#l00155">155</a> of file <a class="el" href="stk11xx-bayer_8c_source.html">stk11xx-bayer.c</a>.</p>

<p>References <a class="el" href="stk11xx-bayer_8c_source.html#l00660">stk11xx_b2bgr24()</a>, <a class="el" href="stk11xx-bayer_8c_source.html#l00799">stk11xx_b2bgr32()</a>, <a class="el" href="stk11xx-bayer_8c_source.html#l00374">stk11xx_b2rgb24()</a>, <a class="el" href="stk11xx-bayer_8c_source.html#l00513">stk11xx_b2rgb32()</a>, <a class="el" href="stk11xx-bayer_8c_source.html#l00946">stk11xx_b2uyvy()</a>, <a class="el" href="stk11xx-bayer_8c_source.html#l01125">stk11xx_b2yuyv()</a>, and <a class="el" href="stk11xx-bayer_8c_source.html#l00270">stk11xx_correct_brightness()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-buf_8c_source.html#l00407">stk11xx_handle_frame()</a>.</p>

</div>
</div><p>
<a class="anchor" name="743db10a2819add190d2d1ab9e32ad80"></a><!-- doxytag: member="stk11xx.h::stk11xx_free_buffers" ref="743db10a2819add190d2d1ab9e32ad80" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int stk11xx_free_buffers           </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>
Release all buffers. 
<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 release and free the memory for each ISOC buffer. 
<p>Definition at line <a class="el" href="stk11xx-buf_8c_source.html#l00287">287</a> of file <a class="el" href="stk11xx-buf_8c_source.html">stk11xx-buf.c</a>.</p>

<p>References <a class="el" href="stk11xx-buf_8c_source.html#l00055">default_nbrframebuf</a>, <a class="el" href="stk11xx_8h_source.html#l00083">MAX_ISO_BUFS</a>, <a class="el" href="stk11xx-buf_8c_source.html#l00100">stk11xx_rvfree()</a>, and <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00255">v4l_stk11xx_open()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00344">v4l_stk11xx_release()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6149eb9b00c67901fa80e745931a1ef8"></a><!-- doxytag: member="stk11xx.h::stk11xx_handle_frame" ref="6149eb9b00c67901fa80e745931a1ef8" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int stk11xx_handle_frame           </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>
Handler frame. 
<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 gets called for the isochronous pipe. This function is only called when a frame is ready. So we have to be fast to decompress the data. 
<p>Definition at line <a class="el" href="stk11xx-buf_8c_source.html#l00407">407</a> of file <a class="el" href="stk11xx-buf_8c_source.html">stk11xx-buf.c</a>.</p>

<p>References <a class="el" href="stk11xx-dev_8c_source.html#l00218">dev_stk11xx_watchdog_camera()</a>, <a class="el" href="stk11xx-bayer_8c_source.html#l00155">stk11xx_decompress()</a>, and <a class="el" href="stk11xx_8h_source.html#l00172">STK_STREAM</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00391">v4l_stk11xx_read()</a>.</p>

</div>
</div><p>
<a class="anchor" name="32eb2f968fb5595a37696bfc87ef3b0b"></a><!-- doxytag: member="stk11xx.h::stk11xx_next_frame" ref="32eb2f968fb5595a37696bfc87ef3b0b" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int stk11xx_next_frame           </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>
Prepare the next frame. 
<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 is called when a frame is ready, so as to prepare the next frame. 
<p>Definition at line <a class="el" href="stk11xx-buf_8c_source.html#l00352">352</a> of file <a class="el" href="stk11xx-buf_8c_source.html">stk11xx-buf.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>, and <a class="el" href="stk11xx_8h_source.html#l00172">STK_STREAM</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00243">usb_stk11xx_isoc_handler()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d488d2f913e0dbe93a9a8fdee45c9f74"></a><!-- doxytag: member="stk11xx.h::stk11xx_next_image" ref="d488d2f913e0dbe93a9a8fdee45c9f74" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void stk11xx_next_image           </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>
Prepare the next image. 
<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>
This function is called when an image is ready, so as to prepare the next image. 
<p>Definition at line <a class="el" href="stk11xx-buf_8c_source.html#l00334">334</a> of file <a class="el" href="stk11xx-buf_8c_source.html">stk11xx-buf.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00172">STK_STREAM</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00391">v4l_stk11xx_read()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c2abc4e52cf858cc22bed97d9fca064f"></a><!-- doxytag: member="stk11xx.h::stk11xx_remove_sysfs_files" ref="c2abc4e52cf858cc22bed97d9fca064f" args="(struct video_device *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void stk11xx_remove_sysfs_files           </td>
          <td>(</td>
          <td class="paramtype">struct video_device *&nbsp;</td>
          <td class="paramname"> <em>vdev</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove the 'sys' entries. 
<p>
This function permits to remove all the entries in the 'sys' filesystem.<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>vdev</em>&nbsp;</td><td>Video device structure</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 if all is OK </dd></dl>

<p>Definition at line <a class="el" href="stk11xx-sysfs_8c_source.html#l00531">531</a> of file <a class="el" href="stk11xx-sysfs_8c_source.html">stk11xx-sysfs.c</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00904">usb_stk11xx_disconnect()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c5658017a802daf91de04b84770cf8b0"></a><!-- doxytag: member="stk11xx.h::stk11xx_reset_buffers" ref="c5658017a802daf91de04b84770cf8b0" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int stk11xx_reset_buffers           </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>
Reset all ISOC buffers. 
<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 reset all ISOC buffers. 
<p>Definition at line <a class="el" href="stk11xx-buf_8c_source.html#l00221">221</a> of file <a class="el" href="stk11xx-buf_8c_source.html">stk11xx-buf.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00255">v4l_stk11xx_open()</a>.</p>

</div>
</div><p>
<a class="anchor" name="8fb48c1dc48247cb7a580ac09f5e7e75"></a><!-- doxytag: member="stk11xx.h::usb_stk11xx_isoc_cleanup" ref="8fb48c1dc48247cb7a580ac09f5e7e75" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void usb_stk11xx_isoc_cleanup           </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>
Clean-up all the ISOC buffers. 
<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>
This function permits to clean-up all the ISOC buffers. 
<p>Definition at line <a class="el" href="stk11xx-usb_8c_source.html#l00431">431</a> of file <a class="el" href="stk11xx-usb_8c_source.html">stk11xx-usb.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00083">MAX_ISO_BUFS</a>, and <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, <a class="el" href="stk11xx-v4l_8c_source.html#l00255">v4l_stk11xx_open()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00344">v4l_stk11xx_release()</a>.</p>

</div>
</div><p>
<a class="anchor" name="b956e6442fd5e152f5846a1db7e9e5eb"></a><!-- doxytag: member="stk11xx.h::usb_stk11xx_isoc_handler" ref="b956e6442fd5e152f5846a1db7e9e5eb" args="(struct urb *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void usb_stk11xx_isoc_handler           </td>
          <td>(</td>
          <td class="paramtype">struct urb *&nbsp;</td>
          <td class="paramname"> <em>urb</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ISOC handler. 
<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>urb</em>&nbsp;</td><td>URB structure</td></tr>
  </table>
</dl>
This function is called as an URB transfert is complete (Isochronous pipe). So, the traitement is done in interrupt time, so it has be fast, not crash, ans not stall. Neat. 
<p>Definition at line <a class="el" href="stk11xx-usb_8c_source.html#l00243">243</a> of file <a class="el" href="stk11xx-usb_8c_source.html">stk11xx-usb.c</a>.</p>

<p>References <a class="el" href="stk11xx-buf_8c_source.html#l00352">stk11xx_next_frame()</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>, and <a class="el" href="stk11xx_8h_source.html#l00172">STK_STREAM</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00124">usb_stk11xx_isoc_init()</a>.</p>

</div>
</div><p>
<a class="anchor" name="003ffdf3e0f5f20d60b69650e1b7d769"></a><!-- doxytag: member="stk11xx.h::usb_stk11xx_isoc_init" ref="003ffdf3e0f5f20d60b69650e1b7d769" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int usb_stk11xx_isoc_init           </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>
Initilize an isochronous pipe. 
<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 initialize an URB transfert (or isochronous pipe). 
<p>Definition at line <a class="el" href="stk11xx-usb_8c_source.html#l00124">124</a> of file <a class="el" href="stk11xx-usb_8c_source.html">stk11xx-usb.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00086">ISO_BUFFER_SIZE</a>, <a class="el" href="stk11xx_8h_source.html#l00084">ISO_FRAMES_PER_DESC</a>, <a class="el" href="stk11xx_8h_source.html#l00085">ISO_MAX_FRAME_SIZE</a>, <a class="el" href="stk11xx_8h_source.html#l00083">MAX_ISO_BUFS</a>, <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>, and <a class="el" href="stk11xx-usb_8c_source.html#l00243">usb_stk11xx_isoc_handler()</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00255">v4l_stk11xx_open()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d6ae987a2bad16ca19b2b60de7c96672"></a><!-- doxytag: member="stk11xx.h::usb_stk11xx_read_registry" ref="d6ae987a2bad16ca19b2b60de7c96672" args="(struct usb_stk11xx *, __u16, int *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int usb_stk11xx_read_registry           </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">__u16&nbsp;</td>
          <td class="paramname"> <em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Read a 16-bits value from a 16-bits register. 
<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></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td></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 read a 16-bits value from a 16-bits register on the USB bus. 
<p>Definition at line <a class="el" href="stk11xx-usb_8c_source.html#l00572">572</a> of file <a class="el" href="stk11xx-usb_8c_source.html">stk11xx-usb.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-dev_8c_source.html#l00170">dev_stk11xx_check_device()</a>, <a class="el" href="stk11xx-dev_8c_source.html#l00218">dev_stk11xx_watchdog_camera()</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#l00718">dev_stk6a31_camera_settings()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00155">dev_stk6a31_configure_device()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00606">dev_stk6a31_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00765">dev_stk6a31_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00815">dev_stk6a31_start_stream()</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#l00821">dev_stk6a33_camera_settings()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00368">dev_stk6a33_configure_device()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00070">dev_stk6a33_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00711">dev_stk6a33_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00873">dev_stk6a33_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00934">dev_stk6a33_start_stream()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00987">dev_stk6a33_stop_stream()</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-dev-6a51_8c_source.html#l00070">dev_stk6a51_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00781">dev_stk6a51_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01451">dev_stk6a51_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01501">dev_stk6a51_start_stream()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00268">dev_stk6a54_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00150">dev_stk6a54_configure_device()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00070">dev_stk6a54_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00314">dev_stk6a54_sensor_settings()</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-dev-6d51_8c_source.html#l00070">dev_stk6d51_initialize_device()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00296">dev_stk6d51_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00986">dev_stk6d51_set_camera_quality()</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-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>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00711">dev_stka311_sensor_settings()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00975">dev_stka311_start_stream()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l01046">dev_stka311_stop_stream()</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-dev-a821_8c_source.html#l00070">dev_stka821_initialize_device()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00662">dev_stka821_sensor_settings()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00795">dev_stka821_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00845">dev_stka821_start_stream()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00895">dev_stka821_stop_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="cfce4cb3110489637b0617be920c7c8c"></a><!-- doxytag: member="stk11xx.h::usb_stk11xx_set_configuration" ref="cfce4cb3110489637b0617be920c7c8c" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int usb_stk11xx_set_configuration           </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>
Send the message SET_CONFIGURATION. 
<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 send the message SET_CONFIGURATION on the USB bus. 
<p>Definition at line <a class="el" href="stk11xx-usb_8c_source.html#l00506">506</a> of file <a class="el" href="stk11xx-usb_8c_source.html">stk11xx-usb.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, and <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>.</p>

</div>
</div><p>
<a class="anchor" name="a982f4b4e3f9b3e7bc30f7f377e4ec6f"></a><!-- doxytag: member="stk11xx.h::usb_stk11xx_set_feature" ref="a982f4b4e3f9b3e7bc30f7f377e4ec6f" args="(struct usb_stk11xx *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int usb_stk11xx_set_feature           </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>index</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Send the message SET_FEATURE and choose the interface. 
<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>index</em>&nbsp;</td><td>Choice of the interface</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 send the message SET_FEATURE on the USB bus. 
<p>Definition at line <a class="el" href="stk11xx-usb_8c_source.html#l00474">474</a> of file <a class="el" href="stk11xx-usb_8c_source.html">stk11xx-usb.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>, and <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</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>, <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>, <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>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00070">dev_stk6a54_initialize_device()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00070">dev_stk6d51_initialize_device()</a>, <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>, <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="ba4a0665d0f900b337b43d411e87ccb0"></a><!-- doxytag: member="stk11xx.h::usb_stk11xx_write_registry" ref="ba4a0665d0f900b337b43d411e87ccb0" args="(struct usb_stk11xx *, __u16, __u16)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int usb_stk11xx_write_registry           </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">__u16&nbsp;</td>
          <td class="paramname"> <em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__u16&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Write a 16-bits value to a 16-bits register. 
<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></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td></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 write a 16-bits value to a 16-bits register on the USB bus. 
<p>Definition at line <a class="el" href="stk11xx-usb_8c_source.html#l00540">540</a> of file <a class="el" href="stk11xx-usb_8c_source.html">stk11xx-usb.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>.</p>

<p>Referenced by <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#l00718">dev_stk6a31_camera_settings()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00155">dev_stk6a31_configure_device()</a>, <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>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00606">dev_stk6a31_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00765">dev_stk6a31_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a31_8c_source.html#l00815">dev_stk6a31_start_stream()</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#l00821">dev_stk6a33_camera_settings()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00368">dev_stk6a33_configure_device()</a>, <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>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00711">dev_stk6a33_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00873">dev_stk6a33_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00934">dev_stk6a33_start_stream()</a>, <a class="el" href="stk11xx-dev-6a33_8c_source.html#l00987">dev_stk6a33_stop_stream()</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-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>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l00781">dev_stk6a51_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01451">dev_stk6a51_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-6a51_8c_source.html#l01501">dev_stk6a51_start_stream()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00268">dev_stk6a54_camera_asleep()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00150">dev_stk6a54_configure_device()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00070">dev_stk6a54_initialize_device()</a>, <a class="el" href="stk11xx-dev-6a54_8c_source.html#l00314">dev_stk6a54_sensor_settings()</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-dev-6d51_8c_source.html#l00070">dev_stk6d51_initialize_device()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00296">dev_stk6d51_sensor_settings()</a>, <a class="el" href="stk11xx-dev-6d51_8c_source.html#l00986">dev_stk6d51_set_camera_quality()</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-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>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00711">dev_stka311_sensor_settings()</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>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l00975">dev_stka311_start_stream()</a>, <a class="el" href="stk11xx-dev-a311_8c_source.html#l01046">dev_stka311_stop_stream()</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-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>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00662">dev_stka821_sensor_settings()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00795">dev_stka821_set_camera_quality()</a>, <a class="el" href="stk11xx-dev-a821_8c_source.html#l00845">dev_stka821_start_stream()</a>, and <a class="el" href="stk11xx-dev-a821_8c_source.html#l00895">dev_stka821_stop_stream()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ea83cb34e801e4b0470c848174128aeb"></a><!-- doxytag: member="stk11xx.h::v4l_stk11xx_register_video_device" ref="ea83cb34e801e4b0470c848174128aeb" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int v4l_stk11xx_register_video_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>
Register the video 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 permits to register the USB device to the video device. 
<p>Definition at line <a class="el" href="stk11xx-v4l_8c_source.html#l01679">1679</a> of file <a class="el" href="stk11xx-v4l_8c_source.html">stk11xx-v4l.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00041">DRIVER_DESC</a>, <a class="el" href="stk11xx_8h_source.html#l00147">STK_ERROR</a>, <a class="el" href="stk11xx_8h_source.html#l00146">STK_INFO</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00053">v4l_stk11xx_fops</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00676">usb_stk11xx_probe()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ee51a96a13692d189e6d91bd781afa7f"></a><!-- doxytag: member="stk11xx.h::v4l_stk11xx_select_video_mode" ref="ee51a96a13692d189e6d91bd781afa7f" args="(struct usb_stk11xx *, int, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int v4l_stk11xx_select_video_mode           </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>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>height</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Select a video mode. 
<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></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&nbsp;</td><td>Width of wished resolution </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&nbsp;</td><td>Height of wished resolution</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 check and select a video mode. 
<p>Definition at line <a class="el" href="stk11xx-v4l_8c_source.html#l00128">128</a> of file <a class="el" href="stk11xx-v4l_8c_source.html">stk11xx-v4l.c</a>.</p>

<p>References <a class="el" href="stk11xx-v4l_8c_source.html#l00060">stk11xx_image_sizes</a>, <a class="el" href="stk11xx_8h_source.html#l00198">STK11XX_SXGA</a>, <a class="el" href="stk11xx_8h_source.html#l00197">STK11XX_VGA</a>, and <a class="el" href="stk11xx_8h_source.html#l00149">STK_DEBUG</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-v4l_8c_source.html#l00612">v4l_stk11xx_do_ioctl()</a>, and <a class="el" href="stk11xx-v4l_8c_source.html#l00255">v4l_stk11xx_open()</a>.</p>

</div>
</div><p>
<a class="anchor" name="8abb280daa1010eece7e965f3a6471ba"></a><!-- doxytag: member="stk11xx.h::v4l_stk11xx_unregister_video_device" ref="8abb280daa1010eece7e965f3a6471ba" args="(struct usb_stk11xx *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int v4l_stk11xx_unregister_video_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>
Unregister the video 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 permits to unregister the video device. 
<p>Definition at line <a class="el" href="stk11xx-v4l_8c_source.html#l01712">1712</a> of file <a class="el" href="stk11xx-v4l_8c_source.html">stk11xx-v4l.c</a>.</p>

<p>References <a class="el" href="stk11xx_8h_source.html#l00146">STK_INFO</a>.</p>

<p>Referenced by <a class="el" href="stk11xx-usb_8c_source.html#l00904">usb_stk11xx_disconnect()</a>.</p>

</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="4977da08718c28052dab2096023754e2"></a><!-- doxytag: member="stk11xx.h::stk11xx_image_sizes" ref="4977da08718c28052dab2096023754e2" args="[STK11XX_NBR_SIZES]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct stk11xx_coord <a class="el" href="stk11xx_8h.html#4977da08718c28052dab2096023754e2">stk11xx_image_sizes</a>[STK11XX_NBR_SIZES]          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
List of all resolutions supported by the driver 
<p>Definition at line <a class="el" href="stk11xx-v4l_8c_source.html#l00060">60</a> of file <a class="el" href="stk11xx-v4l_8c_source.html">stk11xx-v4l.c</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>