Commit Graph

456 Commits

Author SHA1 Message Date
richgel999
a1689504ea Huffman encoder fixes for very large streams
Allowing Huffman decoder to use different fast bits table sizes
Adding NV and AMD BC1 decoders
2020-05-05 23:10:21 -04:00
richgel999
bb64ec604c Renaming USE_UNALIGNED_WORD_READS to BASISD_USE_UNALIGNED_WORD_READS.
Setting BASISD_USE_UNALIGNED_WORD_READS to 0 for WebAssembly builds.
Renaming IS_BIG_ENDIAN to BASISD_IS_BIG_ENDIAN.
2020-05-05 22:40:40 -04:00
Rich Geldreich
aaa13941ff Fixing tabs 2020-04-22 01:19:43 -04:00
Rich Geldreich
74643008f0 New file 2020-04-22 01:18:44 -04:00
Rich Geldreich
774549d006 Merge pull request #125 from cwoffenden/gitignore-tweaks
Ignoring VS working files and Mac finder
2020-04-14 21:05:03 -04:00
Rich Geldreich
66d5306ba2 Merge pull request #126 from brunogm0/master
Further optimize img!
2020-04-14 21:04:33 -04:00
Rich Geldreich
fadb1e8e94 Merge pull request #128 from cwoffenden/vs-warnings-1
Resolved various Visual Stufio warnings
2020-04-10 14:38:06 -04:00
Rich Geldreich
7a7025e919 Merge pull request #127 from toji/webgl-loader
Added basis_loader.js for WebGL
2020-04-10 14:26:43 -04:00
Rich Geldreich
7398094547 Update README.md 2020-04-09 00:17:50 -04:00
Rich Geldreich
2e5100bda7 Update README.md 2020-04-09 00:13:11 -04:00
Rich Geldreich
76fa25921e Fixing command line help text related to mipmap filtering & sRGB. 2020-04-09 00:03:51 -04:00
Rich Geldreich
804f1415d1 Removing invalid assert. 2020-04-08 23:57:45 -04:00
Rich Geldreich
744a8c1a63 Update README.md 2020-04-08 14:02:59 -04:00
Rich Geldreich
702734ff86 Update README.md 2020-04-08 13:56:03 -04:00
Carl Woffenden
ee828597e7 Resolved various Visual Stufio warnings
All configurations: "warning MSB8004: Output Directory does not end with a trailing slash." Release: "command line warning D9025: overriding '/sdl' with '/GS-'" and "warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc"
2020-04-08 14:25:31 +02:00
Brandon Jones
171a38483f Fix a couple minor errors 2020-04-06 16:38:25 -07:00
Brandon Jones
fc1183c412 Added basis_loader.js for WebGL 2020-04-06 14:55:45 -07:00
Bruno George de Moraes
c8cb464fe3 Further optimize img!
/encoder_lvl_vs_perf.png -- 7.22kb -> 6.18kb (14.4%)
/webgl/texture/preview.png -- 432.41kb ->  317.87kb (26.488%)
/contrib/single_file_transcoder/examples/testcard.png -- 10.55kb ->  7.90kb (25.1%)
/contrib/single_file_transcoder/examples/testcard-rgba.png -- 14.3kb ->  11.52kb (19.44%)
/webgl/gltf/preview.png -- 490.65kb ->  458kb (6.652%)
/contrib/previewers/win/preview.png -- 652.43kb ->  624.31 (4.31%)
Total:  1,609.39‬kb  -> 1425.78kb  (11.4%)
2020-04-02 15:13:03 -03:00
Carl Woffenden
9dceb725f8 Ignoring VS working files and Mac finder
Minor change but stops the need to keep manually ignoring/reverting working files.
2020-04-02 16:54:49 +02:00
Rich Geldreich
c012fe694b Enabling jpeg linear chroma filtering 2020-03-27 23:52:46 -04:00
Rich Geldreich
09b23971fd Minor fixes: Fixing signed left shift, adding limit to 1000 progressive scans 2020-03-27 22:20:17 -04:00
Rich Geldreich
38d1fa2734 Update README.md 2020-03-25 05:38:27 -04:00
Rich Geldreich
078ce180bc Adding JPEG reading support 2020-03-25 05:24:37 -04:00
Rich Geldreich
3527cc91fc New files 2020-03-25 05:21:33 -04:00
Rich Geldreich
e9c55faac7 Merge pull request #106 from Cheney-W/Cheney
Include <ostream> in basisu_enc.h
2020-03-22 23:55:36 -04:00
Rich Geldreich
12889dfe9d Adding -renorm option, manually merged from
29db2936fe
2020-03-22 23:53:05 -04:00
Rich Geldreich
206622d8fe Update to TGA reader 2020-03-22 23:44:26 -04:00
Rich Geldreich
3d4a39a147 Adding TGA reading support 2020-03-22 23:44:25 -04:00
Rich Geldreich
92e5720bf2 Merge pull request #121 from EwoutH/patch-1
CI: Add basic AppVeyor configuration
2020-03-22 23:40:14 -04:00
Rich Geldreich
54a2db06f1 Merge pull request #116 from cwoffenden/single-file-transcoder
Single file transcoder fixes
2020-03-22 23:39:18 -04:00
Rich Geldreich
6ef114ac1e Merge pull request #117 from cwoffenden/previewers-uastc
Updated Windows previewer with UASTC support
2020-03-22 23:38:27 -04:00
Rich Geldreich
23e1eebca2 Merge pull request #118 from jschueller/patch-1
CMake: Only unices have the strip command
2020-03-22 23:37:34 -04:00
Rich Geldreich
61c10ece26 Merge pull request #119 from cwoffenden/readme-typos-1
Minor typos
2020-03-22 23:36:40 -04:00
Rich Geldreich
a15c2d382a Merge pull request #122 from EwoutH/imgbot
[ImgBot] Optimize images
2020-03-22 23:35:36 -04:00
Ewout ter Hoeven
768e29a4e9 AppVeyor: Specify artifact path 2020-03-22 09:31:54 +01:00
Ewout ter Hoeven
5824a400be CI: Add initial AppVeyor configuration 2020-03-22 09:26:51 +01:00
ImgBotApp
3cb4515cc0 [ImgBot] Optimize images
*Total -- 1,819.93kb -> 1,593.25kb (12.46%)

