Commit Graph

606 Commits

Author SHA1 Message Date
Rich Geldreich
06019e73ad Updating examples 2019-06-01 15:24:47 -07:00
Rich Geldreich
bc5864c17d Updating forward compat section 2019-06-01 15:23:30 -07:00
Rich Geldreich
78f1aa3c22 Updating -level section 2019-06-01 15:21:07 -07:00
Rich Geldreich
cffae80451 Updating -level section 2019-06-01 15:19:51 -07:00
Rich Geldreich
72f1cfe514 Updating -level section 2019-06-01 15:18:16 -07:00
Rich Geldreich
1ea4a92893 Fixing graph's axis label 2019-05-31 15:49:07 -07:00
Rich Geldreich
13197a1c30 Update README.md 2019-05-31 15:47:55 -07:00
Rich Geldreich
ad308cc26c Adding encoder level vs. perf/quality graph. 2019-05-31 15:42:12 -07:00
Rich Geldreich
f631b29a7e Frontend optimizations: Adding multiple compression levels to the encoder's frontend. Level 2 and 4 are equivalent to the initial release (default or -slower). Level 1 is now the new default, and is on average 21% faster than level 2. (Or more, up to 2-2.5x, on large images.) The help text documents what encoder features are used in each level. Level 0 is fine for most images, but is weak on artificial images and really large complex images. -slower now sets level 2 (not 4).
Adding -only_etc1 command line option, because sometimes during unpack you only want the ETC1 images.

Total timing and avg. Y PSNR across 59 test images, quality 128:

L Time PSNR
0 121.4	35.45
1 172.4	36.87
2 216.0	37.13
3 511.4	37.15
4 665.9	37.41
5 1483.4	37.43

Initial release:
L Time PSNR
0 216.77	37.13
1 701.84	37.41
2019-05-31 15:14:58 -07:00
Rich Geldreich
00b5c254ab Encoder frontend fix: Setting unquantized ETC1S selectors (that got stomped in the previous optimization). 2019-05-29 16:57:59 -07:00
Rich Geldreich
a2144d7ff4 Update README.md 2019-05-29 12:48:42 -07:00
Rich Geldreich
3050ca4a70 Optimizing basisu_frontend::init_endpoint_training_vectors() so it doesn't go recompute the ETC1S block basecolor/inten tables again. We already do this in basisu_frontend::init_etc1_images(). This change should not change the output files in any way. 2019-05-29 12:11:48 -07:00
Rich Geldreich
21ab9bebb5 Update README.md 2019-05-28 18:07:29 -07:00
Rich Geldreich
fbeb5d014c Update README.md 2019-05-28 17:18:22 -07:00
Rich Geldreich
0c2d072a29 Update README.md
Updating -mip_srgb options
2019-05-28 17:16:38 -07:00
Rich Geldreich
d284b08a21 Update README.md 2019-05-28 17:14:47 -07:00
Rich Geldreich
dd29d75471 Default mipmap filtering now follows the -linear option. Also updating tool help text, and bumping the version. 2019-05-28 17:11:38 -07:00
Rich Geldreich
c180a087b9 Minor transcoder update: Adding support for arbitrary output texture row pitches, for usage with the Vulkan rendering API. 2019-05-28 15:41:16 -07:00
Rich Geldreich
5a3da3eb3a Merge pull request #17 from nigeltao/master
Fix README.md markdown syntax typo
2019-05-28 14:48:29 -07:00
Nigel Tao
0215d797ae Fix README.md markdown syntax typo 2019-05-26 15:02:00 +10:00
richgel999
92bc0de0ea Fixing demo falling back to 565 problem on Firefox (and possibly Edge). v1.00 2019-05-23 19:47:44 -07:00
Rich Geldreich
3bfe6d59c1 Merge pull request #9 from 1ace/patch-1
cmake: add installation target
2019-05-23 12:25:04 -07:00
Rich Geldreich
e00e6c1cb7 Merge pull request #10 from waracci/bg-fix-typo-readme
bg(fix-typo): fix a single typo on the readme file
2019-05-23 12:24:17 -07:00
Rich Geldreich
f32dc7b3f5 Update README.md
Adding -mip_srgb command line to example usages, so mipmap use gamma correct filtering. I will be changing the command line tool so this is automatically done unless -linear is specified. For now it must be manually specified.
2019-05-23 12:23:50 -07:00
Rich Geldreich
ab30538b29 Merge pull request #12 from kenrussell/add-examples-to-readme
Add more compilation and usage instructions.
2019-05-23 12:21:05 -07:00
Kenneth Russell
a3e3cdc770 Add more compilation and usage instructions.
Incorporate suggestions from @hackerb9 and @aferriss.

