Commit Graph

244 Commits

Author SHA1 Message Date
castano
92db15b8d9 Do not compile old quantization code anymore. 2011-01-25 09:18:42 +00:00
castano
4fc1952539 Fix tabs. 2011-01-19 07:25:49 +00:00
castano
5324156cc4 Fix kernel offset. Fixes issue 158. 2011-01-19 07:12:22 +00:00
castano
5f8cd22cdb Merge changes from the-witness. 2011-01-08 04:54:06 +00:00
castano
3265c36e14 Reallocate float image data properly. Fixes issue 155. 2010-12-08 19:56:06 +00:00
castano
23b140416a Work in progress. Experiment with lightmap compression. 2010-11-12 03:32:46 +00:00
castano
1484c667a0 Add missing files. 2010-11-11 19:13:01 +00:00
castano
1f1afe0c33 Add SCIE-Lab error metric. Work in progress. 2010-11-11 19:10:14 +00:00
castano
5cf219a22e Add perceptual color distance function. 2010-11-10 03:28:44 +00:00
castano
49482d1441 Work in progress.
Merging squish into nvtt. 
Using squish only to find endpoints, do discrete refinement afterwards.
2010-11-09 03:38:03 +00:00
castano
1d4a2ea710 Testsuite outputs graphs using google api. 2010-11-08 19:03:20 +00:00
castano
5f845513ee Fix msvc warnings and errors.
Test TexImage stuff more througly.
Test YCoCg and RGBM.
2010-11-06 02:34:34 +00:00
castano
c1204bfb66 Fix errors in new implementation of InputOptions.
Output cube map faces in DDS order. Fixes issue 147.
2010-11-05 00:36:50 +00:00
castano
ea42b83573 Fix linux build errors. 2010-11-02 01:03:19 +00:00
castano
5ae77ae037 Fix warnings. 2010-10-28 05:39:35 +00:00
castano
09e46ead48 Fix some messages. Add support for range scaling in TexImage. 2010-10-22 00:28:46 +00:00
castano
47df8ff7d6 Fix readBlock. Fixes issue 145. 2010-10-21 18:58:49 +00:00
castano
bd74a9ffc6 Merge changes from the-witness. 2010-10-21 18:44:10 +00:00
castano
5d80fb8219 Fix TGA loading using FreeImage. Fixes issue 141. 2010-10-13 17:49:16 +00:00
castano
df13c904b2 Stop using custom memory allocators.
Fix aliasing errors. Fixes issue 139 in trunk.
Fix build errors under OSX.
2010-10-06 02:56:35 +00:00
castano
276c608f26 Fix alignment assumptions in DDS loading code. Fixes issue 132.
Merge misc changes from the-witness.
2010-09-07 18:24:50 +00:00
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
9e881f28d1 Merge changes from the-witness.
Fix DXT5n compressor.
2010-07-22 10:25:14 +00:00
castano
9094756997 Merge changes from the witness. 2010-07-13 03:08:45 +00:00
castano
e5736fcf92 Add explicit load methods to DirectDrawSurface. 2010-07-01 00:25:44 +00:00
castano
f2c581dec1 Remove unused methods. Add float color block. 2010-06-21 22:23:01 +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
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
035231a928 Minor changes. 2010-05-28 23:16:06 +00:00
castano
51a4fe7e2d Merge private branch. 2010-05-27 23:18:39 +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
f6a39d6eab Remove duplicate code. 2010-05-14 04:58:08 +00:00
castano
85db14f213 Add vertical flip. 2010-05-05 00:24:31 +00:00
castano
447634d263 Fix cmake build in msvc. Fixes issue 111. 2010-03-18 00:13:31 +00:00
castano
96f22f8cd4 Fix isColorNoAlpha, but leave it commented out. 2010-03-10 08:49:40 +00:00
castano
acc02abaf1 Fix messages. 2009-11-03 23:17:11 +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
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
573cc1b371 Add support for UINT16 images when using freetype. 2009-07-28 08:03:36 +00:00
castano
2ca6e4a1bd Add support function for stb compressor. 2009-07-06 09:06:40 +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
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
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
9aaee3ae16 Add proper todo message. 2009-03-21 07:42:36 +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
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
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
098bc2f905 Fix some endiannes errors. 2009-03-04 09:36:40 +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
69c74d7a5e Add support for comments. 2009-02-03 09:23:58 +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
1afdf2da8a Fix alpha-weighted filtering. 2009-01-28 12:10:04 +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
fa53ddcecd Add NV5x/G8x DXT decompression code.
Clean things up a bit, remove old code.
2009-01-13 08:25:04 +00:00
castano
1f4d313d0f Merge changes from internal branch. Whitespace changes only. 2008-12-29 11:34:39 +00:00
castano
9bda107603 Add pull push filter with bilinear filtering. 2008-12-29 11:28:29 +00:00
castano
a769831fb5 Add const keyword to const arguments. 2008-11-21 07:57:28 +00:00
castano
1cefc366f8 Remove unused function. 2008-11-14 02:15:35 +00:00
castano
12e774ea74 Fix cmake file. 2008-10-26 05:56:32 +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
0b13b6d0d9 Update version number. 2008-08-20 22:31:14 +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
1941e27148 Fix DDS10 header initialization.
Fix depth initialization.
2008-07-29 08:43:42 +00:00
castano
79529f994f Fix compilation error. 2008-07-29 05:44:31 +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
c70e5d6121 Reorg header files. 2008-07-05 09:10:45 +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
870a3fe438 Add references. 2008-06-23 19:24:59 +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
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
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
castano
c562af6d9b Integrate YCoCg color space conversion by Jim Tilander. 2008-05-06 21:49:10 +00:00