Commit Graph

492 Commits

Author SHA1 Message Date
Rich Geldreich
00edf6396c Update basis_spec.txt 2020-05-30 17:28:06 -04:00
Rich Geldreich
b8c614e758 Update basis_spec.txt 2020-05-26 01:03:35 -04:00
Rich Geldreich
25a5d99c93 Update basis_spec.txt 2020-05-26 00:56:13 -04:00
Rich Geldreich
82235af126 Update basis_spec.txt 2020-05-26 00:55:26 -04:00
Rich Geldreich
c5bbe545c8 Update basis_spec.txt 2020-05-26 00:55:05 -04:00
Rich Geldreich
7f98f715df Update basis_spec.txt 2020-05-26 00:52:28 -04:00
Rich Geldreich
3e72d4cefa Update basis_spec.txt 2020-05-26 00:51:34 -04:00
Rich Geldreich
dc85354516 Update basis_spec.txt 2020-05-26 00:40:23 -04:00
Rich Geldreich
6c51561349 Update basis_spec.txt 2020-05-26 00:39:00 -04:00
Rich Geldreich
3f0c27ea36 Update basis_spec.txt 2020-05-26 00:37:08 -04:00
Rich Geldreich
d8d01a07f2 Update basis_spec.txt 2020-05-26 00:36:32 -04:00
Rich Geldreich
3eb8464f3a Update basis_spec.txt 2020-05-26 00:34:29 -04:00
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