|
PonyPlayer
|
类型定义 | |
| using | PonyThread = const char * |
枚举 | |
| enum | OpenFileResultType { FAILED , VIDEO , AUDIO } |
函数 | |
| int | reportErrorMain (int argc, char *argv[]) |
| void | startReporterProcess (const std::string &message) |
| void | signalHandler (int signum) |
| void | logMessageHandler (QtMsgType type, const QMessageLogContext &context, const QString &msg) |
| QString | getLogFile () |
| QString | getAssetsDir () |
| void | showFileInExplorer (const QString &filePath) |
| template<typename T0 > | |
| constexpr bool | checkThreadType (T0) |
| template<typename T0 , typename ... T> | |
| constexpr bool | checkThreadType (T0, T ...t) |
| QString | getHome () |
变量 | |
| const PonySampleFormat | Unknown = PonySampleFormat::of<void>(paNonInterleaved, AV_SAMPLE_FMT_NONE) |
| const PonySampleFormat | UInt8 = PonySampleFormat::of<uint8_t>(paUInt8, AV_SAMPLE_FMT_U8) |
| const PonySampleFormat | Int16 = PonySampleFormat::of<int16_t>(paInt16, AV_SAMPLE_FMT_S16) |
| const PonySampleFormat | Int32 = PonySampleFormat::of<int32_t>(paInt32, AV_SAMPLE_FMT_S32) |
| const PonySampleFormat | Float = PonySampleFormat::of<float_t>(paFloat32, AV_SAMPLE_FMT_FLT) |
| const PonyAudioFormat | DEFAULT_AUDIO_FORMAT = {Int16, 44100, 2} |
| QStringList | programArguments |
| constexpr PonyThread | PLAYBACK = "PlaybackThread" |
| constexpr PonyThread | DECODER = "DecoderThread" |
| constexpr PonyThread | MAIN = "MainThread" |
| constexpr PonyThread | RENDER = "RenderThread" |
| constexpr PonyThread | PREVIEW = "PreviewThread" |
| constexpr PonyThread | FRAME = "FrameControllerThread" |
| constexpr PonyThread | ANY = "__AnyThread" |
| constexpr PonyThread | SELF = "__SelfThread" |
| using PonyPlayer::PonyThread = typedef const char* |
|
constexpr |
|
constexpr |
|
inline |
|
inline |
获取数据存储目录, 保证可写
| QString PonyPlayer::getLogFile | ( | ) |
| void PonyPlayer::logMessageHandler | ( | QtMsgType | type, |
| const QMessageLogContext & | context, | ||
| const QString & | msg | ||
| ) |
| int PonyPlayer::reportErrorMain | ( | int | argc, |
| char * | argv[] | ||
| ) |
|
inline |
| void PonyPlayer::signalHandler | ( | int | signum | ) |
| void PonyPlayer::startReporterProcess | ( | const std::string & | message | ) |
|
constexpr |
|
constexpr |
| const PonyAudioFormat PonyPlayer::DEFAULT_AUDIO_FORMAT = {Int16, 44100, 2} |
| const PonySampleFormat PonyPlayer::Float = PonySampleFormat::of<float_t>(paFloat32, AV_SAMPLE_FMT_FLT) |
|
constexpr |
| const PonySampleFormat PonyPlayer::Int16 = PonySampleFormat::of<int16_t>(paInt16, AV_SAMPLE_FMT_S16) |
| const PonySampleFormat PonyPlayer::Int32 = PonySampleFormat::of<int32_t>(paInt32, AV_SAMPLE_FMT_S32) |
|
constexpr |
|
constexpr |
|
constexpr |
| QStringList PonyPlayer::programArguments |
|
constexpr |
|
constexpr |
| const PonySampleFormat PonyPlayer::UInt8 = PonySampleFormat::of<uint8_t>(paUInt8, AV_SAMPLE_FMT_U8) |
| const PonySampleFormat PonyPlayer::Unknown = PonySampleFormat::of<void>(paNonInterleaved, AV_SAMPLE_FMT_NONE) |