summaryrefslogtreecommitdiff
path: root/apps/fixedpoint.c
AgeCommit message (Collapse)Author
2013-04-26Make fixepoint.c as a shared library (libfixedpoint.a).Michael Sevakis
Change-Id: Icc10d6e85f890c432f191233a4d64e09f00be43d Reviewed-on: http://gerrit.rockbox.org/456 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
2013-04-15Straighten out the mad twisted state of sound.c and related areas.Michael Sevakis
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 Sevakis
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 Sevakis
using one more bit internally. More reliable early termination. Good enough until better method is completed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26681 a1c6a512-1295-4272-9138-f99709370657
2010-06-02FFT Plugin: Revamp the main code to rid it of 64-bit math. Use 32-bit ↵Michael Sevakis
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://svn.rockbox.org/rockbox/trunk@26470 a1c6a512-1295-4272-9138-f99709370657
2009-07-07 * FS#10411 - Fixed point math code is bloated by Jeffrey GoodeMaurus Cuelenaere
* Set svn:keywords properties git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21701 a1c6a512-1295-4272-9138-f99709370657
2009-07-05Take 2 at 'Consolidate all fixed point math routines in one library' ↵Maurus Cuelenaere
(FS#10400) by Jeffrey Goode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21664 a1c6a512-1295-4272-9138-f99709370657
2009-07-04Revert "Consolidate all fixed point math routines in one library (FS#10400) ↵Maurus Cuelenaere
by Jeffrey Goode" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21635 a1c6a512-1295-4272-9138-f99709370657
2009-07-04Set svn:keywords propertyMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21634 a1c6a512-1295-4272-9138-f99709370657
2009-07-04Consolidate all fixed point math routines in one library (FS#10400) by ↵Maurus Cuelenaere
Jeffrey Goode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21633 a1c6a512-1295-4272-9138-f99709370657