Fixes #6.
2019-05-23 10:03:52 -07:00
warachi
87486df333 bg(fix-typo): fix a single typo on the readme file
- fix the typo 'familar' on the readme to 'familiar'

[Fix]
2019-05-23 17:37:46 +03:00
Eric Engestrom
00f7b5b445 cmake: add installation target
This allows to run `$BUILDTOOL install` to install `basisu` on your system, where `$BUILDTOOL` might be `ninja` or `make` for instance
2019-05-23 15:22:05 +01:00
Rich Geldreich
0319b500f6 Merge pull request #7 from zeux/wasmopt
Make basis_transcoder.{js,wasm} substantially smaller
2019-05-22 23:27:43 -07:00
Arseny Kapoulkine
c2430c3792 Use emmalloc instead of dlmalloc to save a bit more space
basis_transcoder.js 58707
basis_transcoder.wasm 217809
2019-05-22 21:14:05 -07:00
Arseny Kapoulkine
f5d502912d Make codec options externally configurable and remove BC7 support
This change makes it possible to exclude formats using compile time
options. BC7 is *never* exposed on the web and it has an absolutely huge
coding table which means we're just wasting space.

basis_transcoder.js 58707
basis_transcoder.wasm 224404
2019-05-22 20:57:17 -07:00
Arseny Kapoulkine
6fa7476bf9 Remove std::iostream from the transcoders
The impact on the file size is enormous, and it's used to output one
line into console which isn't exposed through the API anyhow.

basis_transcoder.js 58707
basis_transcoder.wasm 705079
2019-05-22 20:53:10 -07:00
Arseny Kapoulkine
af8f9f8bc4 Remove assert(x) hack in favor of NDEBUG
basis_transcoder.js 140999
basis_transcoder.wasm 832985
2019-05-22 20:51:29 -07:00
Arseny Kapoulkine
a52a31e5b0 Rebuild basis_transcoder with new Emscripten (emsdk 1.38.31)
basis_transcoder.js 141235
basis_transcoder.wasm 833219
2019-05-22 20:48:42 -07:00
Rich Geldreich
5f5c57986f Update README.md 2019-05-22 15:33:40 -07:00
Rich Geldreich
b5d11d58c8 Update README.md 2019-05-22 14:14:54 -07:00
Rich Geldreich
24cb2d80e0 Update README.md 2019-05-22 14:00:31 -07:00
Rich Geldreich
8b7bd4daa0 Merge pull request #3 from seeekr/patch-1
fix typos in README.md
2019-05-22 13:52:32 -07:00
Denis Andrejew
84573a0f61 fix typos in README.md 2019-05-22 22:23:34 +02:00
Don McCurdy
d2ba604b06 Add link to glTF extension (in progress) 2019-05-22 08:51:14 -07:00
Rich Geldreich
044f12d0a0 Update README.md 2019-05-22 00:17:14 -07:00
Rich Geldreich
b9bc7d30da Update README.md 2019-05-21 20:48:07 -07:00
Rich Geldreich
ba1fa5513f Update README.md 2019-05-20 12:57:32 -07:00
Rich Geldreich
a2532b18ad Update README.md 2019-05-20 11:46:16 -07:00
Rich Geldreich
0007fb0dd8 Update README.md 2019-05-20 11:01:12 -07:00
Rich Geldreich
de4f1664d5 Update README.md 2019-05-19 01:53:58 -07:00
Rich Geldreich
9d135d2984 Update README.md 2019-05-18 18:14:12 -07:00
richgel999
51fb74364f Fixing/updating basisu tool help text. 2019-05-18 17:32:23 -07:00
Don McCurdy
b115f4be1a Add links to WebGL demos. 2019-05-18 17:15:37 -07:00
Rich Geldreich
b688682709 Update README.md 2019-05-17 16:03:19 -07:00