Commit Graph

480 Commits

Author SHA1 Message Date
castano
ae24cb163d Remove msvc warnings. 2009-04-01 07:17:25 +00:00
castano
ae744f88e6 Add constructor that takes a stream. 2009-04-01 07:13:13 +00:00
castano
5ac76b68c9 Add option to select decompression algorithm to test suite. 2009-03-24 17:35:40 +00:00
castano
f2090df7a5 Add support for FreeBSD. Patch by AMDmi3. 2009-03-21 07:44:26 +00:00
castano
0a8de141a6 Fix errors on win32. Define function pointers properly. 2009-03-21 07:43:15 +00:00
castano
9aaee3ae16 Add proper todo message. 2009-03-21 07:42:36 +00:00
castano
974cacda5f Update single color compression tables. 2009-03-19 10:00:43 +00:00
castano
953a63d7b5 Add farbrausch images to testsuite. 2009-03-19 10:00:26 +00:00
castano
19477d60c0 Fix errors in the pixel format conversion code. 2009-03-19 08:57:49 +00:00
castano
8a48250bcb Fix win32 errors and errors in the png saving code. 2009-03-19 08:57:28 +00:00
castano
35ff0e5aa6 Remove verbose error checking. 2009-03-18 05:51:15 +00:00
castano
8529dcf755 Fix memory leaks.
Shutdown CUDA properly when nvtt context is destroyed.
Fixes issue 83.
2009-03-18 05:46:53 +00:00
castano
56543e1a92 Merge changes from 2.0 2009-03-18 04:05:39 +00:00
castano
72543c9307 Add todo message. 2009-03-17 08:16:00 +00:00
castano
872c61e1d1 Add image saving code. 2009-03-17 08:14:28 +00:00
castano
7f3cee4db9 Remove commented out code. 2009-03-17 06:33:31 +00:00
castano
3f036a11a6 Avoid msvc8 warnings. 2009-03-16 21:08:09 +00:00
castano
be12367910 fix blend, add setborder and fill methods. 2009-03-16 09:05:32 +00:00
castano
c59a2e0a4b Implement alpha premultiplication and color blending. 2009-03-16 08:54:43 +00:00
castano
0abec17ab4 Implement toGreyScale.
Skip undefined images.
2009-03-16 08:47:20 +00:00
castano
6b67f4a0d7 More progress with imperative api.
Rename Texture to TexImage.
Implement image initialization.
Add stubs for all methods.
2009-03-16 08:37:07 +00:00
castano
8e836591ee Fix warning. 2009-03-15 18:34:46 +00:00
castano
50b8b67185 Hide file format especific savers. Add generic image saver.
Misc fixes under OSX.
2009-03-15 10:18:54 +00:00
castano
ab73c790e1 Testsuite cleanups and improvements.
Add ctest support.
Add FileSystem::changeDirectory method.
2009-03-14 07:27:25 +00:00
castano
d99cf11e2e Update version checking code. 2009-03-14 03:30:20 +00:00
castano
d9832ed22c Eliminate some warnings with MSVC. 2009-03-14 03:29:43 +00:00
castano
a02649faa9 Fallback to CPU compressor only on smaller images. 2009-03-14 03:29:14 +00:00
castano
a28ebb4ccf Some more progress in the imperative API. 2009-03-07 07:14:00 +00:00
castano
0f5a5e5d24 Some more progress in the imperative API. 2009-03-05 05:34:28 +00:00
castano
8f0b129a52 Add RefCounted base class back to the reposotory. 2009-03-05 05:33:53 +00:00
castano
098bc2f905 Fix some endiannes errors. 2009-03-04 09:36:40 +00:00
castano
5943e8f42f Fix errors on ibook G4. 2009-03-04 07:04:32 +00:00
castano
e48f56a15e Includer project headers first. 2009-03-02 09:21:48 +00:00
castano
25e32c8ff2 Fix msvc warnings. 2009-03-02 09:21:30 +00:00
castano
db63ba7fa4 Fix build in win64. 2009-03-02 09:21:07 +00:00
castano
3df66be089 Do not use CUDA to compress small mipmaps. 2009-03-02 09:09:05 +00:00
castano
3a52923697 Add alpha command line option. 2009-03-02 09:07:07 +00:00
castano
9953883d26 Cleanup cmake files. 2009-03-02 07:32:00 +00:00
castano
03c9ec0f62 More cleanup. Remove files that are not strictly required. 2009-03-01 02:38: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
6fb29816a2 Gnome thumbnailer. Fixes issue 82. 2009-02-03 09:32:54 +00:00
castano
9d5242594b Add gnome thumbnailer by Frank Richter. Fixes issue 82. 2009-02-03 09:29:25 +00:00
castano
69c74d7a5e Add support for comments. 2009-02-03 09:23:58 +00:00
castano
b7ea7a255b Fix const-correctness. 2009-02-03 09:22:30 +00:00
castano
17790a34df Add support for PNG in nvdecompress. Patch by Frank Richter. Fixes issue 80. 2009-02-03 09:08:39 +00:00
castano
7741a99b90 Add support for saving PNG files. Patch by Frank Richter. Fixes issue 79. 2009-02-03 09:06:21 +00:00
castano
36dd7fb76b Merge changes from p4. 2009-02-03 08:22:35 +00:00
castano
8fa870bf0c Fix typo. Fixes issue 82. 2009-02-03 08:02:20 +00:00
castano
1afdf2da8a Fix alpha-weighted filtering. 2009-01-28 12:10:04 +00:00
castano
242aa4254e Use alpha-aware resize when alpha is used for transparency and it's not premultiplied. 2009-01-28 10:58:57 +00:00
castano
4f576d5539 Add support for alpha weighting to float image. 2009-01-28 10:55:23 +00:00
castano
2411f3f5db Fix generation of blended sobel filter. Fixes issue 77. 2009-01-28 00:56:27 +00:00
castano
1c6b65ad52 Do not use custom FindGLUT cmake script. 2009-01-27 23:39:33 +00:00
castano
f92a2191f2 Print message when cuda acceleration enabled. 2009-01-20 10:43:56 +00:00
castano
49409e9d92 Cleanup color rounding and expansion. 2009-01-19 10:42:31 +00:00
castano
f753cc9702 Implement FileSystem::exists correctly on win32. 2009-01-19 10:41:51 +00:00
castano
2ad15489bb Try to optimize color rounding and expansion.
Detect CUDA 2.1 properly.
2009-01-19 09:54:43 +00:00
castano
fa53ddcecd Add NV5x/G8x DXT decompression code.
Clean things up a bit, remove old code.
2009-01-13 08:25:04 +00:00
castano
94357626f7 Merge fixes from 2.0 branch. 2009-01-10 01:31:02 +00:00
castano
19342d8adf Use timer class instead of clock.
Check that file exists before opening.
2009-01-09 05:46:24 +00:00
castano
2ed4fee447 Fix error sin string builder and path. 2009-01-09 05:45:36 +00:00
castano
f03d702d84 Implement exists with access instead of stat. 2009-01-09 05:45:02 +00:00
castano
10de10b9c2 Implement FileSystem::exists(). 2009-01-09 02:24:32 +00:00
castano
508f9fbdc2 Start implementing experimental interface. 2009-01-05 10:17:06 +00:00
castano
e965b0e4a9 Include correct headers. 2009-01-04 07:29:35 +00:00
castano
1f4d313d0f Merge changes from internal branch. Whitespace changes only. 2008-12-29 11:34:39 +00:00
castano
b8eb12afc1 Merge changes from internal branch.
- Better support for win64.
2008-12-29 11:33:20 +00:00
castano
1975883bed Update after changes in nvcore. 2008-12-29 11:29:45 +00:00
castano
9bda107603 Add pull push filter with bilinear filtering. 2008-12-29 11:28:29 +00:00
castano
b4f17b968a Merge changes from internal branch.
- Add frustum class and bezier evaluation functions.
- Add component accessors to vector.
- Add matrix constructors.
- Fix errors in sparse solvers.
- Better robust orthogonalization.
- Fix montecarlo distribution.
2008-12-29 11:27:13 +00:00
castano
e5ae0c0e20 Merge internal branch.
- Remove old/unused code.
- Remove format string constructors.
- Better win64 support (vsscanf, prefetch, etc).
- Fix radix sort to sort -0 correctly.
- Add misc utilities (constraints, timer, cpuinfo, introsort).
2008-12-29 11:20:06 +00:00
castano
a03411e451 Check version properly. 2008-12-16 20:25:12 +00:00
castano
931580edc5 Include cuda runtime properly. 2008-12-09 11:26:08 +00:00
castano
fd2f5465f8 Do not use kahansum, that was stupid.
Include cuda runtime properly.
2008-12-09 11:25:46 +00:00
castano
127052f404 Use KahanSum to compute RMSE.
Fix typos.
2008-12-07 23:15:06 +00:00
castano
a30490ab9b Preserve cluster location for empty partitions. 2008-11-24 10:35:42 +00:00
castano
1ec115c7ec Cleanup 4 means compressor. 2008-11-24 10:35:07 +00:00
castano
a4f56b65b8 Add support for alpha modes in the CPU compressors. Fixes issue 30. 2008-11-24 10:34:16 +00:00
castano
bb69acec6c Add FileSystem to build. 2008-11-23 22:25:47 +00:00
castano
4bbf5e96f4 Add squish external compressor.
Rename our squish version to nvsquish.
2008-11-23 08:59:56 +00:00
castano
4a85f8e48d Remove executable flag. 2008-11-22 22:12:05 +00:00
castano
f34b7ce84f Merge optimizations from squish. 2008-11-22 22:10:51 +00:00
castano
010905edd3 Fix tabs. 2008-11-22 22:10:11 +00:00
castano
7bb2d55d35 Create output directory. 2008-11-22 22:08:31 +00:00
castano
e3a7cc19dd Add file system helper. 2008-11-22 22:07:07 +00:00
castano
379605d30a Use metric to measure distance to clusters. 2008-11-22 21:32:27 +00:00
castano
c05c4e155b Merge optimizations from official squish release. 2008-11-22 11:36:06 +00:00
castano
fd73484bfc Merge optimizations from official squish relese. 2008-11-22 11:35:13 +00:00
castano
f29d7dd938 Try using 4 means clustering. 2008-11-22 11:34:29 +00:00
castano
3a5dc4783a Add support for regressions. 2008-11-22 11:33:31 +00:00
castano
d4a713451e Fix 4 means clustering. 2008-11-22 11:32:51 +00:00
castano
41f6e0ba73 Try 4-means. 2008-11-22 08:37:14 +00:00
castano
11073171a1 Rename stress to testsuite. Install target. 2008-11-22 08:36:55 +00:00
castano
0805832b44 Remove squish build and project files. 2008-11-22 08:36:17 +00:00
castano
a4dcd414ca Fix errors. 2008-11-22 08:35:04 +00:00
castano
4ff8a83f90 Add fitting code to build. 2008-11-22 08:30:55 +00:00
castano
48da357385 Add PCA, and 4-means implementation. 2008-11-22 08:30:20 +00:00
castano
e1916d43c8 Do not mix tabs and spaces. 2008-11-22 00:14:05 +00:00
castano
321f320bfb Do not print stupid messages. 2008-11-22 00:13:14 +00:00
castano
df32fedc7c Add command line options.
Reformat output for easier parsing.
2008-11-21 09:09:57 +00:00