![]() |
![]() |
#include <Server.h>
Data Fields | |
String | name |
The name of the algorithm. This is used by the application when instantiating an instance of the algorithm through one of the VISA APIs. | |
IALG_Fxns * | fxns |
The address of the XDAIS alg function table. | |
Ptr | idmaFxns |
The address of the IDMA3_Fxns function table, if the algorithm uses DMA. If the algorithm does not use DMA, this field should set to NULL. Valid for local algorithm only. | |
Bool | isLocal |
If true, the algorithm will be instantiated on the "local" CPU. Otherwise the server will create an instance of the algorithm. | |
Int | groupId |
This id specifies which resource sharing group that this alg will be placed into. | |
Ptr | iresFxns |
Address of the XDAIS alg IRES Interface function table. | |
Void * | stubsCodecClassConfig |
Void * | codecClassConfig |
Codec class configuration data, if any. | |
Engine_CachedMemType | memType |
String | types |
A string idicating the type(s) of algorithm this is. This should be a ';' separated string of inherited types. | |
String | stubFxnsName |
A string idicating the name of the stub functions. This is needed by remote apps that call Engine_initFromServer(). | |
SKEL_Fxns * | skelFxns |
The skel functions needed to invoke the alg remotely. | |
Int | priority |
The priority the alg will run at. | |
Int | stackSize |
Algorithm stack size. | |
Int | stackSeg |
String Server_AlgDesc::name |
The name of the algorithm. This is used by the application when instantiating an instance of the algorithm through one of the VISA APIs.
The address of the XDAIS alg function table.
The address of the IDMA3_Fxns function table, if the algorithm uses DMA. If the algorithm does not use DMA, this field should set to NULL. Valid for local algorithm only.
If true, the algorithm will be instantiated on the "local" CPU. Otherwise the server will create an instance of the algorithm.
This id specifies which resource sharing group that this alg will be placed into.
groupId
parameter for the algorithm has not been set, the configuration process assigns the groupId
will be assigned automatically, based on the priority that the algorithm will run at. However, when Server_addAlg() is used to dynamically add the algorithm to the server, you must ensure that the groupId
is appropriately. If two algorithms will run at the same time, you must assign them different group Ids.Algorithms in different groups do not share resources.
Address of the XDAIS alg IRES Interface function table.
Codec class configuration data, if any.
Memory type for alg's mem reqs.
String Server_AlgDesc::types |
A string idicating the type(s) of algorithm this is. This should be a ';' separated string of inherited types.
types
will just be set to the VISA type defined in the Codec Engine algorithm interface header file included by the algorithm, depending on the XDM interface the algorithm implements.For example, if the algorithm implements the ISPHDEC1 interface as defined by XDM, types
should be set to SPHDEC1_VISATYPE
(defined as "ti.sdo.ce.speech1.ISPHDEC1" in the header file ti/sdo/ce/speech1/sphdec1.h).
Another example to illustrate multiple typss specified in typss
, if the algorithm implements the (made-up) interface, ti.sdo.ce.test.xvideo.IVIDE, which in turn implements the IVIDDEC interface, we could then set types
to VIDDEC_VISATYPE";ti.sdo.ce.test.xvideo.IVIDE" or "ti.sdo.ce.test.xvideo.IVIDE;"VIDDEC_VISATYPE
String Server_AlgDesc::stubFxnsName |
A string idicating the name of the stub functions. This is needed by remote apps that call Engine_initFromServer().
SKEL_Fxns* Server_AlgDesc::skelFxns |
The skel functions needed to invoke the alg remotely.
The priority the alg will run at.
Algorithm stack size.