Commit Graph

35 Commits

Author SHA1 Message Date
castano
69363fcc92 Create 2.0.7 release. 2009-11-04 08:58:19 +00:00
castano
9953883d26 Cleanup cmake files. 2009-03-02 07:32:00 +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
4bbf5e96f4 Add squish external compressor.
Rename our squish version to nvsquish.
2008-11-23 08:59:56 +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
36ba75b598 Select fastest device. 2008-10-30 04:50:41 +00:00
castano
5234060618 Integrate branch 2.0 to trunk. 2008-10-15 07:16:57 +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
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
86ef67bbfa Fix error in input image transformation. 2008-07-29 05:45:35 +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
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
1120f83f7d Fix errors. 2008-05-22 21:31:44 +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
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
48f61dbfc0 Add support for linear and swizzle transforms. Fixes issue 4. 2008-05-06 23:21:39 +00:00
castano
94c3fa75a8 Add comments indicating where to perform linear color transforms. 2008-05-06 22:01:23 +00:00
castano
c562af6d9b Integrate YCoCg color space conversion by Jim Tilander. 2008-05-06 21:49:10 +00:00
castano
921ee354c0 Remove legacy compressors.
Add iteration count parameter to iterative alpha compressor.
Add optimal compressors.
2008-04-26 08:02:30 +00:00
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.
2008-04-18 08:49:32 +00:00
castano
bd3314f4af Add inputOptions argument to compressors, so that they can access alpha mode. 2008-03-27 04:28:17 +00:00
castano
259e7c58fd Merge Viktor Linder patch into 2.0 and trunk.
Fixes RGB modes with less than 32 bpp.
2008-03-11 21:22:54 +00:00
castano
307c8b99ee Add support for premultiplied alpha. Patch by Charles Nicholson. 2008-03-07 00:41:03 +00:00
castano
8a24a93e2f Disable CUDA when memory allocations fail. 2008-02-28 16:06:27 +00:00
castano
5dbfb20b60 Add DXT1n and CTX1 CUDA compressors. 2008-02-15 08:58:02 +00:00
castano
14ae88bb06 Fix leaks. Allocate CUDA memory only once. Free allocations when Compressor is destroyed. 2008-02-14 05:08:26 +00:00
castano
c3749f48cd Bug fix. Only use tonormal conversion for top of the mipmap chain. 2008-02-11 08:35:32 +00:00
castano
3c90686e00 Final API changes.
Rename OutputHandler::mipmap method to beginImage.
Add NVTT_VERSION.
Add nvtt::version function.
2008-02-05 00:28:13 +00:00
castano
3b24951e93 Finish Compressor class.
Move all the image processing to Compressor.cpp.
Finish rescale support, close issue 12.
2008-02-03 07:31:09 +00:00
castano
2b291f7871 Fix typos. 2008-02-01 19:50:19 +00:00
castano
5475f35262 Some cleanup. 2008-01-31 09:17:32 +00:00
castano
ddc79f69f4 Refactor internals.
Move compression functions to Compressor.cpp.
Implementing rescaling support in a cleaner way.
2008-01-30 08:21:55 +00:00
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.
2008-01-26 02:46:12 +00:00