Commit Graph

616 Commits

Author SHA1 Message Date
Arseny Kapoulkine
35c42cb00b Remove redundant definitions of min/max
These aren't used and they conflict with other sources in single-source
build.
2021-06-06 22:04:31 -07:00
Rich Geldreich
ba1c3e40f1 Merge pull request #226 from zeux/resample
Implement custom resampling command line args
2021-04-16 00:40:45 -04:00
Arseny Kapoulkine
0eb541a118 Implement custom resampling command line args
This change implements -resample X Y command line support in addition to
-resample_factor, when a more sophisticated algorithm is needed to
compute the desired image size.

For example, these can be used to round the image to a multiple of 4 or
to a power of 2 for improved compatibility with various graphics APIs.
2021-04-14 21:13:19 -07:00
Rich Geldreich
5337227c5d Rebuilt WASM encoder 2021-04-15 00:02:16 -04:00
Rich Geldreich
24ba5ded22 Merge pull request #214 from zeux/trial_errors
Optimize find_optimal_selector_clusters_for_each_block
2021-04-14 23:50:22 -04:00
Rich Geldreich
f3f7f750bb Updating comment 2021-04-14 23:36:10 -04:00
Rich Geldreich
cbcf539186 Merge pull request #225 from flashk/patch-1
Apply swizzle to user supplied mipmaps
2021-04-14 23:34:31 -04:00
flashk
1cd2b7506a Apply swizzle to user supplied mipmaps 2021-04-14 10:37:16 -07:00
Rich Geldreich
ee626cec19 Adding initial support for user-provided mipmaps. This isn't hooked up to the command line tool or the JS wrappers yet. 2021-04-13 22:48:01 -04:00
Rich Geldreich
0088fc656a Update README.md 2021-04-13 15:40:27 -04:00
Rich Geldreich
d17837b049 Adding BSD.txt license file 2021-04-13 15:34:38 -04:00
Rich Geldreich
6891895496 Update README.md 2021-04-13 15:32:22 -04:00
Rich Geldreich
0b9cd40f3b Rebuild WASM files v1.15_rel2 2021-04-13 15:25:42 -04:00
Rich Geldreich
d57ca739c5 Update README.md v1_15 2021-04-13 15:09:47 -04:00
Rich Geldreich
078c33f3e2 Update README.md 2021-04-13 15:06:55 -04:00
Rich Geldreich
a5a232c27e Update README.md 2021-04-13 15:05:26 -04:00
Rich Geldreich
182107c6f1 Update README.md 2021-04-13 15:04:26 -04:00
Rich Geldreich
7426487fe8 Update README.md 2021-04-13 15:01:18 -04:00
Rich Geldreich
48a5914a73 - Fixing ETC1S backend endpoint palette related bug that was causing a CRC check to fail on the decompressed data during compression.
- Fixing -etc1_only option so it doesn't write uncompressed image formats.
2021-04-13 14:58:28 -04:00
Rich Geldreich
4dc53670f6 Update README.md 2021-04-13 14:58:21 -04:00
Rich Geldreich
3d9c73b9c9 Update README.md 2021-04-13 14:55:52 -04:00
Rich Geldreich
ebcd600446 Update README.md 2021-04-13 14:49:29 -04:00
Rich Geldreich
4893c026d8 Update README.md 2021-04-13 14:48:40 -04:00
Rich Geldreich
477b3e69a6 Update README.md 2021-04-13 14:40:19 -04:00
Rich Geldreich
6d19ef3c7f Update README.md 2021-04-13 01:33:52 -04:00
Rich Geldreich
484d6ea6ef Update README.md 2021-04-13 01:33:07 -04:00
Rich Geldreich
ed86c9b7c2 Update README.md 2021-04-13 01:31:58 -04:00
Rich Geldreich
ee610c914e Fixing tabs 2021-04-13 00:29:01 -04:00
Rich Geldreich
5f98685bb9 Fixing gcc warning 2021-04-12 23:39:49 -04:00
Rich Geldreich
3f168577bb Fixing gcc warning 2021-04-12 23:38:01 -04:00
Rich Geldreich
ed135f03a0 Re-enabling the ktx2 mipPadding alignment workaround 2021-04-12 14:52:37 -04:00
Rich Geldreich
316a8de5f1 Fixing comment 2021-04-12 14:51:57 -04:00
Rich Geldreich
cb6322848b Adding some macros to disable the KTX2 mipPadding alignment bug workaround, and to not write key value fields at all. 2021-04-12 14:47:15 -04:00
Rich Geldreich
c76bfef770 Update README.md 2021-04-12 14:11:14 -04:00
Rich Geldreich
55eb601a43 Update README.md 2021-04-12 14:10:53 -04:00
Rich Geldreich
808b1e06c9 Update README.md 2021-04-12 13:43:25 -04:00
Rich Geldreich
55a50755a0 Create README.md 2021-04-12 13:43:11 -04:00
Rich Geldreich
621c362e54 Update README.md 2021-04-12 13:43:02 -04:00
Rich Geldreich
2a74278d49 Update README.md 2021-04-12 13:41:52 -04:00
Rich Geldreich
a6be348243 Update README.md 2021-04-12 13:40:01 -04:00
Rich Geldreich
7f0a00afe1 Adding KTX2 transcoding/encoding/decompression to PNG/KTX1 support to the transcoder, encoder, JavaScript wrappers. This is also adding Zstandard to the repo, which is optional. Set BASISD_SUPPORT_KTX2_ZSTD=0 when compiling the encoder/transcoder to disable it, or from cmake set KTX2_ZSTANDARD=FALSE. 2021-04-12 13:30:45 -04:00
Rich Geldreich
b3ecdb5ea3 ktx2_encode_test: new samples files for WASM KTX2 encoding/transcoding 2021-04-12 13:29:13 -04:00
Rich Geldreich
a8a1f73824 Adding zstd files - these are OPTIONAL. Use cmake . -DKTX2_ZSTANDARD=0 to disable (or set BASISD_SUPPORT_KTX2_ZSTD=0 when compiling the encoder or transcoder). 2021-04-12 13:28:37 -04:00
Rich Geldreich
427ebe62eb Update README.md v1.14_final 2021-04-05 02:51:20 -04:00
Rich Geldreich
82a7fbb708 Update README.md 2021-04-05 02:49:10 -04:00
Rich Geldreich
041ad47c27 - Global codebook related fixes
- Minor fix to basisu_frontend::optimize_selector_codebook() so the new_selector_cluster_indices array is initialized correctly. (The backend doesn't use this array so no harm was being done.)
v1_14_initial
2021-03-31 00:01:52 -04:00
Rich Geldreich
bf13257528 Merge branch 'branch' 2021-03-30 14:53:22 -04:00
Rich Geldreich
053ed374b4 In progress global codebook changes 2021-03-30 14:51:26 -04:00
Rich Geldreich
8fccf9e799 Merge pull request #219 from lexaknyazev/patch-1
Fix UASTC to EAC RG11 green channel selection
v1_13_3_30 v1_13_final_release
2021-03-30 14:14:45 -04:00
Rich Geldreich
bd2756a617 Merge pull request #218 from JCash/android-compile-fix
Android compile fix
2021-03-30 14:09:15 -04:00