MediaProcessors
|
Public Attributes | |
char | prefix_name [256] |
char * | procs_href |
pthread_mutex_t | api_mutex |
procs_reg_elem_t * | procs_reg_elem_array |
size_t | procs_reg_elem_array_size |
log_ctx_t * | log_ctx |
Module's instance context structure. PROCS module context structure is statically defined in the program.
pthread_mutex_t procs_ctx_s::api_mutex |
Module's instance API mutual exclusion lock. This lock is used to provide a critical section for external applications to be able to operate concurrently and asynchronously on this module. API options are available through the function procs_opt().
log_ctx_t* procs_ctx_s::log_ctx |
char procs_ctx_s::prefix_name[256] |
Module's API REST prefix name (256 characters maximum). This parameter can be set by 'procs_open()' function; if not (NULL is specified), the default name "procs" is used.
char* procs_ctx_s::procs_href |
procs_reg_elem_t* procs_ctx_s::procs_reg_elem_array |
Array listing the registered processor instances. The idea behind using an array is to have a mean to fast fetch a processor for input (receive) or output (send) operations. This array is defined with a fixed maximum size (set when calling the function 'procs_open()', but limited to a maximum of PROCS_MAX_NUM_PROC_INSTANCES); each element of the array has a set of locks already initialized to enable concurrency.
size_t procs_ctx_s::procs_reg_elem_array_size |
Size of the array of registered processors. See 'procs_ctx_s::procs_reg_elem_array'