|
PonyPlayer
|
解码器调度器, 将Packet分配给解码器进一步解码成Frame 这个类是RAII的 更多...
#include <dispatcher.hpp>
信号 | |
| void | signalStartWorker (QPrivateSignal) |
Public 成员函数 | |
| DecodeDispatcher (const std::string &fn, PonyPlayer::OpenFileResultType &result, StreamIndex audioStreamIndex=DEFAULT_STREAM_INDEX, StreamIndex videoStreamIndex=DEFAULT_STREAM_INDEX, QObject *parent=nullptr) | |
| ~DecodeDispatcher () override | |
| void | statePause () override |
| void | flush () override |
| void | stateResume () override |
| void | seek (qreal secs) override |
| PONY_THREAD_SAFE VideoFrameRef | getPicture () override |
| PONY_THREAD_SAFE qreal | frontPicture () override |
| PONY_THREAD_SAFE int | skipPicture (const std::function< bool(qreal)> &predicate) override |
| PONY_THREAD_SAFE AudioFrame | getSample () override |
| PONY_THREAD_SAFE qreal | frontSample () override |
| PONY_THREAD_SAFE int | skipSample (const std::function< bool(qreal)> &predicate) override |
| qreal | getAudionLength () const |
| qreal | getVideoLength () const |
| void | setTrack (int i) override |
| QStringList | getTracks () |
| void | setAudioIndex (StreamIndex i) |
| bool | hasVideo () override |
| void | setEnableAudio (bool enable) override |
| PonyAudioFormat | getAudioInputFormat () override |
| void | setAudioOutputFormat (PonyAudioFormat format) override |
| void | test_onWork () override |
额外继承的成员函数 | |
Public 属性 继承自 DemuxDispatcherBase | |
| const std::string | filename |
Protected 成员函数 继承自 DemuxDispatcherBase | |
| DemuxDispatcherBase (const std::string &fn, QObject *parent) | |
| ~DemuxDispatcherBase () override | |
Protected 属性 继承自 DemuxDispatcherBase | |
| AVFormatContext * | fmtCtx = nullptr |
| bool | isAudio = false |
解码器调度器, 将Packet分配给解码器进一步解码成Frame 这个类是RAII的
|
inlineexplicit |
|
inlineoverride |
|
inlineoverridevirtual |
重载 DemuxDispatcherBase .
|
inlineoverridevirtual |
重载 DemuxDispatcherBase .
|
inlineoverridevirtual |
重载 DemuxDispatcherBase .
|
inlineoverridevirtual |
实现了 DemuxDispatcherBase.
|
inline |
|
inlineoverridevirtual |
重载 DemuxDispatcherBase .
|
inlineoverridevirtual |
重载 DemuxDispatcherBase .
|
inline |
|
inline |
|
inlineoverridevirtual |
重载 DemuxDispatcherBase .
|
inlineoverridevirtual |
|
inline |
|
inlineoverridevirtual |
实现了 DemuxDispatcherBase.
|
inlineoverridevirtual |
重载 DemuxDispatcherBase .
|
inlineoverridevirtual |
重载 DemuxDispatcherBase .
|
signal |
|
inlineoverridevirtual |
重载 DemuxDispatcherBase .
|
inlineoverridevirtual |
重载 DemuxDispatcherBase .
|
inlineoverridevirtual |
保证阻塞获取结果的线程尽快被唤醒, 同时请求 DecodeThread 的工作尽快停止.
重载 DemuxDispatcherBase .
|
inlineoverridevirtual |
保证可以阻塞地获取 Picture 和 Sample. 这个方法是线程安全的.
重载 DemuxDispatcherBase .
|
inlineoverridevirtual |
实现了 DemuxDispatcherBase.
| qreal DecodeDispatcher::audioDuration = std::numeric_limits<qreal>::quiet_NaN() |
| std::vector<StreamIndex> DecodeDispatcher::m_audioStreamsIndex |
| std::vector<StreamIndex> DecodeDispatcher::m_videoStreamsIndex |
| std::vector<StreamInfo> DecodeDispatcher::streamInfos |
| qreal DecodeDispatcher::videoDuration = std::numeric_limits<qreal>::quiet_NaN() |