Commit Graph

482 Commits (f817d498729e4c004fcec2d9e4ce1c599415499b)

Author SHA1 Message Date
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
castano 34ae5bcb6f Merge 2.0 branch fixes. 16 years ago
castano bade8e5e09 Merge private branch. 16 years ago
castano 141a05edf4 Merge private branch. 16 years ago
castano 7d3facd81a Merge private branch. 16 years ago
castano 17a4f765fb Merge private branch. 16 years ago
castano cb91740591 Merge private branch. 16 years ago
castano d10295fbf6 Use DXT1a single color compressor. 16 years ago
castano fa5e1f5a07 Add single color DXT1a compressor. 16 years ago
castano 9d47e100f1 Add better support for the DX10 DDS formats. 16 years ago
castano 4c759f999c Integrate decompressor tool improvements submitted by Amorilia. 16 years ago
castano 299ad176fc Add experimental image based interface. 16 years ago
castano 5070cc98d3 Do not use constructor that initializes POD types. 16 years ago
castano 133ebfb282 Remove unused parameter warnings.
Do not compile tokenizer; it's not being used, and does not work on win64 yet.
16 years ago
castano ebe8054728 Cache HAVE_* variables so that they can be edited through the cmake gui. 16 years ago
castano bd3314f4af Add inputOptions argument to compressors, so that they can access alpha mode. 16 years ago
castano 065c5f0689 Cleanup simple compressors. Move code from FastCompress to QuickCompress. 16 years ago
castano d2384cf47f Remove unused methods. 16 years ago
castano aff59c22b8 remove unused compressors 16 years ago
castano 59be16d40a Remove unused fitting code. 16 years ago
castano b7a724448b Remove unnecesary dependency. 16 years ago
castano 259e7c58fd Merge Viktor Linder patch into 2.0 and trunk.
Fixes RGB modes with less than 32 bpp.
16 years ago
castano 307c8b99ee Add support for premultiplied alpha. Patch by Charles Nicholson. 16 years ago
castano 65aa7e1eaa Add interface for swizzle color xform. 16 years ago
castano f5ae4c1a9a Fix indexMirror error reported by Chris Lambert. 16 years ago
castano 75c09220c8 Fix Image copy ctor bug reported by Richard Sim. 16 years ago
castano 9f4b4bd532 Update comments about hole filling algorithms. 16 years ago
castano ff93ad41cb Fix end of lines. 16 years ago
castano 56c7771100 Fix end of lines. 16 years ago
castano ccced843e3 Use smaller allocations to prevent errors.
Check for allocation errors.
16 years ago
castano dafe2b8841 Hide copy ctor and operator to prevent compiler warnings.
Wrap pimpl using NVTT_DECLARE_PIMPL macro.
16 years ago
castano e3e7fcb226 Check cuda errors to find out whether the cuda context initialization succeeded. 16 years ago
castano 970395fba8 Fix osx build. 16 years ago
castano 8a24a93e2f Disable CUDA when memory allocations fail. 16 years ago
castano d0c21cecfb Update stress test.
Fix errors in single color compressor.
16 years ago
castano b41752aa84 Apply singlecolorpatch.diff from Amir Ebrahimi.
Add single color compressor to CUDA implementation.
16 years ago
castano eb36ef86a7 Fix single color compressor. 16 years ago
castano 5dbfb20b60 Add DXT1n and CTX1 CUDA compressors. 16 years ago
castano c7fcc3ef4b Improve stress test to detect errors in the output. 16 years ago
castano 14ae88bb06 Fix leaks. Allocate CUDA memory only once. Free allocations when Compressor is destroyed. 16 years ago
castano c3749f48cd Bug fix. Only use tonormal conversion for top of the mipmap chain. 17 years ago
castano 9d13742314 Fix errors in DDS loading code. 17 years ago
castano a9bd20270b Fix DDS reading code. 17 years ago
castano 90eae7a480 Fix compilation error when SIMD is not supported. 17 years ago
castano 525aa5b40b Remove duplicate. 17 years ago
castano 7569ca136b Add missing file. 17 years ago
castano e1d5bda3e9 prevent overflow when compressing large images. 17 years ago
castano 3c90686e00 Final API changes.
Rename OutputHandler::mipmap method to beginImage.
Add NVTT_VERSION.
Add nvtt::version function.
17 years ago
castano 91ff256adf Do precomputation only when needed. 17 years ago
castano 7b433f08f3 Minor optimizations.
Fix DXT1a support.
17 years ago
castano 357f18c162 Cleanup interface. Provide mipmap filter using a separate method. 17 years ago
castano 3fcf9c9773 Remove commented out code. 17 years ago
castano 039035ae25 Cleanup public header. 17 years ago
castano 79d305008a Add copy constructor and operator=. 17 years ago
castano 3b24951e93 Finish Compressor class.
Move all the image processing to Compressor.cpp.
Finish rescale support, close issue 12.
17 years ago
castano 6f28642282 Set useCuda if CUDA enabled in Compression class. 17 years ago
castano 90a0dc505b Fix typo.
Add bc1n option.
17 years ago
castano 2b291f7871 Fix typos. 17 years ago
castano 67e8ec376d Do not use small keyword. 17 years ago
castano 65842ac7e8 Fix typo.
Do not use small keyword.
17 years ago
castano 1d1dcfe922 Update compressor to new squish interface. 17 years ago
castano b7f3ce664f Fix weighted cluster fit.
Set metric before color sets.
17 years ago
castano d44b8e9358 Reenable QuickCompress for DXT5n.
Fix end of lines.
17 years ago
castano 05a760b2f6 Normalize inputs correctly. 17 years ago
castano 6fadaebae5 Disable quick green compressor, until I figure out what's the problem with it. 17 years ago
castano 5475f35262 Some cleanup. 17 years ago
castano ddc79f69f4 Refactor internals.
Move compression functions to Compressor.cpp.
Implementing rescaling support in a cleaner way.
17 years ago
castano 9ebd736e98 Sync with vc8 file. 17 years ago
castano ad6597b75e Add create minimal set option. 17 years ago
castano ebf8234dc6 Update tools to new interface. 17 years ago
castano d2105f922c More interface changes, update bindings.
Move globals to Compress class, to do CUDA initialization only once.
enableCUDA is broken, will be fixed later tonight.
17 years ago
castano 493f1b6604 Rename C# wrapper. 17 years ago
castano 196a77fdde Fix interface errors.
Complete C wrapper.
Complete C# wrapper.
17 years ago
castano db380be946 Fix typo. 17 years ago
castano 2b23d97d1d Add missing method. 17 years ago
castano 32d694798a Some progress with .net bindings. 17 years ago
castano 92c3dd3f75 remove error threshold. 17 years ago
castano 64020a4cb7 Use tabs instead of spaces. 17 years ago
castano c8ac20ee0f Remove errorThreshold. 17 years ago
castano 3383851e44 Add C# wrapper. 17 years ago
castano 05d14e97bb Some progress with C wrapper. 17 years ago
castano d89c26889c Add alpha component to color weights. It may be needed in the future. 17 years ago
castano ac0cb61927 Eliminate W4 warning. Add assert. 17 years ago
castano 593cce308a Disable copy constructors. Eliminates some W4 warnings. 17 years ago
castano 204d6381f3 Add warnings about functionllity not fully implemented. 17 years ago
castano 963b8e1541 Export more classes. 17 years ago
castano f76e76cbe6 Export basic classes instead of exporting only their methods. 17 years ago
castano 7bf3927635 Fix red initialization for Capcon's trip. 17 years ago
castano 3e702e563b Add support for win64.
Disable PFM.
Disable Tokenizer.
17 years ago
castano 30f8ef09b5 use tabs 17 years ago
castano a46a788760 Fix end of lines 17 years ago
castano 9c963172f3 Add support for Capcon's DXT trick by setting the red channel to 1 in the DXT5n mode. 17 years ago
castano 6587d05d72 Do not install nvconfig.h 17 years ago
castano 9d96f449bf Remove nvcore.h from nvtt.h 17 years ago
castano 33c09ae591 Fix DXT1a support. 17 years ago
castano c02a5bb51f Incomplete DXT1a support. 17 years ago
castano 2903886498 Some progress with full DXT1a support.
Move quantization settings to compression options.
17 years ago
castano f3a73e3de5 Small progress with ui. 17 years ago
castano 2b716b62da Add comments. 17 years ago
castano 4bd07aad38 Include right header files for sse only. 17 years ago
castano e36287c607 some more experiments. 17 years ago
castano 5a33fedab5 experiment with the old 3dnow instruction set. 17 years ago
castano 49ee4eee93 ui fixes. 17 years ago
castano 5a27795621 Move DXT1G compressor to QuickCompress. 17 years ago
castano a69589429e Do not build Qt tools if compiling with msvc. 17 years ago
castano 6861c7f681 Fix msvc warnings. 17 years ago
castano f3dba01757 fix vc7 errors. 17 years ago
castano 26db14696a Fix cuda constant initialization. 17 years ago
castano 3f30093d02 Fix warnings. 17 years ago
castano 364663c49d Fix error. Wrong return value. 17 years ago
castano eb96117989 Add ui tool temporarily called main... 17 years ago
castano f78c32a383 Add filter test. 17 years ago
castano df19be3a5d Do not set mipmap generation filter. 17 years ago
castano 6fa15f4e5b Output correct number of mipmaps.
Fix nvtt, remove deprecated attributes.
17 years ago
castano 9cfbb22d73 Update for API changes. 17 years ago
castano cfa4913ae6 Add support for input rescaling:
- round extents to power of two.
- clamp max extents.
Add output options pimpl.
Other misc API changes.
17 years ago
castano 207bfe5336 Only compile the files from squish that are really needed. 17 years ago
castano 2307416b07 Fix build error. 17 years ago
castano 743599eb1d Fix fast box downsampling filter. 17 years ago
castano a76e89d0d7 Fix more errors in the use of the color metric.
Remove debug code from compress.cpp
17 years ago
castano 6b016dae96 Fix color weighting metric. 17 years ago
castano 5946514408 Do not use CUDA on emulation devices. 17 years ago
castano 670310e558 Add benchmark, in progress. 17 years ago
castano d3240ff992 Add triangle filter sampling. 17 years ago
castano 2b1d842c8d eliminate vc8 warnings. 17 years ago
castano ebc0ff52fa Remove vc8 warnings. 17 years ago
castano aefe11a5b4 Fix warnings. 17 years ago
castano f8377cf7ed Remove msvc warnings. 17 years ago
castano 4373aa758b merge internal branch:
- some support for floating point images.
- Charles Bloom extrapolation filter.
- misc fixes.
17 years ago
castano 2e41727f81 merge internal branch. 17 years ago
castano a3d1353646 fix cmake file. 17 years ago
castano 301f09e1d4 Add NV_DEPRECATE definition. 17 years ago
castano a0d750702a Add ctest. 17 years ago
castano ed04c2249a Remove warnings. 17 years ago
castano 2fec3e7695 Add nvzoom tool. 17 years ago
castano 067f3abf54 Cleanup filters. 17 years ago
castano 3359090581 Correct polyphase filters. 17 years ago
castano 4d51088d96 Add nvtt wrapper to project. 17 years ago
castano 1a14b8a1ba Add nvtt plain C wrapper. 17 years ago
castano 1d5d3d7270 disable gamma correction 17 years ago
castano 9175f4e407 Fix error in poshlib with mingw. 17 years ago
castano c772a00b8f More progress with polyphase filters. 17 years ago
castano fef6466c1c Fix downscale with polyphase filter. 17 years ago
castano 01e10c4c95 Add resize test. 17 years ago
castano 3ea9d12676 Some progress with polyphase filters. 17 years ago
castano b1da728f93 Another gcc warning. 17 years ago
castano 9816ced5b7 Get rid of more gcc warnings. 17 years ago
castano 71788cc904 More gcc warnings. 17 years ago
castano 95a3b5dc77 Eliminate gcc warnings. 17 years ago
castano d55631384c Remove old comments.
Fix errors discovered with -Wall.
17 years ago
castano 5a3bef85e3 Remove warning. 17 years ago
castano f792eba40b Fix countMipmaps bug reported by Richard Sim. 17 years ago
castano 140bf1cb8c fix build in ppc 17 years ago
castano c6df4e404a Add single color compressor from ryg.
Some progress with quick compressors.
17 years ago
castano 4e80c6430f minor edits. 17 years ago
castano c36bf421f5 rename normalize to normalizeNormalMap 17 years ago
castano fd9ae63a4f Add kaiser filter parameters. 17 years ago
castano 365ab33e61 Delete reference code. 17 years ago
castano e0cf992ddb Don't use tabs for alignment, only for indentation. 17 years ago
castano 1b73dcaf7e Add interface to specify color transformations. 17 years ago
castano 5c95f5d5e6 Read output file name from stdin. 17 years ago
castano 854da30b8e Add nvassemble tool to create cubemaps, volumes, and texture arrays. 17 years ago
castano 98b2377a11 Merge internal branch. 17 years ago
castano 18c452a2a6 Add support for EXR files 17 years ago
castano 88c811fca5 remove old comments. 17 years ago
castano b05689c8e3 Add support for saving exr files. Not tested.
Some cleanups.
17 years ago
castano 7fcda1fb41 recontruct normal more correctly... 17 years ago
castano fc9538baf9 Precompute permutations. 17 years ago
castano 05fbcb1aa8 fix build errors 17 years ago
castano 51bd1bd12f Add normal diff option for normal maps.
Start dds assembling tool.
17 years ago
castano 645eda8fd4 Merge internal repository.
Delete TODO list, use issue list instead.
17 years ago
castano fff7b3cf56 Fix z reconstruction. 17 years ago
castano 6cee7e2892 Fix loading of dds normal maps.
Fix computation of angular deviation.
17 years ago
castano fbfc9c2bc1 Add normal error to imgdiff.
Rename dxtlib.cpp to nvtt.cpp
17 years ago
castano e34a12a46f flatten tree. 17 years ago
castano b553bb11b8 remove redundant code. 17 years ago
castano 4d0eaf93c4 Add silent flag to disable progress output. Fixes issue 17. 17 years ago
castano dbe3546690 small fixes. 17 years ago
castano 44e6560111 Fix vc8 warnings. 17 years ago
castano 36ee0aee8d Fix error, do not report that RGB images are not supported. 17 years ago
castano 4b0fca6eca Fix endiannes error. 17 years ago
castano e7aca55ba3 Improved floating point random number generation.
Fixed loading RGB images, as reported in issue 15.
Moved pixel format conversion helpers to PixelFormat.h
17 years ago
castano c9c7c42d2b Add support for unpacking arbitrary pixel formats. 17 years ago
castano 3c6cc7cfad Fix whitespaces. 17 years ago
castano 6339a585e2 Update changelog
Remove compiler warnings
17 years ago
castano 13335f3d97 Move fast DXT1a compressor to QuickCompress. 17 years ago
castano 793611fe7f Move endpoint optimization to QuickCompress. 17 years ago
castano a19df8721d Start using refactored fast compressor.
Fix error with DX10 headers.
17 years ago
castano d1d71dd2b3 Fix a couple of errors.
Disable cone mapping, it is not ready yet.
17 years ago
castano 0008199435 Add dxt1a fast compressor.
Cleanup fast compressors, move them to QuickCompress.
17 years ago
castano da3a43ba2e Start adding some support for DX10 DDS files. 17 years ago
castano 6164174325 Start adding support cone maps. 17 years ago
castano ee28a5a37b Fix memory leaks. 17 years ago
castano 6cdfaaca58 Fix PSD file format support. Read stream in big endian format. 17 years ago
castano 2ea2aaaf4d start adding some support for ctx1 and other fixes. 17 years ago
castano 1308795378 RGB conversion fixes. 17 years ago
castano 2cc70162dd Do not select d3dformat according to pfd. 17 years ago
castano 41db8b8c72 validate setPixelFormat arguments. 17 years ago
castano 1cdcea3164 Add support for arbitrary rgb pixel formats. 17 years ago
castano cc5bb56f3f Fix PSNR formula. 17 years ago
castano e341366aa0 Init color block from block linear image. 17 years ago