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.

VideoAfterProc.h 754 B

123456789101112131415161718192021222324252627282930313233
  1. #pragma once
  2. #include <QObject>
  3. #include "FfmpegDecodeNew.h"
  4. #include "IAfterProc.h"
  5. class VideoAfterProc : public IAfterProc
  6. {
  7. Q_OBJECT
  8. public:
  9. VideoAfterProc(QObject* parent = Q_NULLPTR);
  10. ~VideoAfterProc();
  11. void getFfmpegDecode();
  12. void stop();
  13. private:
  14. FfmpegDecodeNew* m_pFfmpegDecodeNew;
  15. bool m_bNeedWork;
  16. bool m_bIsPlay;
  17. QMutex m_mutex;
  18. unsigned long m_ulSpeedTime;
  19. private:
  20. void run() override;
  21. void rejectFillData();
  22. void resetVideoData();
  23. signals:
  24. void dataProcFinished();
  25. void playedCount(unsigned int num, unsigned int count);
  26. public slots:
  27. void startPlayer(bool status);
  28. void videoSpeed(QString speed);
  29. void setPlayPos(int pos);
  30. };