Rich Geldreich
f0cb9db95a
Merge pull request #36 from jherico/fix/assignment_copy_ctor_disable
...
Properly disable copy ctor and assignment operator
2019-06-17 19:37:53 -07:00
Brad Davis
fccfdd93ef
Properly disable copy ctor and assignment operator
2019-06-15 10:31:21 -07:00
Rich Geldreich
f3f7c69f28
Merge pull request #32 from cwoffenden/previewers
...
Generates Windows thumbnails and preview
2019-06-11 11:02:47 -07:00
Rich Geldreich
5e8ad71036
Merge pull request #27 from zeux/wasmopt
...
Fix webgl CMakeLists.txt setup
2019-06-11 10:59:56 -07:00
Carl Woffenden
79d043092f
Added flush after updating DIB contents
2019-06-10 08:50:52 +02:00
Rich Geldreich
7d784c7288
Correcting the copyright date, as all of the Basis Universal code was written during/after April '19.
2019-06-09 18:29:41 -07:00
Carl Woffenden
b1c5642c8d
Fix for dimensions that aren't a multiple of four
...
Grows the preview size to the nearest 4x4 to match the block size used.
2019-06-09 21:17:01 +02:00
Carl Woffenden
7121deeef7
Preview image now local
2019-06-09 11:48:37 +02:00
Carl Woffenden
37a9dc3da3
Initial working Windows preview
...
Creates previews from Basis files. Rough but creates thumbnails and preview pane views from the first images nearest mipmap.
2019-06-08 18:49:08 +02:00
Rich Geldreich
43fccbd21f
Update README.md
2019-06-07 20:55:32 -07:00
Rich Geldreich
231fd71797
Update README.md
2019-06-07 20:55:06 -07:00
Rich Geldreich
b6c20de094
Update README.md
2019-06-07 20:53:51 -07:00
richgel999
9bb867f98b
Enabling debug flags in transcoder
2019-06-07 20:52:54 -07:00
richgel999
a92424d772
Adding webgl_videotest files
2019-06-07 20:51:00 -07:00
Rich Geldreich
938fe8c204
Removing OSX build instructions
2019-06-07 20:48:18 -07:00
Rich Geldreich
589d38971f
Texture video changes
2019-06-07 20:47:21 -07:00
richgel999
ab722fa2e1
- Adding support for skip blocks, i-frames and p-frames to the backend and transcoder, for texture video use.
...
- For PVRTC1, we now memset() any extra blocks after the blocks we know will be transcoded into. This is done because in GL there is padding that occurs on textures smaller than 8x8.
- Removing all OpenMP usage and replacing it with a basis C++11 job system.
- Fixing TSVQ class so it can split very long "thin" clusters that before weren't being split. This improves endpoint quantization on videos and complex 2D textures.
- More frontend perf. optimizations.
Tested on OSX, Linux with gcc/clang, and Win using MSVC 2019.
1.08
v1.08
2019-06-07 20:35:38 -07:00
Arseny Kapoulkine
00001426de
Fix webgl CMakeLists.txt setup
...
It looks like #7 didn't update CMakeLists.txt properly - defines
specified with -D have to be added as compile definitions.
Additionally, -O3 must be specified redundantly as a compile option and
as a link option - compile option makes .wasm bits small & fast, and
link option enables JS minifier.
After this fix CMake build results in minimal js/wasm files as well.
2019-06-02 20:46:47 -07:00
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