Hi Vincent, Thank you . I send my example files again. It may be my virus scaner block the attachments while i sent.please check it. Hope your help.
best regards, mafaqing ----- Original Message ----- From: Wan, Vincent To: mafaqing Cc: davinci mail list Sent: Wednesday, March 14, 2007 9:45 AM Subject: RE: How can I link the *.l64p library ? Hi mafaqing, From the error, it looks like there might be some confusion regarding g711 encoder and decoder. I believe there are two versions of G711 which are supplied, one in codec_servers_1_00 and another one under the CE examples in \examples\codecs\g711. I don’t think the first one contains the actual libraries (it only contains the pre-built DSP server executables), and only the encoder is supplied from the 2nd location instead. So I will defer it to others who might be able to point you to G711 libraries. Regarding how to take an existing library file (.l64P/.a64P) and package it up for CE consumption, take a look at application note spraae7.pdf from TI’s website. Chapter 4.1 explains how to take an existing library file and package it up into an algorithm package (and an associated CE-consumable package), then include it in your server configuration. Simply ignore the adapter discussion in section 4.1.2. You may wish to refer to the app note’s companion code to see the actual files. .l64p or .a64p doesn’t really matter. Just make sure you refer to the correct filename in your package.xs file. One other key thing to note is that a package name always corresponds to its directory structure (e.g. package codecs.g711dec MUST be located in the directory <some repository directory>/codecs/g711dec, where the repository directory has to be listed under the XDCPATH variable defined in the makefile of your package). Hope this helps, Vincent P.S. your attachments were stripped by our virus scanner. If desired, you can try to resend by changing their extensions to .txt. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mafaqing Sent: Tuesday, March 13, 2007 2:36 AM To: davinci mail list Subject: How can I link the *.l64p library ? hi all, I'm so sorry to trouble you.But I need some help. Attached is my example what i did. I want to integrate the algorithm G711DEC and G711ENC and build for a CE Server for the DSP. The files g711dec and g711enc are come from the direcrtory "\codec_servers_1_00\packages\ti\sdo\codecs\" ,and i have never rebuilt them. I have edit the *.cfg,*.tcf,package.xdc,package.bld,makefile and main.c files in the same directory "\examples\servers\g711\" refer to the files in the directory "\codec_engine_1_02\examples\servers\video_copy\". Then,I gmake ,I got some errs look as follows: ---------------------------------------------------------------------------------------------- ti.sdo.ce.bioslog.init() ... js: "/opt/dvevm/dvevm_1_10/xdctools_1_21/packages/xdc/xdc.tci", line 226: exception from uncaught JavaScript throw: Error: xdc.loadPackage: can't find package 'codecs.g711dec' along the path '/opt/dvevm/dvevm_1_10/codec_engine_1_02/examples/servers/g711/../..;/opt/dvevm/dvevm_1_10/codec_engine_1_02/packages;/opt/dvevm/dvevm_1_10/xdais_5_00/packages;/opt/dvevm/dvevm_1_10/dsplink_1_30_08_02/packages;/opt/dvevm/dvevm_1_10/cmem_1_01/packages/;/opt/dvevm/dvevm_1_10/framework_components_1_00_03/packages;/opt/dvevm/dvevm_1_10/bios_5_30/packages;/opt/dvevm/dvevm_1_10/xdctools_1_21/packages;../..;'; try redefining the package path (XDCPATH). "./g711.cfg", line 11 "/opt/dvevm/dvevm_1_10/xdctools_1_21/include/utils.tci", line 562 "/opt/dvevm/dvevm_1_10/xdctools_1_21/include/utils.tci", line 480 "./package/cfg/g711_x64P.cfg", line 507 "./package/cfg/g711_x64P.cfg", line 481 "./package/cfg/g711_x64P.cfg", line 532 "/opt/dvevm/dvevm_1_10/xdctools_1_21/include/utils.tci", line 562 "/opt/dvevm/dvevm_1_10/xdctools_1_21/packages/xdc/cfg/cfg.js", line 45 gmake: *** [package/cfg/g711_x64P.xdl] Error 1 gmake: *** [package/cfg/g711_x64P.xdl] Deleting file `package/cfg/g711_x64Pcfg.cmd' gmake: *** [package/cfg/g711_x64P.xdl] Deleting file `package/cfg/g711_x64Pcfg_c.c' gmake: *** [package/cfg/g711_x64P.xdl] Deleting file `package/cfg/g711_x64Pcfg.s62' gmake: *** [all] Error 2 ----------------------------------------------------------------------------------------------- I find there are some different between my example and the video_copy. I note that the algorithm libraries format which the video_copy link is *.a64p,but that of my example is *.l64p. I can rebuild the algorithm for example viddec_copy and videnc_copy which the video_copy CE server consume.But i can't do that on the algorithm G711DEC and G711ENC,because i have no the source code.I can only use the pre_build library(*.l64p) I got form TI. I tried to link the *.l64p as *.a64p,and got the upper errs. Can you help me? How can I link the *.l64p library successfully? best regards, mafaqing MSN:[EMAIL PROTECTED]
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
