path: root/apps/fixedpoint.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-26Make fixepoint.c as a shared library (libfixedpoint.a).Michael Sevakis1-472/+0
Change-Id: Icc10d6e85f890c432f191233a4d64e09f00be43d Reviewed-on: Reviewed-by: Michael Sevakis <> Tested-by: Michael Sevakis <>
2013-04-15Straighten out the mad twisted state of sound.c and related areas.Michael Sevakis1-1/+1
This is going right in since it's long overdue. If anything is goofed, drop me a line or just tweak it yourself if you know what's wrong. :-) Make HW/SW codec interface more uniform when emulating HW functionality on SWCODEC for functions such as "audiohw_set_pitch". The firmware-to- DSP plumbing is in firmware/drivers/audiohw-swcodec.c. "sound_XXX" APIs are all in sound.c with none in DSP code any longer. Reduce number of settings definitions needed by each codec by providing defaults for common ones like balance, channels and SW tone controls. Remove need for separate SIM code and tables and add virtual codec header for hosted targets. Change-Id: I3f23702bca054fc9bda40f49824ce681bb7f777b
2013-04-09Consolidate identical fixedpoint exp and ln functions.Michael Sevakis1-41/+36
grey_core.c and fixedpoint.c each had their own copies. grey_core.c can use the ones fixedpoint.c. fixedpoint.c gets the more complete and optimized version of fp_16exp from grey_core.c. Change-Id: I43ee3add60796b06ed12012fbbd91815d64675a6
2010-06-08Improve accuracy of NR-based fp_sqrt with better initial estimation and ↵Michael Sevakis1-14/+21
using one more bit internally. More reliable early termination. Good enough until better method is completed. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-06-02FFT Plugin: Revamp the main code to rid it of 64-bit math. Use 32-bit ↵Michael Sevakis1-0/+67
kiss_fft_scalar because 16-bit integers are generally a poor choice for computation on-target. Simplify display code to speed it up. Add logarithmic frequency display (need keymappings, guessed on some). On dual-core, perform FFT on COP. Add some support function to fixedpoint.c. ... and stuff. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-07-07 * FS#10411 - Fixed point math code is bloated by Jeffrey GoodeMaurus Cuelenaere1-90/+41
* Set svn:keywords properties git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-07-05Take 2 at 'Consolidate all fixed point math routines in one library' ↵Maurus Cuelenaere1-0/+452
(FS#10400) by Jeffrey Goode git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-07-04Revert "Consolidate all fixed point math routines in one library (FS#10400) ↵Maurus Cuelenaere1-440/+0
by Jeffrey Goode" git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-07-04Set svn:keywords propertyMaurus Cuelenaere1-1/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-07-04Consolidate all fixed point math routines in one library (FS#10400) by ↵Maurus Cuelenaere1-0/+440
Jeffrey Goode git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657