Commit Graph

15 Commits

Author SHA1 Message Date
rajan gill fdac44d193 include/fixedmath.h: Regarding the single precision float to/from fixed point conversions in fixedmath.h, I believe the floating point literals should be appended with the letter 'f' to avoid (expensive) conversions from single to double precision, and thereby also avoid (expensive if done in SW) double point arithmetic (which is what is happening upon inspection of my disassembly). 2019-07-11 15:13:02 -06:00
Gregory Nutt 42628d2209 include/fixedmath.h: Add macros for conversion between types b16_t and type double 2019-03-16 13:04:03 -06:00
Jussi Kivilinna afc46cb7ba fixedmath: add square root and b32_t conversion operators 2017-05-04 06:50:08 -06:00
Gregory Nutt 0f90500f72 Standardize the width of all comment boxes in header files 2015-10-02 17:48:24 -06:00
Gregory Nutt 4bcd13eabd Add RGB blending logic needed to support anti-aliasing 2015-07-14 07:57:54 -06:00
Gregory Nutt f6d11bc2fd Back out an incorrect change 2014-10-12 11:01:57 -06:00
Gregory Nutt 872e9fce26 Cosmetic update to comments 2014-10-12 10:53:29 -06:00
Gregory Nutt a41c1de32c Add basic data structures that will allow us to move named semaphore support out of the OS and into the VFS (not complete). 2014-09-28 10:15:33 -06:00
patacongo 8e5733ae3f Header file clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4948 42af7a65-404d-4744-a932-0658087f49c3
2012-07-17 03:58:11 +00:00
patacongo dc3c6ea49f Fix numerous errors in trapezoid rendering and wide line drawing algorithms
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3841 42af7a65-404d-4744-a932-0658087f49c3
2011-08-03 21:49:31 +00:00
patacongo a203a142f3 Add fixed precision atan2() function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3834 42af7a65-404d-4744-a932-0658087f49c3
2011-08-01 23:09:11 +00:00
patacongo 92b110e0e2 Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2335 42af7a65-404d-4744-a932-0658087f49c3
2009-12-14 15:46:55 +00:00
patacongo 586f69da53 Add fixed precision sin() and cos()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1342 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 01:19:35 +00:00
patacongo a9b1526a37 Beginning of a graphics library
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1305 42af7a65-404d-4744-a932-0658087f49c3
2008-11-25 21:58:35 +00:00
patacongo 3bc671c081 Add fixed precision math support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1304 42af7a65-404d-4744-a932-0658087f49c3
2008-11-25 20:53:12 +00:00