summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow all possible bit-depths, not just multiples of three.Tavian Barnes2014-05-101-9/+12
|
* Use only integer math for hue comparisons.Tavian Barnes2014-03-201-18/+18
| | | | | This is more than 10x faster than how it started, and over 5x faster than the previous commit.
* Fix corner case in color_comparator() and clarify a comment.Tavian Barnes2014-03-201-4/+4
| | | | | | | If anum == 0 and bdenom == 0, we should check anum*sgn(adenom) < bnum*sgn(bdenom), not anum*adenom < bnum*bdenom.
* Use link-time optimization.Tavian Barnes2014-03-201-1/+1
|
* Make hue sorting 3x faster by avoiding atan2() calls.Tavian Barnes2014-03-201-16/+51
|
* Put -lm -lpng at the end of the command line.Tavian Barnes2014-03-131-3/+6
|
* Be more const friendly.Tavian Barnes2014-03-122-5/+5
|
* Try to be more even in which neighbor to choose.Tavian Barnes2014-03-121-18/+23
|
* Look for strictly better matches in the k-d tree code.Tavian Barnes2014-03-111-2/+2
|
* Refactor hue comparator into color.c.Tavian Barnes2014-03-113-28/+27
|
* Get rid of some unreachable abort()s.Tavian Barnes2014-03-111-6/+0
|
* Allow different color spaces to be used for similarity measurement.Tavian Barnes2014-03-116-64/+216
|
* Use a better method of getting rid of HUE_SORT artifacts.Tavian Barnes2014-03-111-9/+6
|
* Initial commit.Tavian Barnes2014-03-118-0/+734