hi_firmware.h

来自「嵌入式linux系统下hi3510平台的osd开发源码」· C头文件 代码 · 共 78 行

H
78
字号
/******************************************************************************  Copyright (C), 2001-2011, Hisilicon Tech. Co., Ltd. ******************************************************************************  File Name     : hi_firmware.h  Version       : Initial Draft  Author        : Hisilicon multimedia software group  Created       : 2006/1/13  Last Modified :  Description   : hi_dvs_venc.c header file  Function List :  History       :  1.Date        : 2006/1/13    Author      : qushen    Modification: Created file******************************************************************************/#ifndef __HI_FIRMWARE_H__#define __HI_FIRMWARE_H__#include <hi_common.h>#ifdef __cplusplus#if __cplusplusextern "C"{#endif#endif /* __cplusplus */#define HI_SYS_MAJOR_VER(ver)  (((ver)&0xFF000000)>>24)#define HI_SYS_MINOR_VER(ver)  (((ver)&0x00FF0000)>>16) #define HI_SYS_MODIFY_VER(ver) (((ver)&0x0000FF00)>>8) #define HI_SYS_BUILD_VER(ver)  ((ver)&0x0000000FF) /* Get the firmware information */HI_S32 HI_SYS_GetFirmwareInfo(FIRMWARE_INFO_S *pInfo);/* Load the firmware */HI_S32 HI_SYS_LoadFirmware();/* Init the firmware */HI_S32 HI_SYS_InitFirmware();/* Firmware self test */HI_S32 HI_SYS_TestFirmware();/* Get the product version information */HI_S32 HI_SYS_GetVersionInfo(VERSION_INFO_S *pVersion);/* Get the product version information */HI_S32 HI_SYS_GetVersionString(VERSION_STRING_S *pVersion);/* Get the msp library build time */const HI_CHAR *HI_SYS_GetMspBuildTime();/* Get the KO version and build time */HI_S32 HI_SYS_GetKOInfo(char ver[80], char cTime[80]);/* set/get register: 1bit a time */HI_S32 HI_SYS_SetRegBit(HI_U32 addr, HI_U32 bit, HI_U32 value);HI_S32 HI_SYS_GetRegBit(HI_U32 addr, HI_U32 bit, HI_U32 *pValue);/* set/get register: 32bits a time */HI_S32 HI_SYS_SetReg(HI_U32 addr, HI_U32 value);HI_S32 HI_SYS_GetReg(HI_U32 addr, HI_U32 *pValue);#ifdef __cplusplus#if __cplusplus}#endif#endif /* __cplusplus */#endif /* __HI_COMM_FIRMWARE_H__ */

⌨️ 快捷键说明

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