Christian Schneider
a11b077425
Update LICENSE
2025-06-26 18:41:15 +02:00
Christian Schneider
b8fca256a7
Merge pull request #132 from Hello71/no_override_cflags
...
use __linux/__unix instead of CMAKE_C(XX)_FLAGS
2021-11-22 23:18:58 +01:00
Alex Xu (Hello71)
3a84725d31
use __linux/__unix instead of CMAKE_C(XX)_FLAGS
...
this allows the user-specified CFLAGS/CXXFLAGS to take effect.
assume that all platforms supporting C++ in 2021 also support stdbool.h.
2021-11-20 10:30:19 -05:00
Christian Schneider
19e6f3ab94
bump copyright year
2021-03-27 11:55:42 +01:00
Christian Schneider
9a48789323
Improve CMakeLists to not warn if build type was manually set to Release
2020-10-01 15:28:08 +02:00
Christian Schneider
1993c83173
Update travis badge
...
Migration from travis-ci.org to travis-ci.com
2020-09-15 23:36:42 +02:00
Christian Schneider
c5279d7c77
Show CMake debug build and warn if it is overwritten
2020-08-20 21:07:48 +02:00
Christian Schneider
f8ea3d4fab
default CMAKE_BUILD_TYPE to Release so it doesn't need to be specified on single-configurations like Unix Makefile
2020-07-23 17:54:09 +02:00
Christian Schneider
cba2b2bc09
fix latest commit (didn't work for large streams that weren't held in memory); fixes #109
2020-07-20 13:28:29 +02:00
Christian Schneider
97c84feea3
don't write tempfile when not entering recursion
...
- this was always done for deflate type streams, decompressed stream was written to disk even if not used by recursion later
2020-05-24 19:19:16 +02:00
Christian Schneider
b3103e383b
removed zerr method
...
method isn't used anymore
2020-05-23 12:06:48 +02:00
Christian Schneider
3172973f4c
appveyor fix
2020-03-18 12:31:44 +01:00
Christian Schneider
1a6ed647b8
appveyor fix
2020-03-18 12:28:08 +01:00
Christian Schneider
8597d1311b
AppVeyor needs CRLF
2020-03-18 12:24:30 +01:00
Christian Schneider
1c66839faa
appveyor fix
2020-03-18 12:18:30 +01:00
Christian Schneider
048fac2471
appveyor fix
2020-03-18 12:17:18 +01:00
Christian Schneider
a17431747d
add build artifact to AppVeyor
2020-03-18 12:13:38 +01:00
Christian Schneider
25ef236c99
pass release configuration parameter to msbuild
2020-03-18 12:01:43 +01:00
Christian Schneider
eac6108a28
AppVeyor configuration needs different parameters for a release build
2020-03-18 11:56:55 +01:00
Christian Schneider
65e0a0d7ba
set CMake build type to release in automated build settings
2020-03-18 11:50:52 +01:00
Christian Schneider
dba1f69e23
Bump copyright year
2020-03-11 12:23:48 +01:00
Christian Schneider
daf87e9bfd
Merge pull request #101 from schnaader/brunsli_integration
...
Brunsli integration
2019-11-11 12:07:38 +01:00
Christian Schneider
06b3257bf8
added switch to disable packJPG fallback
2019-11-08 10:49:41 +01:00
Christian Schneider
7fc569949e
Increase JPG/MP3 in-memory threshold
...
- maximum size 512 MB instead of 64 MB
- verbose output if JPGs are too large for in-memory (and packJPG is used as fallback)
2019-11-07 00:14:21 +01:00
Christian Schneider
905e32a127
Update README.md
...
added brotli legal notice
2019-11-06 23:28:17 +01:00
Christian Schneider
0ae4d15296
Added brotli and brunsli license files
2019-11-06 23:25:07 +01:00
Christian Schneider
a415784149
Update README.md
...
added brunsli legal notice
2019-11-06 23:20:37 +01:00
Christian Schneider
95816e2366
brunsli JPG decompression
2019-11-06 18:22:02 +01:00
Christian Schneider
29a8b5fe0e
Fix BrunsliDecodeJpeg definition
2019-11-06 18:02:59 +01:00
Christian Schneider
9ebb249375
[WIP] brunsli compression of MJPEG data
...
- TODO brunsli decompression
2019-11-06 17:50:44 +01:00
Christian Schneider
b422204c55
Disable brunsli logging
...
- with enabled logging, brunsli is too verbose and will spam precomp's output
2019-11-06 17:49:40 +01:00
Christian Schneider
b9481dcb92
fix packJPG fallback message
2019-11-06 17:15:09 +01:00
Christian Schneider
ec5d6f702a
[WIP] using brunsli for JPG compression
...
- basic brunsli compression works
- TODO motion JPG using brunsli
- TODO brunsli decompression
- fix command line switches (brunsli/brotli instead of jpgbrunsli/jpgbrotli)
2019-11-06 16:59:49 +01:00
Christian Schneider
9644f76d71
revert bit shift fix
...
- reverted because 7 * section_size_bytes will never be greater than 64 if the function is used correctly, so the code is correct
2019-11-06 16:55:30 +01:00
Christian Schneider
770e9e7a17
Fixing bit shift
...
- shifts with values greater than 63 lead to undefined behaviour in MSVC
2019-11-06 15:55:18 +01:00
Christian Schneider
f92a95d797
fix
...
state (with use_brotli flag) must be passed to EncodeMetaData
2019-11-06 15:35:19 +01:00
Christian Schneider
1dadc0e1a7
Fix BrunsliEncodeJpeg definition
2019-11-06 15:22:29 +01:00
Christian Schneider
162c84e5b1
fix source
2019-11-06 14:55:57 +01:00
Christian Schneider
ba5822c471
Brunsli and brotli use flags and switches
...
- not used for JPG recompression yet
- only command line/INI file parsing
2019-11-06 14:52:07 +01:00
Christian Schneider
d5a0d774d3
Use "use_brotli" flag
...
- if not set, metadata gets copied instead of compressed
2019-10-22 12:20:43 +02:00
Christian Schneider
006a5849b1
Add "use_brotli" flag
...
- brotli compression of metadata will be optional, so a flag is added to both encoder and decoder
- precomp will pass the flag to Brunsli[Decode/Encode]Jpeg
2019-10-22 12:07:44 +02:00
Christian Schneider
a4e06aafdf
Source code integration of brotli and brunsli
...
- added source code files
- adjusted CMakeLists.txt
- brunsli pulled from official GitHub repo (google/brunsli) at commit 071877e87f13e39fa6667b27ab09420dfcf67bdc
2019-10-20 16:24:20 +02:00
Christian Schneider
cbd0da3905
Describe new GitHub sponsor button in README.md
2019-10-17 20:39:56 +02:00
Christian Schneider
590336c7cf
Create FUNDING.yml
2019-10-17 20:36:32 +02:00
Christian Schneider
6d015460ae
encode.ru moved to encode.su
...
- removed links to packjpg.encode.ru
2019-07-18 11:27:59 +02:00
Christian Schneider
3341c6c76d
encode.ru moved to encode.su
...
- removed links to packjpg.encode.ru
2019-07-18 11:26:32 +02:00
Christian Schneider
a0401d7a26
Fixed out-of-bounds read in packJPG
...
- Should fix #99
2019-05-16 07:58:30 +02:00
Christian Schneider
90f2353425
Change order of allocation and image descriptor check in GIF code
...
- Fixes #100
- Improves speed when processing invalid GIF files or false positives
2019-05-15 07:59:05 +02:00
Christian Schneider
7ebe71c421
Another fix for MP3 slowdown
...
- Error message "inconsistent original bit"
2019-04-09 15:07:27 +02:00
Christian Schneider
314429b05a
Donate button added
2019-03-07 10:29:54 +01:00