Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqnxmediaplayer.cpp File Reference

(30eb2b2417c2658fb324452d1fc76043157ada23)

#include "qqnxmediaplayer_p.h"
#include "qqnxvideosink_p.h"
#include "qqnxmediautil_p.h"
#include "qqnxmediaeventthread_p.h"
#include "qqnxwindowgrabber_p.h"
#include <private/qabstractvideobuffer_p.h>
#include <QtCore/qabstracteventdispatcher.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qdir.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/quuid.h>
#include <mm/renderer.h>
#include <qmediaplayer.h>
#include <qqnxaudiooutput_p.h>
#include <qaudiooutput.h>
#include <errno.h>
#include <sys/strm.h>
#include <sys/stat.h>
#include <algorithm>
#include <tuple>
#include "moc_qqnxmediaplayer_p.cpp"
+ Include dependency graph for qqnxmediaplayer.cpp:

Go to the source code of this file.

Classes

class  QnxTextureBuffer
 
class  QnxRasterBuffer
 

Functions

static constexpr int rateToSpeed (qreal rate)
 
static constexpr qreal speedToRate (int speed)
 
static constexpr int normalizeVolume (float volume)
 
static std::tuple< int, int, bool > parseBufferLevel (const QString &value)
 

Function Documentation

◆ normalizeVolume()

static constexpr int normalizeVolume ( float volume)
staticconstexpr

Definition at line 39 of file qqnxmediaplayer.cpp.

◆ parseBufferLevel()

static std::tuple< int, int, bool > parseBufferLevel ( const QString & value)
static

Definition at line 44 of file qqnxmediaplayer.cpp.

References capacity, and ok.

◆ rateToSpeed()

static constexpr int rateToSpeed ( qreal rate)
staticconstexpr

Definition at line 29 of file qqnxmediaplayer.cpp.

Referenced by QQnxMediaPlayer::setPlaybackRate().

+ Here is the caller graph for this function:

◆ speedToRate()

static constexpr qreal speedToRate ( int speed)
staticconstexpr

Definition at line 34 of file qqnxmediaplayer.cpp.

Referenced by QQnxMediaPlayer::play().

+ Here is the caller graph for this function: