Skip to main content
Header: gsl/rtc_api/gsl_rtc_intf.h

Structures

gsl_rtc_key_vector

Members
uint32_t
number of key-value pairs
struct gsl_key_value_pair
key-value pairs

gsl_rtc_uc_data

Members
uint32_t
graph handle id for the active use-case
uint32_t
number of gkvs in the graph
uint32_t
number of ckvs in the graph
uint8_t
GKV vectors followed by CKV vectors.

gsl_rtc_active_uc_info

Members
uint32_t
total number of active use-cases
uint32_t
total size for gsl_rtc_active_uc_data
struct gsl_rtc_uc_data *
memory pointing to active use-case data

gsl_rtc_param

Members
uint32_t
GSL graph handle.
uint32_t
sgid of the non-persist cal data
uint32_t
total size of the non-persist cal data
uint8_t *
Pointer to non-persist cal data.

gsl_rtc_persist_param

Members
uint32_t
GSL graph handle.
uint32_t
sgid of the persist cal data
uint32_t
processor id of the persist cal data within the sgid
uint32_t *
Total size of the perist cal data.
uint8_t *
Pointer to persist cal data.
struct gsl_rtc_key_vector *
pointer to CKV used to query acdb in-case above pointer is NULL

gsl_rtc_prepare_change_graph_info

Members
uint32_t
struct gsl_rtc_key_vector *
GKV corresponding to active use-case.
uint32_t
uint32_t
uint32_t *
uint32_t
uint32_t *
uint32_t
uint32_t
uint32_t *

gsl_rtc_change_graph_info

Members
uint32_t
struct gsl_rtc_key_vector *
GKV corresponding to active use-case.
struct gsl_rtc_key_vector *
GKV used to replace the old_gkv, this typically only changes if there is a subgraph add or delete, it is allowed to be same as old_gkv.
struct gsl_rtc_key_vector *
CKV used to identy calibration data for the new graph.
uint32_t
Size of tag data blob.
uint8_t *
Tag data blob pointer.

gsl_rtc_conn_info

Members
gsl_rtc_conn_state
The state of an RTC session.

Functions

gsl_rtc_get_active_usecase_info

Get active use-case info.
Parameters
rsp: rsp pointer
Returns AR_EOK on success, error code otherwise

gsl_rtc_get_persist_data

get persist calibration data
Parameters
rtc_param: pointer to struct gsl_rtc_persist_param RTC client is responsible to allocate/free the memory for gsl_rtc_persist_param
Returns AR_EOK on success, error code otherwise

gsl_rtc_get_non_persist_data

get non-persist calibration data RTC client is responsible to allocate/free the memory for gsl_rtc_param
Parameters
rtc_param: pointer to struct gsl_rtc_param
Returns AR_EOK on success, error code otherwise

gsl_rtc_set_persist_data

set persist calibration data RTC client is responsible to allocate/free the memory for gsl_rtc_persist_param
Parameters
rtc_param: pointer to struct gsl_rtc_persist_param
Returns AR_EOK on success, error code otherwise

gsl_rtc_set_non_persist_data

set non-persist calibration data
Parameters
rtc_param: pointer to struct gsl_rtc_param RTC client is responsible to allocate/free the memory for gsl_rtc_param
Returns AR_EOK on success, error code otherwise

gsl_rtc_prepare_change_graph

Prepare for graph change operation, this will update GSL state and close subgraphs and connections that are no longer needed but will not open anything on Spf. This must be called before the ACDB data is updated.
Parameters
struct gsl_rtc_prepare_change_graph_info *
pointer to struct gsl_rtc_prepare_change_graph, carries information about the RTGM operation to be performed
Returns AR_EOK on success, error code otherwise

gsl_rtc_change_graph

Complete the graph change operation that is already prepared. Note calling gsl_rtc_prepare_change_graph is mandatory before calling this API also the ACDB data on the device must be updated before calling this API.
Returns AR_EOK on success, error code otherwise

gsl_rtc_notify_conn_state

Notifies GSL about client connectivity.
Returns AR_EOK on success, error code otherwise

Type Definitions

gsl_rtc_conn_state

Enumerations

gsl_rtc_conn_state

Values

Macros

GSL_RTC_GKV_SIZE_BYTES