Hi,
I am integrating AER with codec engine,but I found that AER integrating way is diffrent from other codecs.
Comparing G711 and AER, I find diffrences:
(1)G711 package locate in ti/sdo/ce/example/codecs/; AER package locate in ti/mas/.
(2)aer/package.xdc:
requires ti.mas.types[5,0,8,0];
requires ti.mas.fract[2,0,8,0];
requires ti.mas.util[4,0,9,0];
requires ti.mas.vpe[3,0,1,0];
requires internal ti.mas.swtools[2,0,4,0];
package ti.mas.aer[4.2, 0, 5, 0] {
module Version;
}
g711/package.xdc:
requires ti.xdais.dm.examples.g711;
package ti.sdo.ce.examples.codecs.g711 [1, 0, 0] {
module G711ENC;
module G711DEC;
}
(3)aer/Version.xdc:
metaonly module Version inherits ti.mas.swtools.IVersion2 {
swtools/Iversion2.xdc:
metaonly interface IVersion2 {
g711/G711ENC.xdc:
metaonly module G711ENC inherits ti.sdo.ce.speech1.ISPHENC1
{
/*!
* ======== ialgFxns ========
* name of this algorithm's xDAIS alg fxn table
*/
override readonly config String ialgFxns = "G711ENC_SUN_IG711ENC";
}
ISPHENC1.xdc:
metaonly interface ISPHENC1 inherits ti.sdo.ce.ICodec
{
override config String serverFxns = "SPHENC1_SKEL";
override config String stubFxns = "SPHENC1_STUBS";
override readonly config Int rpcProtocolVersion = 0;
}
====================================================================
Questions:
(1)In ISPHENC1.xdc, "ISPHENC1 inherits ti.sdo.ce.ICodec" means that G711ENC mode Icodec type.
But Icodec type isn't be referred in IVersion2.xdc, it means that AER isn't Icodec type?
(2)In G711ENC.xdc, ialgFxns means that name of this algorithm's xDAIS alg fxn table.
But in Version.xdc, ilagFxns isn't be referred. I don't understand content of Version.xdc.
(3)The g711enc mode name is G711ENC,it is similar to g711enc.
But AER module name is Version, I feel strange.
(4)AER integrating way is particular against other codecs?
Thererfore, I don't konw how to integrate with codec engine.