Data Structures | |
| struct | rte_context |
| struct | rte_context_class |
| struct | rte_backend_class |
Typedefs | |
| typedef rte_context_class | rte_context_class |
| typedef rte_backend_class | rte_backend_class |
Enumerations | |
| enum | rte_state { RTE_STATE_NEW = 0, RTE_STATE_PARAM, RTE_STATE_READY, RTE_STATE_RUNNING, RTE_STATE_PAUSED } |
| enum | rte_io_method { RTE_CALLBACK_MASTER = 1, RTE_CALLBACK_SLAVE, RTE_PUSH_MASTER, RTE_PUSH_SLAVE, RTE_FIFO, RTE_FILE, RTE_STDIO, RTE_DISCARD } |
Functions | |
| void | rte_unknown_option (rte_context *context, rte_codec *codec, const char *keyword) |
| void | rte_invalid_option (rte_context *context, rte_codec *codec, const char *keyword,...) |
| void | rte_asprintf (char **errstr, const char *templ,...) |
| char * | rte_strdup (rte_context *context, char **d, const char *s) |
| unsigned int | rte_closest_int (const int *vec, unsigned int len, int val) |
| unsigned int | rte_closest_double (const double *vec, unsigned int len, double val) |
| rte_bool | rte_option_string (rte_context *context, rte_codec *codec, const char *optstr) |
| static_inline int | rte_closest_int_val (const int *vec, unsigned int len, int val) |
| static_inline double | rte_closest_double_val (const double *vec, unsigned int len, double val) |
| static_inline void | rte_error_reset (rte_context *context) |
Variables | |
| const char | _rte_intl_domainname [] |
|
|
Part of the backend interface. |
|
|
Context or codec state. The state field in rte_context and rte_codec must be set by the context and codec functions as documented below.
|
|
|
I/O mode.
|
|
||||||||||||||||
|
Sets the context error string. |
|
||||||||||||||||||||
|
Sets the context error string. |
|
||||||||||||||||
|
Identical to GNU or BSD libc asprintf(). |
|
||||||||||||||||
|
Same as the libc strdup(), except for d argument and setting the context error string on failure.
|
|
||||||||||||||||
|
Find in a vector of int values the entry closest to val and return its index, 0 ... n.
|
|
||||||||||||||||
|
Find in a vector of double values the entry closest to val and return its index, 0 ... n.
|
1.4.6