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

📄 ssbsipmpeg4decode.h

📁 s3c6400 video code,you play video smooth with it,it is hardware codec
💻 H
字号:
#ifndef __SAMSUNG_SYSLSI_APDEV_MFCLIB_SSBSIPMPEG4DECODE_H__
#define __SAMSUNG_SYSLSI_APDEV_MFCLIB_SSBSIPMPEG4DECODE_H__



typedef struct
{
	int width;
	int height;
} SSBSIP_MPEG4_STREAM_INFO;



typedef unsigned int	MPEG4_DEC_CONF;

#define MPEG4_DEC_GETCONF_STREAMINFO		0x00001001
#define MPEG4_DEC_GETCONF_PHYADDR_FRAM_BUF	0x00001002
#define MPEG4_DEC_GETCONF_FRAM_NEED_COUNT	0x00001003

#define MPEG4_DEC_SETCONF_POST_ROTATE		0x00002001


#ifdef __cplusplus
extern "C" {
#endif


void *SsbSipMPEG4DecodeInit();
int   SsbSipMPEG4DecodeExe(void *openHandle, long lengthBufFill);
int   SsbSipMPEG4DecodeDeInit(void *openHandle);

int   SsbSipMPEG4DecodeSetConfig(void *openHandle, MPEG4_DEC_CONF conf_type, void *value);
int   SsbSipMPEG4DecodeGetConfig(void *openHandle, MPEG4_DEC_CONF conf_type, void *value);


void *SsbSipMPEG4DecodeGetInBuf(void *openHandle, long size);
void *SsbSipMPEG4DecodeGetOutBuf(void *openHandle, long *size);



#ifdef __cplusplus
}
#endif


// Error codes
#define SSBSIP_MPEG4_DEC_RET_OK						(0)
#define SSBSIP_MPEG4_DEC_RET_ERR_INVALID_HANDLE		(-1)
#define SSBSIP_MPEG4_DEC_RET_ERR_INVALID_PARAM		(-2)

#define SSBSIP_MPEG4_DEC_RET_ERR_CONFIG_FAIL		(-100)
#define SSBSIP_MPEG4_DEC_RET_ERR_DECODE_FAIL		(-101)
#define SSBSIP_MPEG4_DEC_RET_ERR_GETCONF_FAIL		(-102)
#define SSBSIP_MPEG4_DEC_RET_ERR_SETCONF_FAIL		(-103)


#endif /* __SAMSUNG_SYSLSI_APDEV_MFCLIB_SSBSIPMPEG4DECODE_H__ */

⌨️ 快捷键说明

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