/encoder_lvl_vs_perf.png -- 13.04kb -> 7.22kb (44.68%)
/webgl/texture/preview.png -- 522.49kb -> 432.41kb (17.24%)
/contrib/single_file_transcoder/examples/testcard.png -- 12.38kb -> 10.55kb (14.79%)
/webgl/gltf/preview.png -- 563.41kb -> 490.65kb (12.91%)
/contrib/previewers/win/preview.png -- 708.61kb -> 652.43kb (7.93%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-22 08:23:08 +00:00
Carl Woffenden
9462a0b6d6 Minor typos 2020-03-21 20:43:58 +01:00
Julien Schueller
b474b3d16e CMake: Only unices have the strip command
Fixes the build on MinGW
2020-03-21 17:25:46 +01:00
Carl Woffenden
56d2782b5f Minor docs 2020-03-21 16:31:39 +01:00
Carl Woffenden
a9ee154233 Fixed Emscripten demo when transcoding to uncompressed formats
(Also added editor config file)
2020-03-21 16:13:45 +01:00
Carl Woffenden
310aea5a66 Minor typo 2020-03-21 15:42:19 +01:00
Carl Woffenden
2a48aaf0cc Fixes for the UASTC changes
Tested on Windows with both ETCS and UASTC files.
2020-03-21 15:40:14 +01:00
Carl Woffenden
5f1d9f902b Merge branch 'master' into single-file-transcoder 2020-03-21 13:02:48 +01:00
Carl Woffenden
2a464a9cc3 Fixes to build since UASTC additions 2020-03-21 12:59:29 +01:00
Rich Geldreich
ed9f92e9a7 Merge pull request #68 from cwoffenden/single-file-transcoder
Single C++ file transcoder generator (and tiny Emscripten example)
2020-03-21 07:08:16 -04:00
Carl Woffenden
ec00f06e81 Removed unused macro around now commented 'max_bits' vars 2020-03-21 12:05:38 +01:00
Carl Woffenden
a8bbc031f1 Revert "Removed unused macro around now commented 'max_bits' vars"
This reverts commit 0a7098a231.
2020-03-21 12:04:33 +01:00
Carl Woffenden
0a7098a231 Removed unused macro around now commented 'max_bits' vars 2020-03-21 12:03:47 +01:00
Carl Woffenden
5b2d795617 Merge branch 'master' into single-file-transcoder 2020-03-21 11:48:33 +01:00