Jon Beniston
612dc0a977
Add macro for width of pixel rows
3 years ago
Jon Beniston
328ea956f4
Export offsets as needed for image functions
3 years ago
Jon Beniston
3141493ae6
Rename apt_getsample to apt_getsamples, as it gets more than one sample.
3 years ago
Jon Beniston
23d7870102
Add context pointer to getsample callback
3 years ago
Jon Beniston
ce63316fb2
Support C++
3 years ago
Jon Beniston
fb6fb49929
Use static library for aptdec executable, to avoid having to set path to library
3 years ago
Jon Beniston
429e73a2b1
Fix palette exports
3 years ago
Jon Beniston
dc3c02c76d
Add support for building a shared library (libaptdec).
Exported functions and types prefixed with apt_
Callback added for getsample, instead of calling named function.
Allow library to be built without libpng or libsndfile.
Add support for building with MSVC on Windows.
Fix a few MSVC compiler warnings.
Fix nonlinear radiance correction for NOAA19.
3 years ago
Xerbo
86b8d618e0
Fix for compilation with gcc10
3 years ago
Xerbo
13d98107ac
Fix map alignment when using crop noise
The crop noise effect shifts the enetire image in memory, however when applying a map this shift did not get taken into account.
4 years ago
Xerbo
7892869d39
Fix segfault when trying to do anything
Don't try to memcopy into a null pointer
4 years ago
Xerbo
eb61a550c1
Add release windows build
4 years ago
Xerbo
c757dc7614
Switch to argpase and move libaries into src/lib/
4 years ago
Xerbo
f1979a74d9
Windows build now working properly
Was opening PNG files (which are binary...) with `r` instead of `rb` which caused problems on windows
Added `libsndfile-1` back into FindLibSndFile.cmake, since it's needed
Package `sndfile.dll` instead of `libsndfile-1.dll` since thats what the binary looks for
4 years ago
Xerbo
3b9a830ee2
Remove src/filtercoeff.h after forgetting in 7148947
4 years ago
Xerbo
71489470b6
Merge filtercoeff.h into filter.h
4 years ago
Xerbo
06571464fe
Make release builds work
Since release builds had -Werror on, every warning is counted as an error, and the #pragmas that supressed that warning caused a wrning them selfs.
4 years ago
Xerbo
c5ec69f48a
Headerise each file
4 years ago
Xerbo
ec8a1eb168
Remove distribution image generation
It didn't even work in the latest commit
4 years ago
Xerbo
2213e46ddf
Stack image types as much as you want
Create a copy of the image before modifying it for temperature calibration
4 years ago
Xerbo
8cfbc9d12b
Fix for small mistake in b96a2c6
4 years ago
Xerbo
b96a2c6f0b
Increase buffer size
4 years ago
Xerbo
bb37bf0628
Palette search directorie, basic packaging support
4 years ago
Xerbo
b8671a325f
Move source into src/
4 years ago