castano
2c969b70a5
Fix mirror sampling in trunk. Fixes issue 135.
2010-09-07 18:08:53 +00:00
castano
e8dc679874
Merge recent changes from the witness.
2010-08-31 01:39:08 +00:00
castano
47e8f23e9f
Merge fix for issue 134 into trunk.
2010-08-26 16:46:03 +00:00
castano
9e881f28d1
Merge changes from the-witness.
...
Fix DXT5n compressor.
2010-07-22 10:25:14 +00:00
castano
ac7c017c35
DXT1a single color compressor. Fixes issue 131.
...
Init single color tables at startup.
2010-07-22 09:23:17 +00:00
castano
da548fd03a
Use noinline.
2010-07-13 23:28:31 +00:00
castano
9094756997
Merge changes from the witness.
2010-07-13 03:08:45 +00:00
castano
50d80e3b81
Add simple dds file viewer.
2010-07-01 00:26:37 +00:00
castano
e5736fcf92
Add explicit load methods to DirectDrawSurface.
2010-07-01 00:25:44 +00:00
castano
1e0dea0738
Fix build. Minor cleanups.
2010-06-24 07:45:39 +00:00
castano
cfdc731634
Write BC6/BC7 headers in TexImage path.
2010-06-24 07:32:17 +00:00
castano
528b93ab14
Replace tabs with spaces.
2010-06-24 07:17:36 +00:00
castano
39c291e2a6
Fix build.
2010-06-24 07:10:34 +00:00
castano
5c60989043
BC6/7 progress. Work in progress.
2010-06-21 22:23:28 +00:00
castano
f2c581dec1
Remove unused methods. Add float color block.
2010-06-21 22:23:01 +00:00
castano
f9753b649a
Fix mingw warning.
2010-06-10 02:30:38 +00:00
castano
11411bae2b
Do not compile ui.
2010-06-10 02:30:25 +00:00
castano
42a641f0a5
Fix errors when cuda is not enabled.
2010-06-10 02:30:01 +00:00
castano
b19cd63558
Fix mingw error.
2010-06-10 02:29:04 +00:00
castano
5bb6a54f61
Fix mingw errors/warnings.
2010-06-10 02:28:49 +00:00
castano
82da6ea0a0
Do not enable CUDA under mingw.
2010-06-10 02:27:51 +00:00
castano
322dcd72c1
Some bug fixes and more progress toward BC6-7 support.
2010-06-03 07:58:03 +00:00
castano
68cbe543b0
Add missing files for previous change.
...
Some cleanup.
2010-06-03 07:07:37 +00:00
castano
f08e2c4f64
Add alpha map processor.
2010-06-03 05:49:04 +00:00
castano
e5ffd618f7
Replace tabs with spaces.
2010-06-03 00:32:49 +00:00
castano
f233188963
Fix format.
2010-06-01 19:25:49 +00:00
castano
c3bc24b165
Merge changes from 2.0.
2010-06-01 19:23:37 +00:00
castano
caff2c9006
Fix assert when reading paletted TGA images. Fixes issue 125.
2010-06-01 17:51:57 +00:00
castano
da503d2b3e
Imperative api is sort of working now. Fixed various bugs.
2010-06-01 02:04:33 +00:00
castano
4b08c20b0e
More cleanup.
2010-05-31 08:13:23 +00:00
castano
c8bf853ba4
More cleanup.
2010-05-31 07:41:01 +00:00
castano
9ae9ec1975
Fix power method initial estimate as in squish.
2010-05-31 07:40:08 +00:00
castano
8e074b2e28
Remove executable properties. Add cmake file.
2010-05-30 05:43:14 +00:00
castano
757e372726
Integrate bc6 compressor into nvtt.
2010-05-30 05:40:29 +00:00
castano
cf2b20dd43
Fix build error on OSX.
2010-05-29 05:33:28 +00:00
castano
fd6b8449bf
Add bc6 and bc7 compressors from nvidia.
2010-05-29 02:47:57 +00:00
castano
035231a928
Minor changes.
2010-05-28 23:16:06 +00:00
castano
1454cbac14
Fix build.
2010-05-28 07:45:11 +00:00
castano
c09067e477
Merge private branch.
2010-05-27 23:19:24 +00:00
castano
51a4fe7e2d
Merge private branch.
2010-05-27 23:18:39 +00:00
castano
e7f2d1e2bc
Merge private branch.
2010-05-27 23:18:08 +00:00
castano
56401d5f7d
fix polyphase filter
2010-05-27 19:28:49 +00:00
castano
8cbd2c9ec6
Add mipmap scaling according to alphatest coverage.
2010-05-27 00:37:15 +00:00
castano
77bfabca3b
Remove experimental callback mechanism.
2010-05-20 05:25:50 +00:00
castano
27f84c5caa
Start work on a simple dds viewer.
2010-05-20 05:25:15 +00:00
castano
a32d780347
Experiment with output callbacks instead of handlers.
2010-05-18 17:13:30 +00:00
castano
d38b89edc7
fix comment.
2010-05-18 17:12:36 +00:00
castano
0322f1b54a
Add comment.
2010-05-18 17:12:01 +00:00
castano
f6a39d6eab
Remove duplicate code.
2010-05-14 04:58:08 +00:00
castano
639f11d0b9
Use the same defaults as nvtt 2.0
2010-05-11 17:18:08 +00:00
castano
85db14f213
Add vertical flip.
2010-05-05 00:24:31 +00:00
castano
ac5f849e91
Better estimation of principle component. Fixes issue 120.
2010-04-19 18:41:42 +00:00
castano
4783d5621e
Add missing files to cmake build as reported by amorilia.
2010-03-21 18:38:26 +00:00
castano
447634d263
Fix cmake build in msvc. Fixes issue 111.
2010-03-18 00:13:31 +00:00
castano
f436a71479
Add support for RGBE.
2010-03-17 07:55:03 +00:00
castano
e848645e88
Add a few utils. Start converting tabs to spaces.
2010-03-17 07:54:07 +00:00
castano
78b55e1e37
Finish pixel format converter.
2010-03-17 02:25:06 +00:00
castano
3b0e0c3402
Fix errors after merge. Update cmake files.
2010-03-16 22:46:09 +00:00
castano
a19e25228f
reorg.
2010-03-16 22:37:25 +00:00
castano
d8ed531e4c
minor optimization.
2010-03-16 22:36:14 +00:00
castano
73851ab86f
misc
2010-03-16 22:35:38 +00:00
castano
0cabfb6cfa
misc.
2010-03-16 22:35:20 +00:00
castano
1fafffd8af
Detect OpenMP properly.
2010-03-16 22:31:27 +00:00
castano
96f22f8cd4
Fix isColorNoAlpha, but leave it commented out.
2010-03-10 08:49:40 +00:00
castano
558f7970b1
Fix issue 112.
2010-03-02 01:29:48 +00:00
castano
0e5a1877a8
Some progress on the CUDA compressors.
2009-11-05 09:27:03 +00:00
castano
dfe081d32a
Update messages.
2009-11-03 23:27:24 +00:00
castano
acc02abaf1
Fix messages.
2009-11-03 23:17:11 +00:00
castano
bcf0df2b49
use default pixel format, add comment to indicate where to change default
2009-10-30 01:05:31 +00:00
castano
8c7f54056c
Add more todo items.
...
Delete images more efficiently?
2009-10-21 19:20:30 +00:00
castano
34cd266d8c
Add todo item to perform color transforms before compression.
2009-10-21 19:19:09 +00:00
castano
8820c43175
Large refactoring of compressor codes:
...
- Define compressor interface.
- Implement compressor interface for different compressors.
- Add parallel compressor using OpenMP. Experimental.
- Add generic GPU compressor, so far only DXT1 enabled.
2009-10-21 07:48:27 +00:00
castano
18a3abf794
Enable alpha dithering when using DXT3.
...
Update timing message.
2009-10-21 07:43:24 +00:00
castano
384f74ba39
Use minimal set by default.
2009-10-21 07:42:33 +00:00
castano
7d75840398
Add todo messages.
...
Use DXT3 nvidia decoder if requested.
2009-10-21 07:42:08 +00:00
castano
8ea52efbf4
Add DXT3 nvidia decoder.
2009-10-21 07:40:49 +00:00
castano
d86a89742e
Update info message.
2009-10-21 07:40:23 +00:00
castano
fd11f5e7ef
Implement generic swizzle, remove specialized ones.
2009-10-21 07:39:59 +00:00
castano
dcfdabaee3
Fix timer.
2009-10-21 07:39:08 +00:00
castano
ea7dabc6b1
Add comment.
2009-10-19 05:42:27 +00:00
castano
0878c0e967
Add expand and pack normal methods.
...
Set normal map flag.
2009-10-18 20:04:39 +00:00
castano
a088ae5789
Implement normal map generation for floating point images.
2009-10-18 20:03:21 +00:00
castano
a52d3b7cdc
Tweak implementation of scaleBias.
2009-10-18 20:02:43 +00:00
castano
c1f9c4df42
Create default output handle on setFileName to avoid modifying const argument.
...
Fix ref counting errors in TexImage.
Format TODO messages.
2009-10-18 08:09:20 +00:00
castano
78d65e8368
When compiling with gcc, define NV_FILE_LINE using gcc convention.
2009-10-18 08:04:25 +00:00
castano
18474cdb33
Some more progress towards 2.1:
...
- Add raw input methods in context.
- Implement some of the TexImage input methods in context.
- Add output header context method for TexImage.
2009-10-12 07:56:02 +00:00
castano
b7fbd1fc9b
Fix error in Snow Leopard.
2009-10-12 00:44:03 +00:00
castano
9de3298d6b
Fix cmake build.
2009-10-11 23:51:22 +00:00
castano
568f34d838
Fix color weighted compression for single color blocks. Fixes issue 96.
2009-09-21 18:46:48 +00:00
castano
e38e584db2
Rename texture to teximage.
2009-09-14 22:43:53 +00:00
castano
8655259379
Fix comment.
2009-08-26 01:27:50 +00:00
castano
cb62c3c461
Add support for R16 in DDS headers.
...
Cleanup DDS header output code.
Temporary testing code added to nvcompress.
2009-07-28 08:05:23 +00:00
castano
573cc1b371
Add support for UINT16 images when using freetype.
2009-07-28 08:03:36 +00:00
castano
9c6f6e143e
Use tabs not spaces.
2009-07-28 08:03:08 +00:00
castano
126816ef72
Experimental quality improvements and speed optimizations.
2009-07-06 09:08:09 +00:00
castano
2ca6e4a1bd
Add support function for stb compressor.
2009-07-06 09:06:40 +00:00
castano
b839b873e1
Remove commented out code.
2009-07-06 09:06:17 +00:00
castano
ab473f4ec5
Add DXT5 tests.
...
Use timer class.
2009-07-06 09:05:54 +00:00
castano
f1ebbd4da6
Add more third-party compressors.
2009-07-06 09:04:29 +00:00
castano
ac79935c88
Init default values.
2009-07-06 09:03:12 +00:00
castano
2aca4673ab
Some progress implementing new api.
2009-07-06 09:02:20 +00:00
castano
43893d5d0f
Add NV5x DXT5 decompressor.
2009-07-06 09:00:30 +00:00
castano
009eaf2aa6
Fix msvc warnings.
2009-07-06 08:59:48 +00:00
castano
fd2492670e
Add a QPF timer.
2009-07-06 08:57:36 +00:00
castano
7d88f4fa32
Merge changes from 2.0 branch.
2009-07-06 08:56:55 +00:00
castano
60022acaa7
Add dxt5 tests to testsuite.
2009-07-04 19:34:42 +00:00
castano
a5faf51738
Add simd power solver.
2009-07-04 19:33:55 +00:00
castano
2d38f4fb2c
Update cmake scripts to use new FindCUDA package.
2009-06-26 06:34:19 +00:00
castano
63897f3fe6
Mark threads as required.
2009-06-13 14:27:53 +00:00
castano
71f29a27f3
Fix error in zero padding.
2009-06-13 14:18:31 +00:00
castano
720be412fa
Return correct error codes. Fix issue 92.
2009-06-13 14:17:46 +00:00
castano
8d361eee22
Use memory allocator correctly.
2009-06-13 14:17:10 +00:00
castano
782a127071
Add alpha flag to DXT1a files.
2009-04-16 20:06:08 +00:00
castano
bed4d78f6b
Remove static member that was not thread safe!
2009-04-12 03:13:13 +00:00
castano
d7f8fba7a7
Add comment about thread safety.
2009-04-12 03:10:40 +00:00
castano
53265596a3
Update nvtt wrapper.
2009-04-03 21:37:50 +00:00
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
castano
a7396b70ba
Fix segfault on linux. Merged from 2.0 branch.
2008-11-21 09:08:00 +00:00
castano
d9ca49cc5e
Fix bug in dxt decompression.
...
Output files as TGA.
2008-11-21 08:06:25 +00:00
castano
56849b78ad
Output compressed files.
2008-11-21 07:58:49 +00:00
castano
a769831fb5
Add const keyword to const arguments.
2008-11-21 07:57:28 +00:00
castano
7486201a7e
Fix bug in testsuite.
2008-11-21 07:45:09 +00:00
castano
1813624992
Modify stress test to compress a list of real images.
2008-11-21 07:38:12 +00:00
castano
5fa27adfcd
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
6d1891a7e9
Remove gcc-4.3 warning.
2008-11-14 02:19:39 +00:00
castano
8fb1d70d0b
Fix bug detected by gcc-4.3.
2008-11-14 02:19:07 +00:00
castano
c26c52d59c
Fix gcc-4.3 warnings.
2008-11-14 02:18:35 +00:00
castano
c3329d4675
Fix gcc-4.3 warning.
2008-11-14 02:16:36 +00:00
castano
1cefc366f8
Remove unused function.
2008-11-14 02:15:35 +00:00
castano
7df0885c4f
Fix CUDA detection code on linux.
2008-11-14 01:15:36 +00:00
castano
1c5da0e341
Do not use cuda API when CUDA not found.
...
Fix end of lines.
2008-11-10 21:54:03 +00:00
castano
36ba75b598
Select fastest device.
2008-10-30 04:50:41 +00:00
castano
1628831878
Fix comment.
2008-10-27 08:00:46 +00:00
castano
12e774ea74
Fix cmake file.
2008-10-26 05:56:32 +00:00
castano
66b18f2dbd
Fix build under VC7
2008-10-22 03:48:06 +00:00
castano
7776bd5c17
Win32 fixes.
2008-10-17 18:37:17 +00:00
castano
6d8a75462a
Build nvtt as a shared library.
2008-10-16 22:22:45 +00:00
castano
cf18077eda
Prevent missmatches between incompatible versions of the CUDA runtime and the CUDA driver.
2008-10-16 22:21:21 +00:00
castano
aa37e7a868
Add library loading helpers.
2008-10-16 22:20:31 +00:00
castano
d01a5c1661
Workaround bug in CUDA runtime. When using CUDA 2.0, it's required to use a driver that supports CUDA 2.0.
2008-10-16 08:39:58 +00:00
castano
5234060618
Integrate branch 2.0 to trunk.
2008-10-15 07:16:57 +00:00
castano
f402f28643
Use unsigned ints for stream sizes and positions.
2008-10-15 07:15:50 +00:00
castano
f047043eb2
Fix compiler errors under gcc-4.3
2008-10-15 07:15:00 +00:00
castano
7eac4195c4
Fix compiler errors under gcc-4.3
2008-10-15 07:14:25 +00:00
castano
b2d6122769
Fix linux build.
2008-10-05 19:20:42 +00:00
castano
cd59058fc2
Fix linux includes.
2008-10-05 19:17:59 +00:00
castano
db14e048e1
Fix errors in Green and Alpha optimal compressors.
2008-10-02 07:33:05 +00:00
castano
68be24bf00
Set correct DXT5n swizzle code.
...
Select swizzle codes in nvtt instead of nvimage.
2008-10-01 22:28:57 +00:00
castano
b284669993
Try some optimizations.
2008-10-01 22:28:01 +00:00
castano
2f6e885ced
Add DXT1 compressor that uses texture to avoid CPU swizzling.
...
Fix errors under emulation.
Experiment with DXT5 compressor.
2008-10-01 22:24:53 +00:00
castano
13e2d2e447
Fix float support.
2008-08-20 22:32:54 +00:00
castano
0b13b6d0d9
Update version number.
2008-08-20 22:31:14 +00:00
castano
16adf94635
Add support for floating point output formats.
...
Images are currently output in linear space, some color transforms not applied.
2008-07-31 09:55:22 +00:00
castano
e9002a7d86
Adding support for floating point input/output. Work in progress.
2008-07-31 02:04:44 +00:00
castano
3161fca9d9
Decompress DDS10 files. Only BC# supported so far.
2008-07-30 02:28:09 +00:00
castano
bb5b02df0e
Adding support for floating point images as input.
2008-07-29 08:56:40 +00:00
castano
1941e27148
Fix DDS10 header initialization.
...
Fix depth initialization.
2008-07-29 08:43:42 +00:00
castano
02c3abb394
Fix color transforms.
2008-07-29 06:05:11 +00:00
castano
86ef67bbfa
Fix error in input image transformation.
2008-07-29 05:45:35 +00:00
castano
79529f994f
Fix compilation error.
2008-07-29 05:44:31 +00:00
castano
c2508d9eeb
Add option to use dds10 headers.
2008-07-29 02:31:57 +00:00
castano
b1cd916105
Change parameters in declaration to match definition.
2008-07-29 02:31:09 +00:00
castano
96655b3e7c
Work in progress:
...
- better support for DDS10 file format.
- support for RGBA pixel formats with more than 32 bits.
- support for pixel types other than UNORM.
2008-07-26 10:03:12 +00:00
castano
529c0075e1
do not compile mpeg tests.
2008-07-26 09:01:00 +00:00
castano
c70e5d6121
Reorg header files.
2008-07-05 09:10:45 +00:00
castano
7394644719
Move ui to separate folder.
2008-07-05 09:10:00 +00:00
castano
b2e7d717c2
Fix compilation error under gcc/linux.
2008-07-05 08:57:03 +00:00
castano
756f12c994
Fix errors in color transforms.
...
Add support for color offsets.
Add support for special swizzles that select default const values.
2008-06-30 10:59:57 +00:00
castano
206bfcf0f3
reorg included files
2008-06-28 08:40:32 +00:00
castano
c08acc8a71
Add single color compressor to optimal green compressor.
...
Improve quality of DXT1 green compressor increasing search range.
2008-06-28 02:50:09 +00:00
castano
45f7244f20
Check in proposed fix for issue 44.
2008-06-27 18:52:49 +00:00
castano
f412ec8efb
Fix assertion.
2008-06-26 07:23:31 +00:00
castano
a1a34f546f
Do not compile nvmpegenc.
2008-06-26 07:23:09 +00:00
castano
7ef88c6f7e
Fix build on OSX 10.5. Solves issue 44.
2008-06-26 07:22:34 +00:00
castano
3368f9039b
Fix embarrasing typo.
2008-06-24 21:47:47 +00:00
castano
870a3fe438
Add references.
2008-06-23 19:24:59 +00:00
castano
82bed4ac9a
Eliminate warning.
2008-06-19 10:01:56 +00:00
castano
b8a9395117
Fix end of lines.
2008-06-19 09:53:09 +00:00
castano
6befe3505c
Enable Qt ui with win32/msvc.
2008-06-19 00:35:47 +00:00
castano
ff6f7f0506
Add quick and dirty single frame mpeg encoder based on ffmpeg.
2008-06-13 08:12:58 +00:00
castano
55e7d3dec4
Delete outdated comment.
2008-06-03 06:34:18 +00:00
castano
b5e373b734
Compile NVTT under G5/leopard
2008-05-23 22:22:09 +00:00
castano
58e5f6534f
Print version number in copyright statement.
2008-05-22 21:48:40 +00:00
castano
eda4786ca6
Update version number.
2008-05-22 21:48:19 +00:00
castano
29a720bf82
Do not print text.
2008-05-22 21:32:09 +00:00
castano
1120f83f7d
Fix errors.
2008-05-22 21:31:44 +00:00
castano
c38c3dc584
Fix win32 buid errors and warnings due to FreeImage.
2008-05-22 21:31:15 +00:00
castano
e068964423
Fix EXR loading code. Issue 45. Fix provided by alastairpatrick.
2008-05-21 19:17:27 +00:00
castano
ea340443d9
Add -mipfilter command line option, per request of Noel Llopis.
2008-05-19 20:10:05 +00:00
castano
fb2b0cb38c
Fix bug reported by Noel Llopis.
...
Make sure FreeImage declarations are not used when FreeImage is not available.
2008-05-19 18:23:42 +00:00
castano
c01566cd2f
Add support for FreeImage in nvimage.
...
Add support for floating point input images in nvtt.
2008-05-15 09:47:55 +00:00
castano
70267fda15
Add support for input floating point images. Patch provided by Jim Tilander. See issue 27.
2008-05-15 06:18:24 +00:00
castano
aebcea412c
Search for freeimage.
2008-05-15 06:17:46 +00:00
castano
bccdcd49da
Use standard gram schmidt
2008-05-15 06:04:17 +00:00
castano
0f186e688f
Remove 'virtual' from non virtual methods.
2008-05-08 21:15:05 +00:00
castano
38e9652d64
Remove executable flag.
2008-05-08 18:20:55 +00:00
castano
f08114c1b5
Whops, check fix for vc9.
2008-05-08 18:18:53 +00:00
castano
70331a37fd
Refactor compression functions, group them into class methods.
2008-05-06 23:55:19 +00:00
castano
2ffc4cd7ad
Ups, checked in the file before saving it.
2008-05-06 23:34:46 +00:00
castano
4ba8e87a38
Ups, checked in file before saving it.
2008-05-06 23:34:13 +00:00
castano
48f61dbfc0
Add support for linear and swizzle transforms. Fixes issue 4.
2008-05-06 23:21:39 +00:00