ISVP-SDK  3.12.0
Ingenic Smart Video Platform SDK
imp_system.h
Go to the documentation of this file.
1 /*
2  * IMP System header file.
3  *
4  * Copyright (C) 2014 Ingenic Semiconductor Co.,Ltd
5  */
6 
7 #ifndef __IMP_SYSTEM_H__
8 #define __IMP_SYSTEM_H__
9 
10 #include "imp_common.h"
11 
12 #ifdef __cplusplus
13 #if __cplusplus
14 extern "C"
15 {
16 #endif
17 #endif /* __cplusplus */
18 
135 typedef struct {
136  char aVersion[64];
137 } IMPVersion;
138 
153 int IMP_System_Init(void);
154 
169 int IMP_System_Exit(void);
170 
184 int64_t IMP_System_GetTimeStamp(void);
185 
200 int IMP_System_RebaseTimeStamp(int64_t basets);
201 
215 uint32_t IMP_System_ReadReg32(uint32_t regAddr);
216 
231 void IMP_System_WriteReg32(uint32_t regAddr, uint32_t value);
232 
247 int IMP_System_GetVersion(IMPVersion *pstVersion);
248 
262 const char* IMP_System_GetCPUInfo(void);
263 
281 int IMP_System_Bind(IMPCell *srcCell, IMPCell *dstCell);
282 
299 int IMP_System_UnBind(IMPCell *srcCell, IMPCell *dstCell);
300 
317 int IMP_System_GetBindbyDest(IMPCell *dstCell, IMPCell *srcCell);
318 
323 #ifdef __cplusplus
324 #if __cplusplus
325 }
326 #endif
327 #endif /* __cplusplus */
328 
329 #endif /* __IMP_SYSTEM_H__ */
int IMP_System_RebaseTimeStamp(int64_t basets)
Set the timestamp(usec).
int IMP_System_Init(void)
Initialize the IMP.
int IMP_System_Exit(void)
Deinitialize the IMP.
int IMP_System_GetVersion(IMPVersion *pstVersion)
Get the version of IMP library.
int IMP_System_GetBindbyDest(IMPCell *dstCell, IMPCell *srcCell)
Gets the source Cell information that is bound to the destination Cell.
void IMP_System_WriteReg32(uint32_t regAddr, uint32_t value)
Write the value to register(32bit).
uint32_t IMP_System_ReadReg32(uint32_t regAddr)
Read the register(32bit) value.
int IMP_System_Bind(IMPCell *srcCell, IMPCell *dstCell)
Bind the source Cell and the destination Cell.
int64_t IMP_System_GetTimeStamp(void)
Get the current timestamp(unit is usec).
IMP Version definition.
Definition: imp_system.h:135
int IMP_System_UnBind(IMPCell *srcCell, IMPCell *dstCell)
UnBind source Cell and the destination Cell.
IMPCell enumeration definition.
Definition: imp_common.h:45
SDK-T15 Public data structure header file.
const char * IMP_System_GetCPUInfo(void)
Get the infomation of CPU.