Commit Graph

659 Commits

Author SHA1 Message Date
castano
f829cbb02f Update projects. 2009-04-01 07:13:47 +00:00
castano
34727a87aa Add constructor that takes a stream. 2009-04-01 07:13:13 +00:00
castano
66a1e89cf8 Add option to select decompression algorithm to test suite. 2009-03-24 17:35:40 +00:00
castano
2ed7f9b369 Add support for FreeBSD. Patch by AMDmi3. 2009-03-21 07:44:26 +00:00
castano
6d90879515 Fix errors on win32. Define function pointers properly. 2009-03-21 07:43:15 +00:00
castano
b9a3f17802 Add proper todo message. 2009-03-21 07:42:36 +00:00
castano
227e1a7987 Add single color table generation code. 2009-03-19 10:06:42 +00:00
castano
a600aaa73e Update single color compression tables. 2009-03-19 10:00:43 +00:00
castano
2bfd30e21a Add farbrausch images to testsuite. 2009-03-19 10:00:26 +00:00
castano
075bed161e Fix errors in the pixel format conversion code. 2009-03-19 08:57:49 +00:00
castano
5c6d4f8b40 Fix win32 errors and errors in the png saving code. 2009-03-19 08:57:28 +00:00
castano
1a2c14ed6f Add farbrausch textures. 2009-03-19 06:28:32 +00:00
castano
df97ce883c Add data to repro bug reports. 2009-03-19 06:18:31 +00:00
castano
a86f68e745 Add one more exclude rule to pkg builder script. 2009-03-18 06:55:54 +00:00
castano
9ed0f6e143 Remove verbose error checking. 2009-03-18 05:51:15 +00:00
castano
9ba140126e Fix memory leaks.
Shutdown CUDA properly when nvtt context is destroyed.
Fixes issue 83.
2009-03-18 05:46:53 +00:00
castano
5145c9dcbc Merge changes from 2.0 2009-03-18 04:05:39 +00:00
castano
9311ca532f Add todo message. 2009-03-17 08:16:00 +00:00
castano
3569d8bdbc Add image saving code. 2009-03-17 08:14:28 +00:00
castano
58f37d31f4 Remove commented out code. 2009-03-17 06:33:31 +00:00
castano
3f34f7895b Avoid msvc8 warnings. 2009-03-16 21:08:09 +00:00
castano
d37549ba5c rename gnuwin back to gnuwin32 2009-03-16 19:42:25 +00:00
castano
f30b33f98e fix blend, add setborder and fill methods. 2009-03-16 09:05:32 +00:00
castano
02688520df Implement alpha premultiplication and color blending. 2009-03-16 08:54:43 +00:00
castano
2c510a0fe0 Implement toGreyScale.
Skip undefined images.
2009-03-16 08:47:20 +00:00
castano
34bbc55d87 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
cc90ac0e9e Install doc files in doc folder. 2009-03-16 06:05:51 +00:00
castano
d5ed8a8703 Generate debs on linux only. 2009-03-15 18:35:00 +00:00
castano
30bc7c68fe Fix warning. 2009-03-15 18:34:46 +00:00
castano
be9ed87e90 Hide file format especific savers. Add generic image saver.
Misc fixes under OSX.
2009-03-15 10:18:54 +00:00
castano
e822dfcb92 Include readme in the installer. 2009-03-14 08:02:47 +00:00
castano
217eeabe1d Update readme. 2009-03-14 08:02:33 +00:00
castano
b0a705b41c Testsuite cleanups and improvements.
Add ctest support.
Add FileSystem::changeDirectory method.
2009-03-14 07:27:25 +00:00
castano
ea184f3d48 Add testsuite images. 2009-03-14 07:09:26 +00:00
castano
c59323406d Compile libraries as dynamic libs.
Excluse qtproject folder in source packages.
Add support for package generation using cpack.
2009-03-14 06:04:33 +00:00
castano
697575dcd0 Update project files with recently added files. 2009-03-14 03:31:12 +00:00
castano
4c9d604d6a Update version checking code. 2009-03-14 03:30:20 +00:00
castano
0748d6163b Eliminate some warnings with MSVC. 2009-03-14 03:29:43 +00:00
castano
274f8138db Fallback to CPU compressor only on smaller images. 2009-03-14 03:29:14 +00:00
castano
630b94c6bf Some more progress in the imperative API. 2009-03-07 07:14:00 +00:00
castano
9c3c65b624 Some more progress in the imperative API. 2009-03-05 05:34:28 +00:00
castano
2de748ff98 Add RefCounted base class back to the reposotory. 2009-03-05 05:33:53 +00:00
castano
af7eff156a Fix some endiannes errors. 2009-03-04 09:36:40 +00:00
castano
4bbf9bfd29 Fix errors on ibook G4. 2009-03-04 07:04:32 +00:00
castano
6169a30aa4 Delete win64 dlls, not very useful without the corresponding lib files. 2009-03-02 09:50:47 +00:00
castano
dbfec13093 Update vc9 project files. 2009-03-02 09:45:17 +00:00
castano
f077ffa1d9 Update changelog. 2009-03-02 09:28:11 +00:00
castano
3802feea74 Add property file. 2009-03-02 09:27:51 +00:00
castano
441df1c2e5 Update vc8 project files. 2009-03-02 09:27:07 +00:00
castano
47b01fa6a2 Includer project headers first. 2009-03-02 09:21:48 +00:00
castano
8be0573599 Fix msvc warnings. 2009-03-02 09:21:30 +00:00
castano
f9855c6f0e Fix build in win64. 2009-03-02 09:21:07 +00:00
castano
5c08d6dbef Do not use CUDA to compress small mipmaps. 2009-03-02 09:09:05 +00:00
castano
6b1e49e31b Add alpha command line option. 2009-03-02 09:07:07 +00:00
castano
1f6201ac6a Cleanup cmake files. 2009-03-02 07:32:00 +00:00
castano
9328c4da6c Move poshlib to extern. 2009-03-02 07:30:38 +00:00
castano
89fb0bcfe5 Update changelog and buildpkg script. 2009-03-02 07:01:06 +00:00
castano
0e8223ea92 More cleanup. Remove files that are not strictly required. 2009-03-01 02:38:24 +00:00
castano
d7f667ae96 Merge changes from private tree.
Eliminate files that are not needed for NVTT.
2009-03-01 00:18:47 +00:00
castano
61376efe8b Gnome thumbnailer. Fixes issue 82. 2009-02-03 09:32:54 +00:00
castano
beac56bf12 Update changelog. 2009-02-03 09:30:54 +00:00
castano
b83b6d8957 Add gnome thumbnailer by Frank Richter. Fixes issue 82. 2009-02-03 09:29:25 +00:00
castano
763de3172f Add support for comments. 2009-02-03 09:23:58 +00:00
castano
42595b26e2 Fix const-correctness. 2009-02-03 09:22:30 +00:00
castano
a998460157 Add support for PNG in nvdecompress. Patch by Frank Richter. Fixes issue 80. 2009-02-03 09:08:39 +00:00
castano
41a6c23d44 Add support for saving PNG files. Patch by Frank Richter. Fixes issue 79. 2009-02-03 09:06:21 +00:00
castano
d35ef3a509 Merge changes from p4. 2009-02-03 08:22:35 +00:00
castano
3048fb2db3 Fix typo. Fixes issue 82. 2009-02-03 08:02:20 +00:00
castano
2d477a341f Fix alpha-weighted filtering. 2009-01-28 12:10:04 +00:00
castano
f1844405cc Use alpha-aware resize when alpha is used for transparency and it's not premultiplied. 2009-01-28 10:58:57 +00:00
castano
4071603f91 Add support for alpha weighting to float image. 2009-01-28 10:55:23 +00:00
castano
e5947f378a Fix generation of blended sobel filter. Fixes issue 77. 2009-01-28 00:56:27 +00:00
castano
cd541d6635 Do not use custom FindGLUT cmake script. 2009-01-27 23:39:33 +00:00
castano
db2ecf82a7 Print message when cuda acceleration enabled. 2009-01-20 10:43:56 +00:00
castano
4d3045d5eb Add squish.h to project. 2009-01-19 10:43:53 +00:00
castano
09cfd3f36e Cleanup color rounding and expansion. 2009-01-19 10:42:31 +00:00
castano
fa4768557a Implement FileSystem::exists correctly on win32. 2009-01-19 10:41:51 +00:00
castano
2518292006 Add FileSystem.{h,cpp} to project. 2009-01-19 10:41:09 +00:00
castano
8cca66d9c9 Try to optimize color rounding and expansion.
Detect CUDA 2.1 properly.
2009-01-19 09:54:43 +00:00
castano
284fd08d53 Add NV5x/G8x DXT decompression code.
Clean things up a bit, remove old code.
2009-01-13 08:25:04 +00:00
castano
97eaa44acc Fix name of libpng dll. 2009-01-10 04:40:46 +00:00
castano
438e32c3e2 Merge fixes from 2.0 branch. 2009-01-10 01:31:02 +00:00
castano
6e64f04755 Use timer class instead of clock.
Check that file exists before opening.
2009-01-09 05:46:24 +00:00
castano
252efa0aff Fix error sin string builder and path. 2009-01-09 05:45:36 +00:00
castano
57d202acda Implement exists with access instead of stat. 2009-01-09 05:45:02 +00:00
castano
13278326be Implement FileSystem::exists(). 2009-01-09 02:24:32 +00:00
castano
ba38c1b64d Start implementing experimental interface. 2009-01-05 10:17:06 +00:00
castano
e43887e44b Include correct headers. 2009-01-04 07:29:35 +00:00
castano
e9b65db23f Merge changes from internal branch. Whitespace changes only. 2008-12-29 11:34:39 +00:00
castano
3f3097a2c9 Do not enable testing. 2008-12-29 11:33:48 +00:00
castano
b2af642311 Merge changes from internal branch.
- Better support for win64.
2008-12-29 11:33:20 +00:00
castano
c7b94cf190 Update after changes in nvcore. 2008-12-29 11:29:45 +00:00
castano
c085684b0c Add pull push filter with bilinear filtering. 2008-12-29 11:28:29 +00:00
castano
13f86b74f1 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
01b67619b5 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
0180737695 Check version properly. 2008-12-16 20:25:12 +00:00
castano
989883a20c Include cuda runtime properly. 2008-12-09 11:26:08 +00:00
castano
2dfc0ff6ca Do not use kahansum, that was stupid.
Include cuda runtime properly.
2008-12-09 11:25:46 +00:00
castano
1fc2da4b82 Use KahanSum to compute RMSE.
Fix typos.
2008-12-07 23:15:06 +00:00
castano
9e05c7aaa7 Preserve cluster location for empty partitions. 2008-11-24 10:35:42 +00:00
castano
1aa2fc9440 Cleanup 4 means compressor. 2008-11-24 10:35:07 +00:00
castano
19299ef7f0 Add support for alpha modes in the CPU compressors. Fixes issue 30. 2008-11-24 10:34:16 +00:00
castano
09708ce496 Add FileSystem to build. 2008-11-23 22:25:47 +00:00
castano
4e6485a2e5 Add squish external compressor.
Rename our squish version to nvsquish.
2008-11-23 08:59:56 +00:00
castano
2004c0fe36 Remove executable flag. 2008-11-22 22:12:05 +00:00
castano
7de636d58c Merge optimizations from squish. 2008-11-22 22:10:51 +00:00
castano
8721c0d16e Fix tabs. 2008-11-22 22:10:11 +00:00
castano
d7021b941b Create output directory. 2008-11-22 22:08:31 +00:00
castano
67b9def0e8 Add file system helper. 2008-11-22 22:07:07 +00:00
castano
4a1cbadfa6 Use metric to measure distance to clusters. 2008-11-22 21:32:27 +00:00
castano
d3d0a13c73 Merge optimizations from official squish release. 2008-11-22 11:36:06 +00:00
castano
803d7852bb Merge optimizations from official squish relese. 2008-11-22 11:35:13 +00:00
castano
e5dbcf645c Try using 4 means clustering. 2008-11-22 11:34:29 +00:00
castano
725a1576cc Add support for regressions. 2008-11-22 11:33:31 +00:00
castano
f4c8a14109 Fix 4 means clustering. 2008-11-22 11:32:51 +00:00
castano
ad036808b3 Add fitting implementation to project. 2008-11-22 11:30:46 +00:00
castano
aa724d4f78 Add stream to the vc8 project. 2008-11-22 11:28:18 +00:00
castano
1dc2f8cbdf Update changelog. 2008-11-22 08:37:56 +00:00
castano
d2ec0643c3 Try 4-means. 2008-11-22 08:37:14 +00:00
castano
daa843298d Rename stress to testsuite. Install target. 2008-11-22 08:36:55 +00:00
castano
f8332036b0 Remove squish build and project files. 2008-11-22 08:36:17 +00:00
castano
469accc203 Fix errors. 2008-11-22 08:35:04 +00:00
castano
3cbf8b6ced Add fitting code to build. 2008-11-22 08:30:55 +00:00
castano
99ea48e9e3 Add PCA, and 4-means implementation. 2008-11-22 08:30:20 +00:00
castano
dac1ef329c Do not mix tabs and spaces. 2008-11-22 00:14:05 +00:00
castano
06a360a96d Do not print stupid messages. 2008-11-22 00:13:14 +00:00
castano
415776db9f Add command line options.
Reformat output for easier parsing.
2008-11-21 09:09:57 +00:00
castano
b26e015673 Fix segfault on linux. Merged from 2.0 branch. 2008-11-21 09:08:00 +00:00
castano
02e4320d23 Fix bug in dxt decompression.
Output files as TGA.
2008-11-21 08:06:25 +00:00
castano
9b9a2fd737 Output compressed files. 2008-11-21 07:58:49 +00:00
castano
bbd1f3e3a8 Add const keyword to const arguments. 2008-11-21 07:57:28 +00:00
castano
40bf6cdc2a Fix bug in testsuite. 2008-11-21 07:45:09 +00:00
castano
7f0eb849f0 Modify stress test to compress a list of real images. 2008-11-21 07:38:12 +00:00
castano
bbaf9d1803 Add custom error code and message for the case when container format does not support a certain output format. 2008-11-19 08:10:54 +00:00
castano
df9d9fb049 Remove gcc-4.3 warning. 2008-11-14 02:19:39 +00:00
castano
9f3baa51cf Fix bug detected by gcc-4.3. 2008-11-14 02:19:07 +00:00
castano
f852d7c89e Fix gcc-4.3 warnings. 2008-11-14 02:18:35 +00:00
castano
612ac4c067 Fix gcc-4.3 warning. 2008-11-14 02:16:36 +00:00
castano
e1ec0b33b7 Remove unused function. 2008-11-14 02:15:35 +00:00
castano
72ee072073 Fix CUDA detection code on linux. 2008-11-14 01:15:36 +00:00
castano
deb9baad67 Do not use cuda API when CUDA not found.
Fix end of lines.
2008-11-10 21:54:03 +00:00
castano
aa1245b3b2 Select fastest device. 2008-10-30 04:50:41 +00:00
castano
f33e21bb0a Fix comment. 2008-10-27 08:00:46 +00:00
castano
34c4b959ad Fix cmake file. 2008-10-26 05:56:32 +00:00
castano
988c033d10 Fix build under VC7 2008-10-22 03:48:06 +00:00
castano
c5783c9cf7 Update vc8 projects. 2008-10-17 18:40:16 +00:00
castano
a073d741df Update vc9 projects. 2008-10-17 18:38:55 +00:00
castano
7e2a153b94 Win32 fixes. 2008-10-17 18:37:17 +00:00
castano
3f62d4fe4c Build nvtt as a shared library. 2008-10-16 22:22:45 +00:00
castano
75e75e8f9d Prevent missmatches between incompatible versions of the CUDA runtime and the CUDA driver. 2008-10-16 22:21:21 +00:00