|
123456789101112131415161718192021222324252627282930313233 |
- #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);
- };
|