⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dabemu.h

📁 中兴提供的跨平台解码库的解码器的介绍源码和文档
💻 H
字号:
#ifndef __DABEMU_H__
#define __DABEMU_H__

#ifdef ZMTV_DATAEXTRACTOR
#include "OSHeaders.h"
#else
typedef unsigned int UInt32;
typedef unsigned char UInt8;
typedef UInt8 Bool8;
typedef unsigned short UInt16;
#endif

#if defined __cplusplus
extern "C"
{
#endif
void setTimeSlot(int i, int j, int k, int l);

int EmuOpen(const char* pFileName, bool bLive);
int EmuClose();
int EmuBegin(int iID);
int EmuEnd();
int DABQUEUE_GetReadBlockSize();
int DABQUEUE_ReadBlock(unsigned char *pBlock, int size);
int DABQUEUE_ReadBlock_Frame(unsigned char *pBlock, int size);


#ifdef __linux__
typedef enum MUX_Status_tag
{
	MUX_ERROR_NONE = -2,
		MUX_ERROR,
		MUX_SUCCESS,
		MUX_FRAME0,
		MUX_GET_ESG_SUCCESS_GZIP,
		MUX_GET_ESG_SUCCESS_UNZIP,
		MUX_UPDATE_ESG_SUCCESS_GZIP,
		MUX_UPDATE_ESG_SUCCESS_UNZIP
}MUX_Status;

UInt32 GetFrameLen(UInt8 *pinHead);
UInt8 GetHeadLen(UInt8 *pinHead);
Bool8 HeadParser(UInt8* pinHead);
MUX_Status GetNextFramebySPI(int ispi, UInt8* ioU8Buffer, UInt32& ioU32BufferLen);
int GetNextSubFrameforCallBack(int ispi, UInt8* ioU8Buffer, int& ioffset);
#endif

#if defined __cplusplus
}
#endif
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -