Commit Graph

24 Commits

Author SHA1 Message Date
Ignacio
7f9c87713a Minor cleanups in nvmath. 2020-03-30 10:07:15 -07:00
castano
d019cd7080 Merge changes from the witness. 2014-11-04 17:49:29 +00:00
castano
7e74261f92 Fixes issue 204. 2014-05-21 17:47:06 +00:00
nathaniel.reed@gmail.com
ab316deeaa Add BC7 support. It's incredibly slow - ~60 seconds to compress a 512x512 image, on a Core i7 - but it works.
- Added AVPCL compressor to projects and got it building with VC9 and VC10.
- Removed unused command line interface & file read/write code from AVPCL.
- Convert AVPCL to use NV vector math lib, asserts, etc.
- Convert AVPCL to use double instead of float.
- Added 4x4 symmetric eigensolver, for AVPCL; it's based on the existing 3x3 one, but I had to rewrite the Householder reduction stage.  As with ZOH, using the eigensolver (instead of SVD) gives a ~25% speedup without significantly affecting RMSE.
- Encapsulate ZOH and AVPCL stuff into their own namespaces to keep everything separate.
- Added some missing vector operators to the nvmath lib.
2013-12-07 02:17:08 +00:00
nathaniel.reed@gmail.com
f2fa0517b5 Ported over James Arvo's SVD code from ZOH. It's a good deal slower than the eigensolver, and no better in RMSE - so didn't use it, but left the code in place for future reference.
Also replaced doubles with floats in the eigensolver code.  Speeds up BC6 another 5%.  No change to RMSE in test suite.
2013-12-05 02:13:17 +00:00
nathaniel.reed@gmail.com
474239c784 Add BC6 support to nvtt lib and utils.
- Use 3x3 eigensolver for initial fit in ZOH.  Slightly better perf and RMSE than power method.
- Remove use of double precision in ZOH - speeds up by 12%.
- Fixed RGBM encoding that was broken for HDR images.
- Use gamma-2.0 space for RGBM for HDR images (improves precision in darks).
- Use UNORM instead of TYPELESS formats when saving a DX10 .dds file.  The TYPELESS formats break most viewers.
- Cleaned up warnings in ZOH code.
- Command-line utils will warn if you give them an unrecognized parameter.
- Added VS2010 profiling results.
2013-10-25 17:30:55 +00:00
castano@gmail.com
94d0635285 Merge changes from the Witness. 2013-06-07 17:53:55 +00:00
castano
1d8d067caf Fix build under OSX with clang. Fixes issue 180. 2012-09-11 16:22:09 +00:00
castano
fa468b04ab Merge changes from The Witness. 2012-02-14 16:31:25 +00:00
castano@gmail.com
23bfc1b514 Fix errors and enable new cluster fit compressor. 2012-01-01 21:29:27 +00:00
castano
94401919b8 Add some inline files to reduce amount of code parsed. 2011-10-10 19:35:21 +00:00
castano
5f8cd22cdb Merge changes from the-witness. 2011-01-08 04:54:06 +00:00
castano
23b140416a Work in progress. Experiment with lightmap compression. 2010-11-12 03:32:46 +00:00
castano
bd74a9ffc6 Merge changes from the-witness. 2010-10-21 18:44:10 +00:00
castano
9ae9ec1975 Fix power method initial estimate as in squish. 2010-05-31 07:40:08 +00:00
castano
c09067e477 Merge private branch. 2010-05-27 23:19:24 +00:00
castano
88fc5ca18e Merge changes from private tree.
Eliminate files that are not needed for NVTT.
2009-03-01 00:18:47 +00:00
castano
a30490ab9b Preserve cluster location for empty partitions. 2008-11-24 10:35:42 +00:00
castano
379605d30a Use metric to measure distance to clusters. 2008-11-22 21:32:27 +00:00
castano
d4a713451e Fix 4 means clustering. 2008-11-22 11:32:51 +00:00
castano
a4dcd414ca Fix errors. 2008-11-22 08:35:04 +00:00
castano
48da357385 Add PCA, and 4-means implementation. 2008-11-22 08:30:20 +00:00
castano
59be16d40a Remove unused fitting code. 2008-03-14 08:39:03 +00:00
castano
7543dd1efa Import all sources from perforce. 2007-04-17 08:49:19 +00:00