![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <mediainfo_p.h>
Static Public Member Functions | |
static std::optional< MediaInfo > | create (const QUrl &fileLocation, bool keepFrames=false) |
static std::array< QColor, 4 > | sampleQuadrants (const QImage &image) |
Public Attributes | |
QString | m_url |
int | m_frameCount = 0 |
qreal | m_frameRate = 0.0f |
QSize | m_size |
milliseconds | m_duration |
bool | m_hasVideo = false |
bool | m_hasAudio = false |
std::vector< QVideoFrame > | m_frames |
std::vector< std::array< QColor, 4 > > | m_colors |
QAudioBuffer | m_audioBuffer |
std::vector< TestVideoSink::TimePoint > | m_frameTimes |
Definition at line 32 of file mediainfo_p.h.
|
inlinestatic |
Definition at line 34 of file mediainfo_p.h.
References m_frameCount, m_hasAudio, and m_hasVideo.
Definition at line 104 of file mediainfo_p.h.
QAudioBuffer MediaInfo::m_audioBuffer |
Definition at line 126 of file mediainfo_p.h.
std::vector<std::array<QColor, 4> > MediaInfo::m_colors |
Definition at line 125 of file mediainfo_p.h.
milliseconds MediaInfo::m_duration |
Definition at line 121 of file mediainfo_p.h.
int MediaInfo::m_frameCount = 0 |
Definition at line 118 of file mediainfo_p.h.
Referenced by create().
qreal MediaInfo::m_frameRate = 0.0f |
Definition at line 119 of file mediainfo_p.h.
std::vector<QVideoFrame> MediaInfo::m_frames |
Definition at line 124 of file mediainfo_p.h.
std::vector<TestVideoSink::TimePoint> MediaInfo::m_frameTimes |
Definition at line 128 of file mediainfo_p.h.
bool MediaInfo::m_hasAudio = false |
Definition at line 123 of file mediainfo_p.h.
Referenced by create().
bool MediaInfo::m_hasVideo = false |
Definition at line 122 of file mediainfo_p.h.
Referenced by create().
QSize MediaInfo::m_size |
Definition at line 120 of file mediainfo_p.h.
QString MediaInfo::m_url |
Definition at line 117 of file mediainfo_p.h.