Yes, they are potentially different. This function is auto-generated, depending on the executable's configuration. If the executable contains a DSP server (e.g. the DSP-side servers/video_copy executable), CERuntime_init() will create a Server thread.
The end user's main() - whether server or app - shouldn't know/care what the implementation is, just that it needs to call CERuntime_init() prior to making any other Codec Engine API calls. Chris > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] ] On Behalf Of RyanYee/?? > Sent: Sunday, December 16, 2007 6:29 PM > To: [email protected] > Subject: Dose CERuntime_init have different implement in app > and server? > > I found they all have "CERuntime_init()" in app main.c > (dvevm_1_00_00_27\codec_engine_1_00\examples\apps\video_copy\s inglecpu) > and server main.c > (dvevm_1_00_00_27\codec_engine_1_00\examples\servers\video_copy) > So my question is what they do in this function,same function in two > task(client&server). > does the one in app load Dsp exec file and run it?(mian.c all it > before Engine_open()) > > -- > ----RyanYee > How many roads must a man walk down before > you can call him a Man?How many years can > some people exist before They're allowed to > be free?the answer is Blowing in the wind... > _______________________________________________ > 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
