Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqnxmediaplayer.cpp File Reference

(3fde4d022493698e26893d592b15ac80cbb3e7e2)

#include "qqnxmediaplayer_p.h"
#include "qqnxvideosink_p.h"
#include "qqnxmediautil_p.h"
#include "qqnxmediaeventthread_p.h"
#include "qqnxwindowgrabber_p.h"
#include <private/qhwvideobuffer_p.h>
#include <private/qvideoframe_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()

constexpr int normalizeVolume ( float volume)
staticconstexpr

Definition at line 40 of file qqnxmediaplayer.cpp.

◆ parseBufferLevel()

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

Definition at line 45 of file qqnxmediaplayer.cpp.

◆ rateToSpeed()

constexpr int rateToSpeed ( qreal rate)
staticconstexpr

Definition at line 30 of file qqnxmediaplayer.cpp.

◆ speedToRate()

constexpr qreal speedToRate ( int speed)
staticconstexpr

Definition at line 35 of file qqnxmediaplayer.cpp.