TIOVX User Guide
tivx_platform.h File Reference

Platform APIs. More...

Go to the source code of this file.

Data Structures

struct  tivx_shm_obj_count_t
 Struct containing object descriptor allocation counts. Allows for a log to be kept of the object descriptors used throughout runtime. More...
 

Enumerations

enum  tivx_platform_lock_type_e {
  TIVX_PLATFORM_LOCK_OBJ_DESC_TABLE = 0,
  TIVX_PLATFORM_LOCK_CONTEXT,
  TIVX_PLATFORM_LOCK_DATA_REF_QUEUE,
  TIVX_PLATFORM_LOCK_LOG_RT_INDEX,
  TIVX_PLATFORM_LOCK_LOG_RT,
  TIVX_PLATFORM_LOCK_MAX
}
 Types of system level locks. More...
 

Functions

int32_t tivxPlatformGetShmSize (uint32_t *shm_size)
 Get size of TIOVX object descriptor memory carveout. More...
 
void ownTableIncrementValue (vx_enum resource_name)
 Increment count of given resource. More...
 
void ownTableDecrementValue (vx_enum resource_name)
 Decrement count of given resource. More...
 
vx_enum ownPlatformGetTargetId (const char *target_name)
 Convert a target name to a specific target ID. More...
 
void ownPlatformGetTargetName (vx_enum target_id, char *target_name)
 Convert a specific target ID to a target name. More...
 
vx_bool ownPlatformTargetMatch (const char *kernel_target_name, const char *target_string)
 Match a user specified target_string with kernel suported target name. More...
 
void ownPlatformGetObjDescTableInfo (tivx_obj_desc_table_info_t *table_info)
 Return shared memory info which holds the object descriptors. More...
 
void ownPlatformGetLogRtShmInfo (void **shm_base, uint32_t *shm_size)
 Return shared memory info which holds the run-time logger buffer. More...
 
void ownPlatformSystemLock (vx_enum lock_id)
 Take a system level lock. More...
 
void ownPlatformSystemUnlock (vx_enum lock_id)
 Release system level lock.
 
vx_status ownPlatformInit (void)
 Init Platform module.
 
void ownPlatformDeInit (void)
 DeInit Platform module.
 
void ownPlatformPrintf (const char *format)
 Print given string.
 
void ownPlatformCreateTargets (void)
 Function to set the target configuration. More...
 
void ownPlatformDeleteTargets (void)
 Function to destroy created targets.
 
void ownPlatformActivate (void)
 Utility function to enable Platform specific things Currently Used for EVE algorithm to enable EDMA.
 
void ownPlatformDeactivate (void)
 Utility function to disable Platform specific things Currently Used for EVE algorithm to disable EDMA.
 
void ownPlatformTaskInit (void)
 Utility function to call OS-specific task init functions.
 

Detailed Description

Platform APIs.

Definition in file tivx_platform.h.