Commit Graph
480 Commits
Author SHA1 Message Date
Rich Geldreich 041d06ba91 Update basis_spec.txt 2020-05-26 00:33:57 -04:00
Rich Geldreich 8afd2e7a46 Update basis_spec.txt 2020-05-26 00:28:01 -04:00
Rich Geldreich 3ea02ed1f0 Update basis_spec.txt 2020-05-26 00:21:34 -04:00
Rich Geldreich a8d1bf100a Update basis_spec.txt 2020-05-26 00:17:51 -04:00
Rich Geldreich 576844fd69 Update basis_spec.txt 2020-05-26 00:17:00 -04:00
Rich Geldreich 053785bb67 Update basis_spec.txt 2020-05-26 00:10:53 -04:00
Rich Geldreich 674558e441 Update basis_spec.txt 2020-05-26 00:10:03 -04:00
Rich Geldreich 192991213a Update basis_spec.txt 2020-05-26 00:09:16 -04:00
Rich Geldreich 210434969b Update basis_spec.txt 2020-05-26 00:08:25 -04:00
Rich Geldreich 5f11015be1 Update basis_spec.txt 2020-05-26 00:07:56 -04:00
Rich Geldreich 67076f56b9 Update basis_spec.txt 2020-05-25 23:34:24 -04:00
Rich Geldreich dd7d699241 Update basis_spec.txt 2020-05-25 23:33:44 -04:00
Rich Geldreich 60dcfc8e4a Update basis_spec.txt 2020-05-25 23:32:10 -04:00
Rich Geldreich 45fb3c7969 Update basis_spec.txt 2020-05-25 23:26:40 -04:00
Rich Geldreich 0a4b1d3e1d Update basis_spec.txt 2020-05-25 23:25:41 -04:00
Rich Geldreich ef6a01cf1e Update basis_spec.txt 2020-05-25 23:13:17 -04:00
Rich Geldreich fbf9a04729 Update basis_spec.txt 2020-05-25 23:12:43 -04:00
Rich Geldreich 374a04d54d Merge pull request #134 from cwoffenden/transcoder-xcode
Xcode 11 transcoder warnings removed
2020-05-06 19:59:59 -04:00
Rich Geldreich cc1dac78fb Merge pull request #136 from aaronfranke/travis
Add a formatting script for Travis CI
2020-05-06 19:57:43 -04:00
Rich Geldreich 525458ae82 Merge pull request #137 from ondys/patch-2
Fixed undefined behavior in BASISU_OFFSETOF
2020-05-06 19:56:56 -04:00
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
Ondrej Stava 57ca9acadd Fixed undefined behavior in BASISU_OFFSETOF
The original implementation was dereferencing a nullptr which is an undefined behavior according to the C++ spec. It was triggering some automatic errors during our sanitizer tests (asan with nullptr check).

The fix replaces the offset with standard implementation of offsetof that uses compiler built in instructions when available (avoiding the undefined behavior).
2020-04-28 11:11:10 -07:00
Aaron Franke 409d9a502e Commit files changed by the formatting script 2020-04-25 00:21:48 -04:00
Aaron Franke 4fe7cefcd1 Add a formatting script for Travis CI 2020-04-25 00:21:30 -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
Carl Woffenden 5c11484595 Xcode 11 transcoder warnings removed
With the default Xcode 11 settings, these non-functional changes remove warnings when building for iOS and Mac, notably:

Possible misuse of comma operator here

Implicit conversion loses integer precision: 'long' to 'int'
2020-04-21 19:11:10 +02: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
https://github.com/BinomialLLC/basis_universal/pull/104/commits/29db2936fea77f00d1aecea9610fd94ac3eb60f8
2020-03-22 23:53:05 -04:00