Andy, You don't specifically need to link your codec to the existing servers unless you want to simultaneously use the other codecs with your speex codec. As far as you are goind to make change to servers (Welcome to the World of DV SDK and XDC!), it is now up to you to make your own combination of codecs into servers with regard to your application needs.
What is clear is that each codec must have its own API in the appropriate class. So if your base Speex codec have a single library for both encode and decode, you will any how have to wrap the encoder into a SPHENC class and the decoder into a SPHDEC. I don't remind seeing anything that prevent you implementing the 2 classes into a single library. What is important is that instanciation and control should remain separate to respect the xDM specifications. Then you can build the server(s) that you need. As an application can talk simultaneously to a single server, you must make either separates (half-duplex) encode and decode servers or a (full-duplex) encode+decode server. Hope this helps. Regards, jean-michel. ----- Original Message ----- From: Andy Ngo To: [email protected] Sent: Thursday, January 04, 2007 9:50 PM Subject: Merging enc and dec codecs I'm trying to implement the open-source Speex codec (www.speex.org) into a Code Engine Server. The Speex library has both the encoding and decoding support functions. Does that mean I have to link the library to the CE enc codec and also to the CE dec codec? I want to save memory resources and possibly share global state data in the library between the enc and dec codecs; is there a way to combine both the enc and dec codecs into one? By the way, I'm new to the CE API so I have a huge learning curve; I've read through the documents and looked at the codec examples and it's still a little foreign to me. I have built the Speex library for a TMS320 5510 DSP before, can I just link the library with a CE codec or do I have to massage the Speex source into the CE API method and rebuild it? Thanks, Andy ------------------------------------------------------------------------------ _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
