123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <title>QHdrCamera: VideoSurface Class Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <script type="text/javascript">
- $(document).ready(function() { searchBox.OnSelectItem(0); });
- </script>
- </head>
- <body>
- <div id="top"><!-- do not remove this div! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
-
-
- <td style="padding-left: 0.5em;">
- <div id="projectname">QHdrCamera
-  <span id="projectnumber">1.9.0</span>
- </div>
-
- </td>
-
-
-
- </tr>
- </tbody>
- </table>
- </div>
- <!-- Generated by Doxygen 1.7.6.1 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- </script>
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
- <li><a href="files.html"><span>Files</span></a></li>
- <li>
- <div id="MSearchBox" class="MSearchBoxInactive">
- <span class="left">
- <img id="MSearchSelect" src="search/mag_sel.png"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- alt=""/>
- <input type="text" id="MSearchField" value="Search" accesskey="S"
- onfocus="searchBox.OnSearchFieldFocus(true)"
- onblur="searchBox.OnSearchFieldFocus(false)"
- onkeyup="searchBox.OnSearchFieldChange(event)"/>
- </span><span class="right">
- <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
- </span>
- </div>
- </li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="annotated.html"><span>Class List</span></a></li>
- <li><a href="classes.html"><span>Class Index</span></a></li>
- <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
- <li><a href="functions.html"><span>Class Members</span></a></li>
- </ul>
- </div>
- </div>
- <div class="header">
- <div class="summary">
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#pro-attribs">Protected Attributes</a> </div>
- <div class="headertitle">
- <div class="title">VideoSurface Class Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <!-- doxytag: class="VideoSurface" -->
- <p>Receives the frames from the camera.
- <a href="class_video_surface.html#details">More...</a></p>
- <p><a href="class_video_surface-members.html">List of all members.</a></p>
- <table class="memberdecls">
- <tr><td colspan="2"><h2><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_video_surface.html#a51856792268280b7fef52c4321de27d9">VideoSurface</a> (<a class="el" href="class_frame_observer.html">FrameObserver</a> *frameObserver, QObject *parent=0)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_video_surface.html#aecea93119c1abf87f62e0e34da5e618e">~VideoSurface</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">virtual QList<br class="typebreak"/>
- < QVideoFrame::PixelFormat > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_video_surface.html#a4863064cd19a30e467a92ce8d4e252f9">supportedPixelFormats</a> (QAbstractVideoBuffer::HandleType handleType=QAbstractVideoBuffer::NoHandle) const </td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_video_surface.html#a930a2093a5da13e01e7b1f8dd39db35e">present</a> (const QVideoFrame &frame)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_video_surface.html#adf8e48140eab4a81df4ac84151413ab1">start</a> (const QVideoSurfaceFormat &format)</td></tr>
- <tr><td colspan="2"><h2><a name="pro-attribs"></a>
- Protected Attributes</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1790f978df32d4732a3b5d4cda60ddfc"></a><!-- doxytag: member="VideoSurface::m_frameObserver" ref="a1790f978df32d4732a3b5d4cda60ddfc" args="" -->
- <a class="el" href="class_frame_observer.html">FrameObserver</a> * </td><td class="memItemRight" valign="bottom"><b>m_frameObserver</b></td></tr>
- </table>
- <hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
- <div class="textblock"><p>Receives the frames from the camera. </p>
- <p>Copyright (c) 2012 Nokia Corporation. </p>
- </div><hr/><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" id="a51856792268280b7fef52c4321de27d9"></a><!-- doxytag: member="VideoSurface::VideoSurface" ref="a51856792268280b7fef52c4321de27d9" args="(FrameObserver *frameObserver, QObject *parent=0)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_video_surface.html#a51856792268280b7fef52c4321de27d9">VideoSurface::VideoSurface</a> </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_frame_observer.html">FrameObserver</a> * </td>
- <td class="paramname"><em>frameObserver</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QObject * </td>
- <td class="paramname"><em>parent</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td><code> [explicit]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Constructor. </p>
- </div>
- </div>
- <a class="anchor" id="aecea93119c1abf87f62e0e34da5e618e"></a><!-- doxytag: member="VideoSurface::~VideoSurface" ref="aecea93119c1abf87f62e0e34da5e618e" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_video_surface.html#aecea93119c1abf87f62e0e34da5e618e">VideoSurface::~VideoSurface</a> </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td><code> [virtual]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Destructor. </p>
- </div>
- </div>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a930a2093a5da13e01e7b1f8dd39db35e"></a><!-- doxytag: member="VideoSurface::present" ref="a930a2093a5da13e01e7b1f8dd39db35e" args="(const QVideoFrame &frame)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool <a class="el" href="class_video_surface.html#a930a2093a5da13e01e7b1f8dd39db35e">VideoSurface::present</a> </td>
- <td>(</td>
- <td class="paramtype">const QVideoFrame & </td>
- <td class="paramname"><em>frame</em></td><td>)</td>
- <td><code> [virtual]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Handles the just taken frame from camera and passes it to the observer. Returning false will stop the surface. </p>
- </div>
- </div>
- <a class="anchor" id="adf8e48140eab4a81df4ac84151413ab1"></a><!-- doxytag: member="VideoSurface::start" ref="adf8e48140eab4a81df4ac84151413ab1" args="(const QVideoSurfaceFormat &format)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool <a class="el" href="class_video_surface.html#adf8e48140eab4a81df4ac84151413ab1">VideoSurface::start</a> </td>
- <td>(</td>
- <td class="paramtype">const QVideoSurfaceFormat & </td>
- <td class="paramname"><em>format</em></td><td>)</td>
- <td><code> [virtual]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Starts the receiving of the frames for the view finder. </p>
- </div>
- </div>
- <a class="anchor" id="a4863064cd19a30e467a92ce8d4e252f9"></a><!-- doxytag: member="VideoSurface::supportedPixelFormats" ref="a4863064cd19a30e467a92ce8d4e252f9" args="(QAbstractVideoBuffer::HandleType handleType=QAbstractVideoBuffer::NoHandle) const " -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QList< QVideoFrame::PixelFormat > <a class="el" href="class_video_surface.html#a4863064cd19a30e467a92ce8d4e252f9">VideoSurface::supportedPixelFormats</a> </td>
- <td>(</td>
- <td class="paramtype">QAbstractVideoBuffer::HandleType </td>
- <td class="paramname"><em>handleType</em> = <code>QAbstractVideoBuffer::NoHandle</code></td><td>)</td>
- <td> const<code> [virtual]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Sets the list of supported pixel formats that we are intrested of. </p>
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following files:<ul>
- <li><a class="el" href="videosurface_8h_source.html">videosurface.h</a></li>
- <li>videosurface.cpp</li>
- </ul>
- </div><!-- contents -->
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Properties</a></div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <hr class="footer"/><address class="footer"><small>
- Generated on Thu May 24 2012 22:25:56 for QHdrCamera by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.7.6.1
- </small></address>
- </body>
- </html>
|