castano
f233188963
Fix format.
14 years ago
castano
c3bc24b165
Merge changes from 2.0.
14 years ago
castano
caff2c9006
Fix assert when reading paletted TGA images. Fixes issue 125.
14 years ago
castano
da503d2b3e
Imperative api is sort of working now. Fixed various bugs.
14 years ago
castano
4b08c20b0e
More cleanup.
14 years ago
castano
c8bf853ba4
More cleanup.
14 years ago
castano
9ae9ec1975
Fix power method initial estimate as in squish.
14 years ago
castano
8e074b2e28
Remove executable properties. Add cmake file.
14 years ago
castano
757e372726
Integrate bc6 compressor into nvtt.
14 years ago
castano
cf2b20dd43
Fix build error on OSX.
14 years ago
castano
fd6b8449bf
Add bc6 and bc7 compressors from nvidia.
14 years ago
castano
035231a928
Minor changes.
14 years ago
castano
1454cbac14
Fix build.
14 years ago
castano
c09067e477
Merge private branch.
14 years ago
castano
51a4fe7e2d
Merge private branch.
14 years ago
castano
e7f2d1e2bc
Merge private branch.
14 years ago
castano
56401d5f7d
fix polyphase filter
14 years ago
castano
8cbd2c9ec6
Add mipmap scaling according to alphatest coverage.
14 years ago
castano
77bfabca3b
Remove experimental callback mechanism.
14 years ago
castano
27f84c5caa
Start work on a simple dds viewer.
14 years ago
castano
a32d780347
Experiment with output callbacks instead of handlers.
14 years ago
castano
d38b89edc7
fix comment.
14 years ago
castano
0322f1b54a
Add comment.
14 years ago
castano
f6a39d6eab
Remove duplicate code.
14 years ago
castano
639f11d0b9
Use the same defaults as nvtt 2.0
14 years ago
castano
85db14f213
Add vertical flip.
14 years ago
castano
ac5f849e91
Better estimation of principle component. Fixes issue 120.
14 years ago
castano
4783d5621e
Add missing files to cmake build as reported by amorilia.
14 years ago
castano
447634d263
Fix cmake build in msvc. Fixes issue 111.
14 years ago
castano
f436a71479
Add support for RGBE.
14 years ago
castano
e848645e88
Add a few utils. Start converting tabs to spaces.
14 years ago
castano
78b55e1e37
Finish pixel format converter.
14 years ago
castano
3b0e0c3402
Fix errors after merge. Update cmake files.
14 years ago
castano
a19e25228f
reorg.
14 years ago
castano
d8ed531e4c
minor optimization.
14 years ago
castano
73851ab86f
misc
14 years ago
castano
0cabfb6cfa
misc.
14 years ago
castano
1fafffd8af
Detect OpenMP properly.
14 years ago
castano
96f22f8cd4
Fix isColorNoAlpha, but leave it commented out.
14 years ago
castano
558f7970b1
Fix issue 112.
14 years ago
castano
0e5a1877a8
Some progress on the CUDA compressors.
15 years ago
castano
dfe081d32a
Update messages.
15 years ago
castano
acc02abaf1
Fix messages.
15 years ago
castano
bcf0df2b49
use default pixel format, add comment to indicate where to change default
15 years ago
castano
8c7f54056c
Add more todo items.
...
Delete images more efficiently?
15 years ago
castano
34cd266d8c
Add todo item to perform color transforms before compression.
15 years ago
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.
15 years ago
castano
18a3abf794
Enable alpha dithering when using DXT3.
...
Update timing message.
15 years ago
castano
384f74ba39
Use minimal set by default.
15 years ago
castano
7d75840398
Add todo messages.
...
Use DXT3 nvidia decoder if requested.
15 years ago
castano
8ea52efbf4
Add DXT3 nvidia decoder.
15 years ago
castano
d86a89742e
Update info message.
15 years ago
castano
fd11f5e7ef
Implement generic swizzle, remove specialized ones.
15 years ago
castano
dcfdabaee3
Fix timer.
15 years ago
castano
ea7dabc6b1
Add comment.
15 years ago
castano
0878c0e967
Add expand and pack normal methods.
...
Set normal map flag.
15 years ago
castano
a088ae5789
Implement normal map generation for floating point images.
15 years ago
castano
a52d3b7cdc
Tweak implementation of scaleBias.
15 years ago
castano
c1f9c4df42
Create default output handle on setFileName to avoid modifying const argument.
...
Fix ref counting errors in TexImage.
Format TODO messages.
15 years ago
castano
78d65e8368
When compiling with gcc, define NV_FILE_LINE using gcc convention.
15 years ago
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.
15 years ago
castano
b7fbd1fc9b
Fix error in Snow Leopard.
15 years ago
castano
9de3298d6b
Fix cmake build.
15 years ago
castano
568f34d838
Fix color weighted compression for single color blocks. Fixes issue 96.
15 years ago
castano
e38e584db2
Rename texture to teximage.
15 years ago
castano
8655259379
Fix comment.
15 years ago
castano
cb62c3c461
Add support for R16 in DDS headers.
...
Cleanup DDS header output code.
Temporary testing code added to nvcompress.
15 years ago
castano
573cc1b371
Add support for UINT16 images when using freetype.
15 years ago
castano
9c6f6e143e
Use tabs not spaces.
15 years ago
castano
126816ef72
Experimental quality improvements and speed optimizations.
15 years ago
castano
2ca6e4a1bd
Add support function for stb compressor.
15 years ago
castano
b839b873e1
Remove commented out code.
15 years ago
castano
ab473f4ec5
Add DXT5 tests.
...
Use timer class.
15 years ago
castano
f1ebbd4da6
Add more third-party compressors.
15 years ago
castano
ac79935c88
Init default values.
15 years ago
castano
2aca4673ab
Some progress implementing new api.
15 years ago
castano
43893d5d0f
Add NV5x DXT5 decompressor.
15 years ago
castano
009eaf2aa6
Fix msvc warnings.
15 years ago
castano
fd2492670e
Add a QPF timer.
15 years ago
castano
7d88f4fa32
Merge changes from 2.0 branch.
15 years ago
castano
60022acaa7
Add dxt5 tests to testsuite.
15 years ago
castano
a5faf51738
Add simd power solver.
15 years ago
castano
2d38f4fb2c
Update cmake scripts to use new FindCUDA package.
15 years ago
castano
63897f3fe6
Mark threads as required.
15 years ago
castano
71f29a27f3
Fix error in zero padding.
15 years ago
castano
720be412fa
Return correct error codes. Fix issue 92.
15 years ago
castano
8d361eee22
Use memory allocator correctly.
15 years ago
castano
782a127071
Add alpha flag to DXT1a files.
15 years ago
castano
bed4d78f6b
Remove static member that was not thread safe!
15 years ago
castano
d7f8fba7a7
Add comment about thread safety.
15 years ago
castano
53265596a3
Update nvtt wrapper.
15 years ago
castano
ae24cb163d
Remove msvc warnings.
15 years ago
castano
ae744f88e6
Add constructor that takes a stream.
15 years ago
castano
5ac76b68c9
Add option to select decompression algorithm to test suite.
15 years ago
castano
f2090df7a5
Add support for FreeBSD. Patch by AMDmi3.
15 years ago
castano
0a8de141a6
Fix errors on win32. Define function pointers properly.
15 years ago
castano
9aaee3ae16
Add proper todo message.
15 years ago
castano
974cacda5f
Update single color compression tables.
15 years ago
castano
953a63d7b5
Add farbrausch images to testsuite.
15 years ago
castano
19477d60c0
Fix errors in the pixel format conversion code.
15 years ago
castano
8a48250bcb
Fix win32 errors and errors in the png saving code.
15 years ago
castano
35ff0e5aa6
Remove verbose error checking.
15 years ago
castano
8529dcf755
Fix memory leaks.
...
Shutdown CUDA properly when nvtt context is destroyed.
Fixes issue 83.
15 years ago
castano
56543e1a92
Merge changes from 2.0
15 years ago
castano
72543c9307
Add todo message.
15 years ago
castano
872c61e1d1
Add image saving code.
15 years ago
castano
7f3cee4db9
Remove commented out code.
15 years ago
castano
3f036a11a6
Avoid msvc8 warnings.
15 years ago
castano
be12367910
fix blend, add setborder and fill methods.
15 years ago
castano
c59a2e0a4b
Implement alpha premultiplication and color blending.
15 years ago
castano
0abec17ab4
Implement toGreyScale.
...
Skip undefined images.
15 years ago
castano
6b67f4a0d7
More progress with imperative api.
...
Rename Texture to TexImage.
Implement image initialization.
Add stubs for all methods.
15 years ago
castano
8e836591ee
Fix warning.
15 years ago
castano
50b8b67185
Hide file format especific savers. Add generic image saver.
...
Misc fixes under OSX.
15 years ago
castano
ab73c790e1
Testsuite cleanups and improvements.
...
Add ctest support.
Add FileSystem::changeDirectory method.
15 years ago
castano
d99cf11e2e
Update version checking code.
15 years ago
castano
d9832ed22c
Eliminate some warnings with MSVC.
15 years ago
castano
a02649faa9
Fallback to CPU compressor only on smaller images.
15 years ago
castano
a28ebb4ccf
Some more progress in the imperative API.
15 years ago
castano
0f5a5e5d24
Some more progress in the imperative API.
15 years ago
castano
8f0b129a52
Add RefCounted base class back to the reposotory.
15 years ago
castano
098bc2f905
Fix some endiannes errors.
15 years ago
castano
5943e8f42f
Fix errors on ibook G4.
15 years ago
castano
e48f56a15e
Includer project headers first.
15 years ago
castano
25e32c8ff2
Fix msvc warnings.
15 years ago
castano
db63ba7fa4
Fix build in win64.
15 years ago
castano
3df66be089
Do not use CUDA to compress small mipmaps.
15 years ago
castano
3a52923697
Add alpha command line option.
15 years ago
castano
9953883d26
Cleanup cmake files.
15 years ago
castano
03c9ec0f62
More cleanup. Remove files that are not strictly required.
15 years ago
castano
88fc5ca18e
Merge changes from private tree.
...
Eliminate files that are not needed for NVTT.
15 years ago
castano
6fb29816a2
Gnome thumbnailer. Fixes issue 82.
16 years ago
castano
9d5242594b
Add gnome thumbnailer by Frank Richter. Fixes issue 82.
16 years ago
castano
69c74d7a5e
Add support for comments.
16 years ago
castano
b7ea7a255b
Fix const-correctness.
16 years ago
castano
17790a34df
Add support for PNG in nvdecompress. Patch by Frank Richter. Fixes issue 80.
16 years ago
castano
7741a99b90
Add support for saving PNG files. Patch by Frank Richter. Fixes issue 79.
16 years ago
castano
36dd7fb76b
Merge changes from p4.
16 years ago
castano
8fa870bf0c
Fix typo. Fixes issue 82.
16 years ago
castano
1afdf2da8a
Fix alpha-weighted filtering.
16 years ago
castano
242aa4254e
Use alpha-aware resize when alpha is used for transparency and it's not premultiplied.
16 years ago
castano
4f576d5539
Add support for alpha weighting to float image.
16 years ago
castano
2411f3f5db
Fix generation of blended sobel filter. Fixes issue 77.
16 years ago
castano
1c6b65ad52
Do not use custom FindGLUT cmake script.
16 years ago
castano
f92a2191f2
Print message when cuda acceleration enabled.
16 years ago
castano
49409e9d92
Cleanup color rounding and expansion.
16 years ago
castano
f753cc9702
Implement FileSystem::exists correctly on win32.
16 years ago
castano
2ad15489bb
Try to optimize color rounding and expansion.
...
Detect CUDA 2.1 properly.
16 years ago
castano
fa53ddcecd
Add NV5x/G8x DXT decompression code.
...
Clean things up a bit, remove old code.
16 years ago
castano
94357626f7
Merge fixes from 2.0 branch.
16 years ago
castano
19342d8adf
Use timer class instead of clock.
...
Check that file exists before opening.
16 years ago
castano
2ed4fee447
Fix error sin string builder and path.
16 years ago
castano
f03d702d84
Implement exists with access instead of stat.
16 years ago
castano
10de10b9c2
Implement FileSystem::exists().
16 years ago
castano
508f9fbdc2
Start implementing experimental interface.
16 years ago
castano
e965b0e4a9
Include correct headers.
16 years ago
castano
1f4d313d0f
Merge changes from internal branch. Whitespace changes only.
16 years ago
castano
b8eb12afc1
Merge changes from internal branch.
...
- Better support for win64.
16 years ago
castano
1975883bed
Update after changes in nvcore.
16 years ago
castano
9bda107603
Add pull push filter with bilinear filtering.
16 years ago
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.
16 years ago
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).
16 years ago
castano
a03411e451
Check version properly.
16 years ago
castano
931580edc5
Include cuda runtime properly.
16 years ago
castano
fd2f5465f8
Do not use kahansum, that was stupid.
...
Include cuda runtime properly.
16 years ago
castano
127052f404
Use KahanSum to compute RMSE.
...
Fix typos.
16 years ago
castano
a30490ab9b
Preserve cluster location for empty partitions.
16 years ago
castano
1ec115c7ec
Cleanup 4 means compressor.
16 years ago
castano
a4f56b65b8
Add support for alpha modes in the CPU compressors. Fixes issue 30.
16 years ago
castano
bb69acec6c
Add FileSystem to build.
16 years ago
castano
4bbf5e96f4
Add squish external compressor.
...
Rename our squish version to nvsquish.
16 years ago
castano
4a85f8e48d
Remove executable flag.
16 years ago
castano
f34b7ce84f
Merge optimizations from squish.
16 years ago
castano
010905edd3
Fix tabs.
16 years ago
castano
7bb2d55d35
Create output directory.
16 years ago
castano
e3a7cc19dd
Add file system helper.
16 years ago
castano
379605d30a
Use metric to measure distance to clusters.
16 years ago
castano
c05c4e155b
Merge optimizations from official squish release.
16 years ago
castano
fd73484bfc
Merge optimizations from official squish relese.
16 years ago
castano
f29d7dd938
Try using 4 means clustering.
16 years ago
castano
3a5dc4783a
Add support for regressions.
16 years ago
castano
d4a713451e
Fix 4 means clustering.
16 years ago
castano
41f6e0ba73
Try 4-means.
16 years ago
castano
11073171a1
Rename stress to testsuite. Install target.
16 years ago
castano
0805832b44
Remove squish build and project files.
16 years ago
castano
a4dcd414ca
Fix errors.
16 years ago
castano
4ff8a83f90
Add fitting code to build.
16 years ago
castano
48da357385
Add PCA, and 4-means implementation.
16 years ago
castano
e1916d43c8
Do not mix tabs and spaces.
16 years ago
castano
321f320bfb
Do not print stupid messages.
16 years ago
castano
df32fedc7c
Add command line options.
...
Reformat output for easier parsing.
16 years ago
castano
a7396b70ba
Fix segfault on linux. Merged from 2.0 branch.
16 years ago
castano
d9ca49cc5e
Fix bug in dxt decompression.
...
Output files as TGA.
16 years ago
castano
56849b78ad
Output compressed files.
16 years ago
castano
a769831fb5
Add const keyword to const arguments.
16 years ago
castano
7486201a7e
Fix bug in testsuite.
16 years ago
castano
1813624992
Modify stress test to compress a list of real images.
16 years ago
castano
5fa27adfcd
Add custom error code and message for the case when container format does not support a certain output format.
16 years ago
castano
6d1891a7e9
Remove gcc-4.3 warning.
16 years ago
castano
8fb1d70d0b
Fix bug detected by gcc-4.3.
16 years ago
castano
c26c52d59c
Fix gcc-4.3 warnings.
16 years ago
castano
c3329d4675
Fix gcc-4.3 warning.
16 years ago
castano
1cefc366f8
Remove unused function.
16 years ago
castano
7df0885c4f
Fix CUDA detection code on linux.
16 years ago
castano
1c5da0e341
Do not use cuda API when CUDA not found.
...
Fix end of lines.
16 years ago
castano
36ba75b598
Select fastest device.
16 years ago
castano
1628831878
Fix comment.
16 years ago
castano
12e774ea74
Fix cmake file.
16 years ago
castano
66b18f2dbd
Fix build under VC7
16 years ago
castano
7776bd5c17
Win32 fixes.
16 years ago
castano
6d8a75462a
Build nvtt as a shared library.
16 years ago
castano
cf18077eda
Prevent missmatches between incompatible versions of the CUDA runtime and the CUDA driver.
16 years ago
castano
aa37e7a868
Add library loading helpers.
16 years ago
castano
d01a5c1661
Workaround bug in CUDA runtime. When using CUDA 2.0, it's required to use a driver that supports CUDA 2.0.
16 years ago
castano
5234060618
Integrate branch 2.0 to trunk.
16 years ago
castano
f402f28643
Use unsigned ints for stream sizes and positions.
16 years ago
castano
f047043eb2
Fix compiler errors under gcc-4.3
16 years ago
castano
7eac4195c4
Fix compiler errors under gcc-4.3
16 years ago
castano
b2d6122769
Fix linux build.
16 years ago
castano
cd59058fc2
Fix linux includes.
16 years ago
castano
db14e048e1
Fix errors in Green and Alpha optimal compressors.
16 years ago
castano
68be24bf00
Set correct DXT5n swizzle code.
...
Select swizzle codes in nvtt instead of nvimage.
16 years ago
castano
b284669993
Try some optimizations.
16 years ago
castano
2f6e885ced
Add DXT1 compressor that uses texture to avoid CPU swizzling.
...
Fix errors under emulation.
Experiment with DXT5 compressor.
16 years ago
castano
13e2d2e447
Fix float support.
16 years ago
castano
0b13b6d0d9
Update version number.
16 years ago
castano
16adf94635
Add support for floating point output formats.
...
Images are currently output in linear space, some color transforms not applied.
16 years ago
castano
e9002a7d86
Adding support for floating point input/output. Work in progress.
16 years ago
castano
3161fca9d9
Decompress DDS10 files. Only BC# supported so far.
16 years ago
castano
bb5b02df0e
Adding support for floating point images as input.
16 years ago
castano
1941e27148
Fix DDS10 header initialization.
...
Fix depth initialization.
16 years ago
castano
02c3abb394
Fix color transforms.
16 years ago
castano
86ef67bbfa
Fix error in input image transformation.
16 years ago
castano
79529f994f
Fix compilation error.
16 years ago
castano
c2508d9eeb
Add option to use dds10 headers.
16 years ago
castano
b1cd916105
Change parameters in declaration to match definition.
16 years ago
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.
16 years ago
castano
529c0075e1
do not compile mpeg tests.
16 years ago
castano
c70e5d6121
Reorg header files.
16 years ago
castano
7394644719
Move ui to separate folder.
16 years ago
castano
b2e7d717c2
Fix compilation error under gcc/linux.
16 years ago
castano
756f12c994
Fix errors in color transforms.
...
Add support for color offsets.
Add support for special swizzles that select default const values.
16 years ago
castano
206bfcf0f3
reorg included files
16 years ago
castano
c08acc8a71
Add single color compressor to optimal green compressor.
...
Improve quality of DXT1 green compressor increasing search range.
16 years ago
castano
45f7244f20
Check in proposed fix for issue 44.
16 years ago
castano
f412ec8efb
Fix assertion.
16 years ago
castano
a1a34f546f
Do not compile nvmpegenc.
16 years ago
castano
7ef88c6f7e
Fix build on OSX 10.5. Solves issue 44.
16 years ago
castano
3368f9039b
Fix embarrasing typo.
16 years ago
castano
870a3fe438
Add references.
16 years ago