![]() |
![]() |
Data Structures | |
| struct | Engine_Attrs |
| Attributes of an Engine. More... | |
Defines | |
| #define | Engine_GTNAME "CE" |
| Trace name for the Engine module. | |
| #define | Engine_EOK 0 |
| #define | Engine_EEXIST 1 |
| #define | Engine_ENOMEM 2 |
| #define | Engine_EDSPLOAD 3 |
| #define | Engine_ENOCOMM 4 |
| #define | Engine_ENOSERVER 5 |
| #define | Engine_ECOMALLOC 6 |
| #define | Engine_ERUNTIME 7 |
| #define | Engine_ECODECCREATE 8 |
| #define | Engine_ECODECSTART 9 |
| #define | Engine_EINVAL 10 |
| #define | Engine_EBADSERVER 11 |
| #define | Engine_ENOTAVAIL 12 |
Typedefs | |
| typedef Engine_Obj * | Engine_Handle |
| Opaque handle to an engine. | |
| typedef Int | Engine_Error |
| Engine error code. | |
| typedef Engine_Attrs | Engine_Attrs |
| Attributes of an Engine. | |
Functions | |
| Void | CERuntime_init (Void) |
| Initialize the Codec Engine Runtime. | |
| Void | Engine_close (Engine_Handle engine) |
| Close an Engine. | |
| Engine_Handle | Engine_open (String name, Engine_Attrs *attrs, Engine_Error *ec) |
| Open an Engine. | |
| Int | Engine_fwriteTrace (Engine_Handle engine, String prefix, FILE *out) |
| Write Server's trace buffer to specifed file stream. | |
| Int | Engine_getCpuLoad (Engine_Handle engine) |
| Get Server's cpu usage in percent. | |
| Engine_Error | Engine_getLastError (Engine_Handle engine) |
| Get error code of the last failed operation. | |
| UInt32 | Engine_getUsedMem (Engine_Handle engine) |
| Get Server's total memory usage. | |
| Int | Engine_setTrace (Engine_Handle engine, String mask) |
| Set Server's trace mask. | |
Variables | |
| Engine_Attrs | Engine_ATTRS |
| Default engine attributes. | |
|
|
Trace name for the Engine module.
|
|
|
Success. |
|
|
Name does not exist. |
|
|
Unable to allocate memory. |
|
|
Unable to load the DSP. |
|
|
Unable to create a comm connection to the DSP. |
|
|
Unable to locate the server on the DSP. |
|
|
Unable to allocate communication buffer. |
|
|
Internal engine runtime failure. |
|
|
Creation of the Codec failed. |
|
|
Start of the Codec failed. For codecs which are implemented as a thread, this implies that the codec thread of execution failed to start. |
|
|
Bad paramater passed to method. |
|
|
Incompatible server specified. |
|
|
Service not available. |
|
|
Opaque handle to an engine.
|
|
|
Engine error code.
|
|
|
Attributes of an Engine.
|
|
|
Initialize the Codec Engine Runtime.
|
|
|
Close an Engine.
|
|
||||||||||||||||
|
Open an Engine. The handle returned may be used to create one or more instances of a codec "contained" in the specified engine. An engine may be opened more than once; each open returns a unique handle that can be used to create codec instances or get status of any underlying server. Engine handles must not be concurrently accessed by multiple threads; each thread must either obtain its own handle (via Engine_open()) or explicitly serialize access to a shared handle.
|
|
||||||||||||||||
|
Write Server's trace buffer to specifed file stream.
|
|
|
Get Server's cpu usage in percent.
|
|
|
Get error code of the last failed operation.
|
|
|
Get Server's total memory usage.
|
|
||||||||||||
|
Set Server's trace mask.
|
|
|
Default engine attributes. Default attrs. |