Commit Graph

482 Commits (f817d498729e4c004fcec2d9e4ce1c599415499b)

Author SHA1 Message Date
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
castano 82bed4ac9a Eliminate warning. 16 years ago
castano b8a9395117 Fix end of lines. 16 years ago
castano 6befe3505c Enable Qt ui with win32/msvc. 16 years ago
castano ff6f7f0506 Add quick and dirty single frame mpeg encoder based on ffmpeg. 16 years ago
castano 55e7d3dec4 Delete outdated comment. 16 years ago
castano b5e373b734 Compile NVTT under G5/leopard 16 years ago
castano 58e5f6534f Print version number in copyright statement. 16 years ago
castano eda4786ca6 Update version number. 16 years ago
castano 29a720bf82 Do not print text. 16 years ago
castano 1120f83f7d Fix errors. 16 years ago
castano c38c3dc584 Fix win32 buid errors and warnings due to FreeImage. 16 years ago
castano e068964423 Fix EXR loading code. Issue 45. Fix provided by alastairpatrick. 16 years ago
castano ea340443d9 Add -mipfilter command line option, per request of Noel Llopis. 16 years ago
castano fb2b0cb38c Fix bug reported by Noel Llopis.
Make sure FreeImage declarations are not used when FreeImage is not available.
16 years ago
castano c01566cd2f Add support for FreeImage in nvimage.
Add support for floating point input images in nvtt.
16 years ago
castano 70267fda15 Add support for input floating point images. Patch provided by Jim Tilander. See issue 27. 16 years ago
castano aebcea412c Search for freeimage. 16 years ago
castano bccdcd49da Use standard gram schmidt 16 years ago
castano 0f186e688f Remove 'virtual' from non virtual methods. 16 years ago
castano 38e9652d64 Remove executable flag. 16 years ago
castano f08114c1b5 Whops, check fix for vc9. 16 years ago
castano 70331a37fd Refactor compression functions, group them into class methods. 16 years ago
castano 2ffc4cd7ad Ups, checked in the file before saving it. 16 years ago
castano 4ba8e87a38 Ups, checked in file before saving it. 16 years ago
castano 48f61dbfc0 Add support for linear and swizzle transforms. Fixes issue 4. 16 years ago
castano 94c3fa75a8 Add comments indicating where to perform linear color transforms. 16 years ago
castano c562af6d9b Integrate YCoCg color space conversion by Jim Tilander. 16 years ago
castano a889f2fda6 Add support for alpha modes in the CUDA compressors. 16 years ago
castano d855d0461b Add single color checks to CUDA compressors.
Use optimized bitmap table for CTX compressor.
16 years ago
castano 6a6b3edce1 factorial optimization suggested by pponywong. 16 years ago
castano ce3a65c03e Fix operator= in String class. 16 years ago
castano 8d9bf5c0b3 Fix after refactoring CPU compressors. Changes were not tested with CUDA enabled. 16 years ago
castano ab5265e642 Remove declaration of method that was removed. 16 years ago
castano fd1d5e41c7 Add missing files! 16 years ago
castano 15e7125b4b Check for single color blocks in all compressors. 16 years ago
castano 921ee354c0 Remove legacy compressors.
Add iteration count parameter to iterative alpha compressor.
Add optimal compressors.
16 years ago
castano e3f7e303e4 Use FLT_MAX instead of INFINITE. The latter not supported in msvc. 16 years ago
castano 1df69495fc Precompute fast cluster fit factors, and store as static const.
nvtt is completely reentrant now. Fixes issue 37.
cleanup interface of cuda compressors.
16 years ago
castano 91eb30667f Add TLS class wrapper.
Fix AutoPtr operator=.
Fix typo.
16 years ago