1 Star 1 Fork 1

Devin / XPlay3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
XDecodeThread.h 1.45 KB
一键复制 编辑 原始数据 按行查看 历史
Devin 提交于 2021-10-23 13:08 . 提交工程
#ifndef XDECODETHREAD_H
#define XDECODETHREAD_H
#include <QThread>
#include <QMutex>
#include <QList>
#include <Xffmepg.h>
#include "XDecode.h"
class XDecodeThread : public QThread
{
public:
XDecodeThread();
virtual ~XDecodeThread();
public:
/******************************************
* 函数名: Close
* 描述:关闭所有线程,清理线程资源
* 输入参数:无
* 输出参数:无
* 返回值:无
* 其他:
*******************************************/
void Close();
/******************************************
* 函数名: Clear
* 描述:清理队列
* 输入参数:无
* 输出参数:无
* 返回值:无
* 其他:
*******************************************/
void Clear();
/******************************************
* 函数名: Push
* 输入参数:_pqAVPacket:解析
* 输出参数:无
* 返回值:无
* 其他:
******************************************/
void Push(AVPacket *_pqAVPacket);
/******************************************
* 函数名: Pop
* 输入参数:无
* 输出参数:无
* 返回值:AVPacket *指针
* 其他:
******************************************/
AVPacket *Pop();
protected:
bool m_blIsExit = false;
QMutex m_qmtxDecodeThread;
XDecode *m_pxDecode = nullptr;
QList<AVPacket *> m_qlstAvPacket;
};
#endif // XDECODETHREAD_H
1
https://gitee.com/yixinglong/xplay3.git
git@gitee.com:yixinglong/xplay3.git
yixinglong
xplay3
XPlay3
master

搜索帮助