Commit Graph

26 Commits

Author SHA1 Message Date
Andrew Murray
70298d3be9 Fix undefined variable 2024-08-07 06:38:46 +10:00
Andrew Murray
5e8dbbbf9e Removed unused variable 2024-08-06 13:32:46 +10:00
Aleksandr Karpinskii
d00fb87fa3 Rename Not NO_OUTPUT to DEBUG, remove TEST_MERGESORT and TEST_SPLIT* flags 2024-07-28 16:46:28 +04:00
pre-commit-ci[bot]
2973b041c7 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-07-16 12:58:04 +00:00
pre-commit-ci[bot]
617e7295a8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-04-25 12:51:24 +00:00
Andrew Murray
171e497e05 Raise ValueError if kmeans is negative 2024-03-22 17:36:04 +11:00
Andrew Murray
d682c18ded Use "gray" more consistently 2023-10-19 19:12:01 +11:00
Andrew Murray
fd310512b9 Set C palette to be empty by default 2023-07-17 23:04:43 +10:00
Andrew Murray
89d2cdfcfa Fixed warning that nLeft is set but not used 2023-03-31 22:30:36 +11:00
Andrew Murray
318b658c9c Initialize unsigned char variables 2022-12-22 17:16:52 +11:00
Andrew Murray
44494a1171 Set furthestV to first v in case compute_distances does not assign it 2022-05-01 23:32:47 +10:00
Andrew Murray
b299d7cfc2 Simplified code by using unsigned int instead of union 2022-05-01 23:32:47 +10:00
Hugo van Kemenade
ec74f3b1c0
Merge pull request #5367 from radarhere/quant 2021-06-20 21:57:05 +03:00
Andrew Murray
65cdc21105 Changed quantize and quantize2 to static 2021-04-11 12:40:59 +10:00
Andrew Murray
a69430047b Renamed function 2021-04-02 21:06:10 +11:00
Andrew Murray
6764650e2a Reduced memory usage 2021-04-02 20:48:06 +11:00
Andrew Murray
6541bd7cb5 Added second attribute to avoid unstable nature of qsort 2021-04-02 04:07:18 +11:00
Andrew Murray
7387ec23ac Revert "Removed return value of build_distance_tables"
This reverts commit a4a38b805b.
2021-04-02 04:07:18 +11:00
Hugo van Kemenade
727533148e
Merge pull request #5282 from radarhere/quantize
Set all transparent colors to be equal in quantize()
2021-03-31 17:58:21 +03:00
Andrew Murray
a4a38b805b Removed return value of build_distance_tables 2021-03-27 14:47:11 +11:00
Andrew Murray
114145a61a Set all transparent colors to be equal 2021-02-25 22:49:11 +11:00
Andrew Murray
46b7e86bab Format with ClangFormat 2021-01-03 14:17:51 +11:00
Andrew Murray
3a75e843f4 Added braces 2020-05-11 07:46:12 +10:00
Andrew Murray
c1d9931adc Added braces 2020-05-10 19:56:36 +10:00
Lumir Balhar
78bf8ea041 Fix potential leaked storage issues (CWE-772) 2018-10-02 14:06:21 +02:00
wiredfool
0bb3f4fee9 source layout reorg 2017-12-28 14:49:47 +00:00