Hi , I am trying to optimize OPUS codec to TI compiler C64XX in CCS. I have created the make file and compiled the code in optlevel = 3. The MIPS are pretty high(99 MIPS for 8Khz stereo) for LFE channels and the most MIPS intensive function is the silk_noise_shape_quantizer_del_dec() function. 1. I am trying to convert this entire function to assembly. I have tried to incoporate .asm file but I get linking error as shown below undefined first referenced symbol in file --------- ---------------- _celt_fir_asm vocalopus.lib<celt_lpc.obj> I have added the files in celt_sources.mk . But they are not getting compiled at all. Has any one had the same behavior. If so could you please help me. 2. I also know TI compiler is very efficient , I would like to know if writing assembly code with help in any way. Thanks and Regards, Thivya -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20130920/fad14f5a/attachment.htm
Hi Thivya, Before going further, just make sure that: 1) You are compiling for fixed-point (FIXED_POINT) and not floating point 2) You have reduced the complexity setting with OPUS_SET_COMPLEXITY() (see doc for details) Also, I'm not sure what you mean by "LFE channels" here. Are you doing surround or stereo? Jean-Marc On 09/20/2013 06:26 PM, thivya sent wrote:> Hi , > > I am trying to optimize OPUS codec to TI compiler C64XX in CCS. I have > created the make file and compiled the code in optlevel = 3. The MIPS > are pretty high(99 MIPS for 8Khz stereo) for LFE channels and the most > MIPS intensive function is the silk_noise_shape_quantizer_del_dec() > function. > 1. I am trying to convert this entire function to assembly. I have tried > to incoporate .asm file but I get linking error as shown below > > undefined first referenced > symbol in file > --------- ---------------- > _celt_fir_asm vocalopus.lib<celt_lpc.obj> > > > I have added the files in celt_sources.mk <http://celt_sources.mk> . But > they are not getting compiled at all. Has any one had the same behavior. > If so could you please help me. > > > > 2. I also know TI compiler is very efficient , I would like to know if > writing assembly code with help in any way. > > > Thanks and Regards, > Thivya > > > _______________________________________________ > opus mailing list > opus at xiph.org > http://lists.xiph.org/mailman/listinfo/opus >
On 2013-09-20 3:26 PM, thivya sent wrote:> I have added the files in celt_sources.mk <http://celt_sources.mk> . But > they are not getting compiled at all. Has any one had the same behavior. > If so could you please help me.Adding file to celt_sources.mk will incorporate them in the default builds, but it sounds ike you're using a project file. Depending on how that's constructed you may need to add your new files to that as well. -r
Reasonably Related Threads
- [RFC PATCH v1] arm: kf_bfly4: Introduce ARM neon intrinsics
- [PATCH v1] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
- [Aarch64 v2 00/18] Patches to enable Aarch64 (version 2)
- [RFC PATCH v3] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
- [RFC PATCH v2] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics