Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > d605ae14b93c4ca0aaa978b912e72690 > files > 575

qtmultimedia5-doc-5.12.2-2.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qabstractvideofilter.cpp -->
  <title>QVideoFilterRunnable Class | Qt Multimedia 5.12.2</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td ><a href="qtmultimedia-index.html">Qt Multimedia</a></td><td ><a href="qtmultimedia-modules.html">C++ Classes</a></td><td >QVideoFilterRunnable</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtmultimedia-index.html">Qt 5.12.2 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QVideoFilterRunnable Class</h1>
<!-- $$$QVideoFilterRunnable-brief -->
<p>The <a href="qvideofilterrunnable.html">QVideoFilterRunnable</a> class represents the implementation of a filter that owns all graphics and computational resources, and performs the actual filtering or calculations. <a href="#details">More...</a></p>
<!-- @@@QVideoFilterRunnable -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QVideoFilterRunnable&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += multimedia</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.5</td></tr></table></div><ul>
<li><a href="qvideofilterrunnable-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qvideofilterrunnable.html#RunFlag-enum">RunFlag</a></b> { LastInChain }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qvideofilterrunnable.html#RunFlag-enum">RunFlags</a></b></td></tr>
</table></div>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual QVideoFrame </td><td class="memItemRight bottomAlign"><b><a href="qvideofilterrunnable.html#run">run</a></b>(QVideoFrame *<i>input</i>, const QVideoSurfaceFormat &amp;<i>surfaceFormat</i>, QVideoFilterRunnable::RunFlags <i>flags</i>) = 0</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QVideoFilterRunnable-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qvideofilterrunnable.html">QVideoFilterRunnable</a> class represents the implementation of a filter that owns all graphics and computational resources, and performs the actual filtering or calculations.</p>
<p>Video filters are split into <a href="qabstractvideofilter.html">QAbstractVideoFilter</a> and corresponding <a href="qvideofilterrunnable.html">QVideoFilterRunnable</a> instances, similar to QQuickItem and QSGNode. This is necessary to support threaded rendering scenarios. When using the threaded render loop of the Qt Quick scene graph, all rendering happens on a dedicated thread. <a href="qvideofilterrunnable.html">QVideoFilterRunnable</a> instances always live on this thread and all its functions, <a href="qvideofilterrunnable.html#run">run</a>(), the constructor, and the destructor, are guaranteed to be invoked on that thread with the OpenGL context bound. <a href="qabstractvideofilter.html">QAbstractVideoFilter</a> instances live on the main (GUI) thread, like any other QObject and QQuickItem instances created from QML.</p>
<p>Once created, <a href="qvideofilterrunnable.html">QVideoFilterRunnable</a> instances are managed by Qt Multimedia and will be automatically destroyed and recreated when necessary, for example when the scene graph is invalidated or the QQuickWindow changes or is closed. Creation happens via the <a href="qabstractvideofilter.html#createFilterRunnable">QAbstractVideoFilter::createFilterRunnable</a>() factory function.</p>
</div>
<p><b>See also </b><a href="qabstractvideofilter.html">QAbstractVideoFilter</a>.</p>
<!-- @@@QVideoFilterRunnable -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$RunFlag$$$LastInChain -->
<h3 class="flags" id="RunFlag-enum"><a name="RunFlag-enum"></a>enum QVideoFilterRunnable::<span class="name">RunFlag</span><br/>flags QVideoFilterRunnable::<span class="name">RunFlags</span></h3>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QVideoFilterRunnable::LastInChain</code></td><td class="topAlign tblval"><code>0x01</code></td><td class="topAlign">Indicates that the filter runnable's associated <a href="qabstractvideofilter.html">QAbstractVideoFilter</a> is the last in the corresponding <a href="qml-qtmultimedia-videooutput.html">VideoOutput</a> type's filters list, meaning that the returned frame is the one that is going to be presented to the scene graph without invoking any further filters.</td></tr>
</table></div>
<p>The RunFlags type is a typedef for <a href="">QFlags</a>&lt;RunFlag&gt;. It stores an OR combination of RunFlag values.</p>
<!-- @@@RunFlag -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$run[overload1]$$$runQVideoFrame*constQVideoSurfaceFormat&QVideoFilterRunnable::RunFlags -->
<h3 class="fn" id="run"><a name="run"></a><code>[pure virtual] </code><span class="type"><a href="qvideoframe.html">QVideoFrame</a></span> QVideoFilterRunnable::<span class="name">run</span>(<span class="type"><a href="qvideoframe.html">QVideoFrame</a></span> *<i>input</i>, const <span class="type"><a href="qvideosurfaceformat.html">QVideoSurfaceFormat</a></span> &amp;<i>surfaceFormat</i>, <span class="type"><a href="qvideofilterrunnable.html#RunFlag-enum">QVideoFilterRunnable::RunFlags</a></span> <i>flags</i>)</h3>
<!-- @@@run -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>