<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qmultimedia.cpp --> <title>QMultimedia Namespace | Qt Multimedia 5.12.6</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 >QMultimedia Namespace</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtmultimedia-index.html">Qt 5.12.6 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="#types">Types</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">QMultimedia Namespace</h1> <!-- $$$QMultimedia-brief --> <p>The <a href="qmultimedia.html">QMultimedia</a> namespace contains miscellaneous identifiers used throughout the Qt Multimedia library. <a href="#details">More...</a></p> <!-- @@@QMultimedia --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QMultimedia></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += multimedia</td></tr></table></div><ul> </ul> <a name="types"></a> <h2 id="types">Types</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qmultimedia.html#AvailabilityStatus-enum">AvailabilityStatus</a></b> { Available, ServiceMissing, ResourceError, Busy }</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qmultimedia.html#EncodingMode-enum">EncodingMode</a></b> { ConstantQualityEncoding, ConstantBitRateEncoding, AverageBitRateEncoding, TwoPassEncoding }</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qmultimedia.html#EncodingQuality-enum">EncodingQuality</a></b> { VeryLowQuality, LowQuality, NormalQuality, HighQuality, VeryHighQuality }</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qmultimedia.html#SupportEstimate-enum">SupportEstimate</a></b> { NotSupported, MaybeSupported, ProbablySupported, PreferredService }</td></tr> </table></div> <a name="details"></a> <!-- $$$QMultimedia-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qmultimedia.html">QMultimedia</a> namespace contains miscellaneous identifiers used throughout the Qt Multimedia library.</p> </div> <!-- @@@QMultimedia --> <div class="types"> <h2>Type Documentation</h2> <!-- $$$AvailabilityStatus$$$Available$$$ServiceMissing$$$Busy$$$ResourceError --> <h3 class="fn" id="AvailabilityStatus-enum"><a name="AvailabilityStatus-enum"></a>enum QMultimedia::<span class="name">AvailabilityStatus</span></h3> <p>Enumerates Service status errors.</p> <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>QMultimedia::Available</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The service is operating correctly.</td></tr> <tr><td class="topAlign"><code>QMultimedia::ServiceMissing</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">There is no service available to provide the requested functionality.</td></tr> <tr><td class="topAlign"><code>QMultimedia::ResourceError</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The service could not allocate resources required to function correctly.</td></tr> <tr><td class="topAlign"><code>QMultimedia::Busy</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The service must wait for access to necessary resources.</td></tr> </table></div> <!-- @@@AvailabilityStatus --> <!-- $$$EncodingMode$$$ConstantQualityEncoding$$$ConstantBitRateEncoding$$$AverageBitRateEncoding$$$TwoPassEncoding --> <h3 class="fn" id="EncodingMode-enum"><a name="EncodingMode-enum"></a>enum QMultimedia::<span class="name">EncodingMode</span></h3> <p>Enumerates encoding modes.</p> <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>QMultimedia::ConstantQualityEncoding</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Encoding will aim to have a constant quality, adjusting bitrate to fit.</td></tr> <tr><td class="topAlign"><code>QMultimedia::ConstantBitRateEncoding</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Encoding will use a constant bit rate, adjust quality to fit.</td></tr> <tr><td class="topAlign"><code>QMultimedia::AverageBitRateEncoding</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Encoding will try to keep an average bitrate setting, but will use more or less as needed.</td></tr> <tr><td class="topAlign"><code>QMultimedia::TwoPassEncoding</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The media will first be processed to determine the characteristics, and then processed a second time allocating more bits to the areas that need it.</td></tr> </table></div> <!-- @@@EncodingMode --> <!-- $$$EncodingQuality$$$VeryLowQuality$$$LowQuality$$$NormalQuality$$$HighQuality$$$VeryHighQuality --> <h3 class="fn" id="EncodingQuality-enum"><a name="EncodingQuality-enum"></a>enum QMultimedia::<span class="name">EncodingQuality</span></h3> <p>Enumerates quality encoding levels.</p> <div class="table"><table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr> <tr><td class="topAlign"><code>QMultimedia::VeryLowQuality</code></td><td class="topAlign tblval"><code>0</code></td></tr> <tr><td class="topAlign"><code>QMultimedia::LowQuality</code></td><td class="topAlign tblval"><code>1</code></td></tr> <tr><td class="topAlign"><code>QMultimedia::NormalQuality</code></td><td class="topAlign tblval"><code>2</code></td></tr> <tr><td class="topAlign"><code>QMultimedia::HighQuality</code></td><td class="topAlign tblval"><code>3</code></td></tr> <tr><td class="topAlign"><code>QMultimedia::VeryHighQuality</code></td><td class="topAlign tblval"><code>4</code></td></tr> </table></div> <!-- @@@EncodingQuality --> <!-- $$$SupportEstimate$$$NotSupported$$$MaybeSupported$$$ProbablySupported$$$PreferredService --> <h3 class="fn" id="SupportEstimate-enum"><a name="SupportEstimate-enum"></a>enum QMultimedia::<span class="name">SupportEstimate</span></h3> <p>Enumerates the levels of support a media service provider may have for a feature.</p> <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>QMultimedia::NotSupported</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The feature is not supported.</td></tr> <tr><td class="topAlign"><code>QMultimedia::MaybeSupported</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The feature may be supported.</td></tr> <tr><td class="topAlign"><code>QMultimedia::ProbablySupported</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The feature is probably supported.</td></tr> <tr><td class="topAlign"><code>QMultimedia::PreferredService</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The service is the preferred provider of a service.</td></tr> </table></div> <!-- @@@SupportEstimate --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</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>