Commit Graph

290 Commits

Author SHA1 Message Date
Surma
dc86b33634 Cleanup 2021-05-27 11:40:50 +01:00
Surma
e4832644f2 Add missing CPP file to Makefile 2021-05-27 11:14:43 +01:00
Surma
1dc24a5c36 Add Y flip option 2021-05-21 15:10:58 +01:00
Surma
8eb29bd792 Add perceptual and srgb mipmap flag 2021-05-21 14:43:56 +01:00
Surma
83db97856c Some other Makefile edits 2021-05-21 13:52:10 +01:00
Surma
925e549466 Remove old variable 2021-05-21 13:40:23 +01:00
Surma
e0895ca074 Simplify and improve Basis makefile 2021-05-21 13:38:18 +01:00
Surma
a6f3bb596a Enable debug symbols for now 2021-05-20 12:31:04 +01:00
Surma
c9bc01b111 Add no aliasing flag 2021-05-20 10:37:28 +01:00
Surma
c5bbce6a1d Disable multithreading completely 2021-05-20 10:04:49 +01:00
Surma
e8b1db5da6 Add debug messages 2021-05-19 15:58:04 +01:00
Surma
be41088fb8 Switch KTX2 2021-05-19 15:26:49 +01:00
Surma
558ee0e5ba Fix stride error 2021-05-19 13:16:12 +01:00
Surma
114d6869ea Make object files PRECIOUS 2021-05-19 13:06:07 +01:00
Surma
bdbb8b81ac Support ECT1S and try mipmaps 2021-05-15 00:28:37 +01:00
Surma
ba5640835f Remove dead code 2021-05-14 16:25:00 +01:00
Surma
88106a09f5 Add LICENSE to basis 2021-05-14 16:17:09 +01:00
Surma
52ca417d3a Expose quality option 2021-05-14 16:12:39 +01:00
Surma
1527b1431c Decoder works 2021-05-14 15:58:38 +01:00
Surma
189d196b2b Encoder integrated 2021-05-14 15:34:12 +01:00
Surma
cf66f2a69d Decoder works 2021-05-14 14:54:05 +01:00
Surma
d3c1877e76 Trying to make the decoder work 2021-05-14 13:13:41 +01:00
Surma
bb036df1fc Avoid printf 2021-05-13 23:49:13 +01:00
Surma
2e3361af79 Encoder works 2021-05-13 23:47:07 +01:00
Surma
4dd2296eaf First compiling encoder 2021-05-13 20:09:15 +01:00
Jake Archibald
ff9dea465f Updating AVIF, and 'auto' SSIM option (#1008) 2021-05-10 18:56:33 +01:00
Jake Archibald
912c1fac08 Better DC pass (#1006) 2021-05-06 15:02:04 +01:00
Jake Archibald
efc89efba5 JXL decoding speed tier (#1001) 2021-05-04 13:16:54 +01:00
Luca Versari
df65f1a112 Update JPEG XL to latest. (#1000) 2021-05-04 11:47:19 +01:00
Jake Archibald
33c0c3b034 Additional AVIF options (#987)
* Separate colour & alpha options for AVIF

* Adding broken noise synthesis

* Build files

* Updating build

* Changing speed default

* Remove old comment

* Better speed default
2021-04-29 11:19:24 +01:00
Surma
e900d33092 Fix alpha regression in resizer (#995) 2021-04-28 15:33:44 +01:00
Ingvar Stepanyan
9d890a8fd6 Fix AVIF multithreading (#981) 2021-03-23 12:28:56 +00:00
Surma
86c4271844 Merge branch 'dev' into png-decoder-colors 2021-03-11 16:04:51 +00:00
Ingvar Stepanyan
56beb6786a [cli] Handle all color types in png decoder
Add conversions for all color types in PNG decoder used in CLI. (While at it, also made few minor cleanups.)

Fixes #971.
2021-03-11 15:21:45 +00:00
Jake Archibald
42cfbe11a1 Better AVIF options (#965)
* Better AVIF options

* Removing internal URL

* Remove AQ, add SSIM

* Better cast
2021-03-10 14:12:54 +00:00
Luca Versari
0874a3ba52 Update JPEG XL and support container format in mime sniffing. (#969) 2021-03-10 13:24:52 +00:00
Luca Versari
8f24c9b5ce Update JPEG XL.
This in particular fixes encoding with progressive enabled.
2021-02-24 16:38:22 +01:00
Surma
a783de618d Review 2021-02-22 18:05:26 +00:00
Surma
659d2b8277 Fix butteraugli for auto-optimizer 2021-02-22 17:58:15 +00:00
Luca Versari
029c2ebb83 Bump jxl version and remove workaround for enc memory usage. 2021-02-10 12:55:18 +01:00
Ingvar Stepanyan
e6916575b7 Remove no-op variable in imagequant Makefile
One more follow-up...
2021-01-22 15:30:41 +00:00
Ingvar Stepanyan
92ade727aa Fix browser version of imagequant (#947)
Fix Makefile compiling same file twice and overriding the correct browser version (ENVIRONMENT=$(ENVIRONMENT)) with Node.js one (ENVIRONMENT=node).

Looks like this was introduced by accident in 33d60658cd.

Fixes #946.
2021-01-22 13:13:18 +00:00
Ingvar Stepanyan
6117c9dd26 Update HQX to latest (#943)
I've played a bit and added a non-invasive change to the HQX - https://github.com/CryZe/wasmboy-rs/pull/1 - to work around the code size regression (https://github.com/rust-lang/rust/issues/74947) introduced in the latest Rust.

As a side benefit of the change, the build time also went down significantly and now takes only 1 minute altogether - including spawning Docker, fetching Cargo, building Wasm and optimising it with wasm-opt - instead of 15-20 minutes it took before.

P.S. h/t @CryZe for a very quick review & publish.
2021-01-22 12:27:44 +00:00
Ingvar Stepanyan
7ce0c8a4fc Make MozJPEG builds reproducible
I was wondering why MozJPEG produces different Wasm binaries even when nothing is changed.

After looking at the binary diffs, I think I have figured & fixed the reason.
2021-01-19 13:21:00 +00:00
Ingvar Stepanyan
30528c2330 Disable filesystem in C++ codecs (#938) 2021-01-18 12:59:40 +00:00
Ingvar Stepanyan
b4329c5bed Rebuild codecs (#935) 2021-01-18 12:29:38 +00:00
Ingvar Stepanyan
c7d156e8d7 Use UNALIGNED_ACCESS_IS_FAST for OxiPNG -> libdeflate
I only observed ~10-15% increase in perf on single-threaded bench, which isn't much, but no harm in adding flag anyway.

Fixes #833.
2021-01-13 13:07:01 +00:00
Surma
c5c95254f0 Update WP2 2021-01-07 17:46:54 +00:00
Ingvar Stepanyan
dfa7695a97 Switch to upstream freestanding support (#864)
Co-authored-by: Jake Archibald <jaffathecake@gmail.com>
2021-01-06 17:16:10 +00:00
Surma
61a66c4ed4 Merge branch 'dev' into fix-permissions 2021-01-05 16:40:57 +00:00