1 Star 0 Fork 0

MediaSource/MetaRTC

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
YangVideoDecoder.h 587 Bytes
一键复制 编辑 原始数据 按行查看 历史
yang 提交于 2025-06-16 16:16 +08:00 . 7.0.160
//
// Copyright (c) 2019-2025 yanggaofeng
//
#ifndef YANGH264DECODER_H
#define YANGH264DECODER_H
#include <yangutil/yangavinfo.h>
#include "YangDecoder.h"
class YangVideoDecoder {
public:
YangVideoDecoder(){}
virtual ~YangVideoDecoder(){}
virtual void init()=0;
virtual void parseRtmpHeader(uint8_t *p, int32_t pLen, int32_t *pwid,
int32_t *phei, int32_t *pfps)=0;
virtual int32_t decode(YangFrame* pframe,YangYuvType yuvtype,YangDecoderCallback* pcallback)=0;
int32_t m_isInit=0;
int32_t m_uid = -1;
int32_t m_state = 0;
protected:
private:
};
#endif // YANGH264DECODER_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/MediaSource/MetaRTC.git
git@gitee.com:MediaSource/MetaRTC.git
MediaSource
MetaRTC
MetaRTC
develop

搜索帮助