You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #pragma once
- #include <QObject>
- #include "FfmpegDecodeNew.h"
- #include "IAfterProc.h"
-
- class VideoAfterProc : public IAfterProc
- {
- Q_OBJECT
- public:
- VideoAfterProc(QObject* parent = Q_NULLPTR);
- ~VideoAfterProc();
- void getFfmpegDecode();
- void stop();
-
- private:
- FfmpegDecodeNew* m_pFfmpegDecodeNew;
- bool m_bNeedWork;
- bool m_bIsPlay;
- QMutex m_mutex;
- unsigned long m_ulSpeedTime;
-
- private:
- void run() override;
- void rejectFillData();
- void resetVideoData();
- signals:
- void dataProcFinished();
- void playedCount(unsigned int num, unsigned int count);
- public slots:
- void startPlayer(bool status);
- void videoSpeed(QString speed);
- void setPlayPos(int pos);
- };
|