Commit Graph

659 Commits

Author SHA1 Message Date
castano
1aa2fc9440 Cleanup 4 means compressor. 2008-11-24 10:35:07 +00:00
castano
19299ef7f0 Add support for alpha modes in the CPU compressors. Fixes issue 30. 2008-11-24 10:34:16 +00:00
castano
09708ce496 Add FileSystem to build. 2008-11-23 22:25:47 +00:00
castano
4e6485a2e5 Add squish external compressor.
Rename our squish version to nvsquish.
2008-11-23 08:59:56 +00:00
castano
2004c0fe36 Remove executable flag. 2008-11-22 22:12:05 +00:00
castano
7de636d58c Merge optimizations from squish. 2008-11-22 22:10:51 +00:00
castano
8721c0d16e Fix tabs. 2008-11-22 22:10:11 +00:00
castano
d7021b941b Create output directory. 2008-11-22 22:08:31 +00:00
castano
67b9def0e8 Add file system helper. 2008-11-22 22:07:07 +00:00
castano
4a1cbadfa6 Use metric to measure distance to clusters. 2008-11-22 21:32:27 +00:00
castano
d3d0a13c73 Merge optimizations from official squish release. 2008-11-22 11:36:06 +00:00
castano
803d7852bb Merge optimizations from official squish relese. 2008-11-22 11:35:13 +00:00
castano
e5dbcf645c Try using 4 means clustering. 2008-11-22 11:34:29 +00:00
castano
725a1576cc Add support for regressions. 2008-11-22 11:33:31 +00:00
castano
f4c8a14109 Fix 4 means clustering. 2008-11-22 11:32:51 +00:00
castano
ad036808b3 Add fitting implementation to project. 2008-11-22 11:30:46 +00:00
castano
aa724d4f78 Add stream to the vc8 project. 2008-11-22 11:28:18 +00:00
castano
1dc2f8cbdf Update changelog. 2008-11-22 08:37:56 +00:00
castano
d2ec0643c3 Try 4-means. 2008-11-22 08:37:14 +00:00
castano
daa843298d Rename stress to testsuite. Install target. 2008-11-22 08:36:55 +00:00
castano
f8332036b0 Remove squish build and project files. 2008-11-22 08:36:17 +00:00
castano
469accc203 Fix errors. 2008-11-22 08:35:04 +00:00
castano
3cbf8b6ced Add fitting code to build. 2008-11-22 08:30:55 +00:00
castano
99ea48e9e3 Add PCA, and 4-means implementation. 2008-11-22 08:30:20 +00:00
castano
dac1ef329c Do not mix tabs and spaces. 2008-11-22 00:14:05 +00:00
castano
06a360a96d Do not print stupid messages. 2008-11-22 00:13:14 +00:00
castano
415776db9f Add command line options.
Reformat output for easier parsing.
2008-11-21 09:09:57 +00:00
castano
b26e015673 Fix segfault on linux. Merged from 2.0 branch. 2008-11-21 09:08:00 +00:00
castano
02e4320d23 Fix bug in dxt decompression.
Output files as TGA.
2008-11-21 08:06:25 +00:00
castano
9b9a2fd737 Output compressed files. 2008-11-21 07:58:49 +00:00
castano
bbd1f3e3a8 Add const keyword to const arguments. 2008-11-21 07:57:28 +00:00
castano
40bf6cdc2a Fix bug in testsuite. 2008-11-21 07:45:09 +00:00
castano
7f0eb849f0 Modify stress test to compress a list of real images. 2008-11-21 07:38:12 +00:00
castano
bbaf9d1803 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
df9d9fb049 Remove gcc-4.3 warning. 2008-11-14 02:19:39 +00:00
castano
9f3baa51cf Fix bug detected by gcc-4.3. 2008-11-14 02:19:07 +00:00
castano
f852d7c89e Fix gcc-4.3 warnings. 2008-11-14 02:18:35 +00:00
castano
612ac4c067 Fix gcc-4.3 warning. 2008-11-14 02:16:36 +00:00
castano
e1ec0b33b7 Remove unused function. 2008-11-14 02:15:35 +00:00
castano
72ee072073 Fix CUDA detection code on linux. 2008-11-14 01:15:36 +00:00
castano
deb9baad67 Do not use cuda API when CUDA not found.
Fix end of lines.
2008-11-10 21:54:03 +00:00
castano
aa1245b3b2 Select fastest device. 2008-10-30 04:50:41 +00:00
castano
f33e21bb0a Fix comment. 2008-10-27 08:00:46 +00:00
castano
34c4b959ad Fix cmake file. 2008-10-26 05:56:32 +00:00
castano
988c033d10 Fix build under VC7 2008-10-22 03:48:06 +00:00
castano
c5783c9cf7 Update vc8 projects. 2008-10-17 18:40:16 +00:00
castano
a073d741df Update vc9 projects. 2008-10-17 18:38:55 +00:00
castano
7e2a153b94 Win32 fixes. 2008-10-17 18:37:17 +00:00
castano
3f62d4fe4c Build nvtt as a shared library. 2008-10-16 22:22:45 +00:00
castano
75e75e8f9d Prevent missmatches between incompatible versions of the CUDA runtime and the CUDA driver. 2008-10-16 22:21:21 +00:00
castano
61fabfcacb Add library loading helpers. 2008-10-16 22:20:31 +00:00
castano
da7bfea934 Workaround bug in CUDA runtime. When using CUDA 2.0, it's required to use a driver that supports CUDA 2.0. 2008-10-16 08:39:58 +00:00
castano
687661d5c2 Update changelog with branch 2.0 fixes. 2008-10-15 07:17:20 +00:00
castano
b0e885d124 Integrate branch 2.0 to trunk. 2008-10-15 07:16:57 +00:00
castano
ea0b69df61 Use unsigned ints for stream sizes and positions. 2008-10-15 07:15:50 +00:00
castano
194b0e2033 Fix compiler errors under gcc-4.3 2008-10-15 07:15:00 +00:00
castano
b813ce4e8c Fix compiler errors under gcc-4.3 2008-10-15 07:14:25 +00:00
castano
aa35be01cc Compile CUDA files as C++. 2008-10-11 06:43:57 +00:00
castano
dec4e22d44 Fix linux build. 2008-10-05 19:20:42 +00:00
castano
35a8b9adff Fix linux includes. 2008-10-05 19:17:59 +00:00
castano
1a4fb0d890 Fix errors in Green and Alpha optimal compressors. 2008-10-02 07:33:05 +00:00
castano
c488789abd Update changelog. 2008-10-01 22:30:19 +00:00
castano
e067ba8ff9 Set correct DXT5n swizzle code.
Select swizzle codes in nvtt instead of nvimage.
2008-10-01 22:28:57 +00:00
castano
20210126c7 Try some optimizations. 2008-10-01 22:28:01 +00:00
castano
00dbd401ba Add DXT1 compressor that uses texture to avoid CPU swizzling.
Fix errors under emulation.
Experiment with DXT5 compressor.
2008-10-01 22:24:53 +00:00
castano
e2ce2c9c4e Reference gnuwin32 libs and include paths correctly. 2008-09-11 07:56:39 +00:00
castano
52ea5fa2a8 Set optimal options for release vc9 projects.
Fixes issue 62.
2008-09-11 07:48:02 +00:00
castano
86abad2935 Do not use freeimage yet. 2008-08-20 22:34:08 +00:00
castano
e0b4c51d61 Fix float support. 2008-08-20 22:32:54 +00:00
castano
5da1d9a976 Update version number. 2008-08-20 22:31:14 +00:00
castano
f01ce215d9 Include gnuwin32 directory properly. 2008-08-20 22:30:41 +00:00
castano
ae0c0b4759 Add Half.{h,cpp} to project. 2008-07-31 10:00:05 +00:00
castano
ecf8a217b1 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
1c663ed843 Adding support for floating point input/output. Work in progress. 2008-07-31 02:04:44 +00:00
castano
e0ae3e6fc1 Decompress DDS10 files. Only BC# supported so far. 2008-07-30 02:28:09 +00:00
castano
ce7b547895 Adding support for floating point images as input. 2008-07-29 08:56:40 +00:00
castano
4392d205b3 Fix DDS10 header initialization.
Fix depth initialization.
2008-07-29 08:43:42 +00:00
castano
37bada3b0a Fix color transforms. 2008-07-29 06:05:11 +00:00
castano
e9a71142b7 Fix error in input image transformation. 2008-07-29 05:45:35 +00:00
castano
ca2189ca73 Fix compilation error. 2008-07-29 05:44:31 +00:00
castano
d7cd135ba8 Add option to use dds10 headers. 2008-07-29 02:31:57 +00:00
castano
3d586f0562 Change parameters in declaration to match definition. 2008-07-29 02:31:09 +00:00
castano
15ed9e17c8 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
1ee93680fa do not compile mpeg tests. 2008-07-26 09:01:00 +00:00
castano
06636af58a Reorg header files. 2008-07-05 09:10:45 +00:00
castano
909d13fafd Move ui to separate folder. 2008-07-05 09:10:00 +00:00
castano
40dee8b2a2 Require cmake 2.6.0 2008-07-05 09:09:23 +00:00
castano
264c3ad3fb Fix compilation error under gcc/linux. 2008-07-05 08:57:03 +00:00
castano
2a15548925 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
e0cc45ad75 reorg included files 2008-06-28 08:40:32 +00:00
castano
60a9a6cd7e fix path to gnulibs 2008-06-28 02:57:31 +00:00
castano
f4f44b5c6d fix path to gnulibs 2008-06-28 02:56:57 +00:00
castano
77c38212b5 fix path to gnu libs. 2008-06-28 02:56:27 +00:00
castano
dd8d64f7ec fix path to gnulibs. 2008-06-28 02:55:35 +00:00
castano
ab23899c15 Add single color compressor to optimal green compressor.
Improve quality of DXT1 green compressor increasing search range.
2008-06-28 02:50:09 +00:00
castano
b4b41c5131 Check in proposed fix for issue 44. 2008-06-27 18:52:49 +00:00
castano
9799874792 Fix assertion. 2008-06-26 07:23:31 +00:00
castano
46da35a822 Do not compile nvmpegenc. 2008-06-26 07:23:09 +00:00
castano
b3b49541e1 Fix build on OSX 10.5. Solves issue 44. 2008-06-26 07:22:34 +00:00
castano
bc31e5e15a Fix embarrasing typo. 2008-06-24 21:47:47 +00:00
castano
8f94dbed88 Add references. 2008-06-23 19:24:59 +00:00
castano
b2ac206d0f Eliminate warning. 2008-06-19 10:01:56 +00:00
castano
ea0013a42b Fix end of lines. 2008-06-19 09:53:09 +00:00
castano
4a24f48147 Fix solution. 2008-06-19 09:52:20 +00:00
castano
0b67b7ea24 Add PhotoshopExporter template project to solution. 2008-06-19 00:38:15 +00:00
castano
bf2771279c Add photoshop exporter template. 2008-06-19 00:37:15 +00:00
castano
8b1f9b617a Enable Qt ui with win32/msvc. 2008-06-19 00:35:47 +00:00
castano
1833c7952f Add quick and dirty single frame mpeg encoder based on ffmpeg. 2008-06-13 08:12:58 +00:00
castano
f1c10d028a Delete outdated comment. 2008-06-03 06:34:18 +00:00
castano
c42ca29b4c Compile NVTT under G5/leopard 2008-05-23 22:22:09 +00:00
castano
683507094a Fix error in cmake file. 2008-05-23 06:51:02 +00:00
castano
cd1c328136 Print version number in copyright statement. 2008-05-22 21:48:40 +00:00
castano
ea927fe354 Update version number. 2008-05-22 21:48:19 +00:00
castano
0776edc2c5 Do not print text. 2008-05-22 21:32:09 +00:00
castano
acc772d36d Fix errors. 2008-05-22 21:31:44 +00:00
castano
8eba608d6d Fix win32 buid errors and warnings due to FreeImage. 2008-05-22 21:31:15 +00:00
castano
e7d0d881c5 Update projects to use FreeImage. 2008-05-22 21:30:34 +00:00
castano
d2d98d8d3f Update cmake files. 2008-05-22 19:47:52 +00:00
castano
9b8f73ca11 Reorganize external libs. 2008-05-22 19:47:23 +00:00
castano
87ffc3d518 Update changelog. 2008-05-21 19:22:43 +00:00
castano
0cd9e2837c Fix EXR loading code. Issue 45. Fix provided by alastairpatrick. 2008-05-21 19:17:27 +00:00
castano
2f8bc1a6e9 Add -mipfilter command line option, per request of Noel Llopis. 2008-05-19 20:10:05 +00:00
castano
cf45673929 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
64768b0a0e Add support for FreeImage in nvimage.
Add support for floating point input images in nvtt.
2008-05-15 09:47:55 +00:00
castano
719621c327 Define FREEIMAGE_LIBRARIES. 2008-05-15 09:46:45 +00:00
castano
fe04cc95dd Add support for input floating point images. Patch provided by Jim Tilander. See issue 27. 2008-05-15 06:18:24 +00:00
castano
82f431dfc7 Search for freeimage. 2008-05-15 06:17:46 +00:00
castano
702589792c Use standard gram schmidt 2008-05-15 06:04:17 +00:00
castano
f72687bc83 Add freeimage cmake file. 2008-05-15 05:57:11 +00:00
castano
2595a89721 Remove 'virtual' from non virtual methods. 2008-05-08 21:15:05 +00:00
castano
a5dc971ca0 Remove executable flag. 2008-05-08 18:20:55 +00:00
castano
d96fa0f3c5 Whops, check fix for vc9. 2008-05-08 18:18:53 +00:00
castano
a19549760c Update vc9 projects. 2008-05-07 21:58:50 +00:00
castano
430e3651e3 Add vc9 projects. 2008-05-07 21:55:33 +00:00
castano
c8792551b5 Add vc9 folder 2008-05-07 21:45:48 +00:00
castano
5093606dd2 Refactor compression functions, group them into class methods. 2008-05-06 23:55:19 +00:00
castano
ad5502b799 Ups, checked in the file before saving it. 2008-05-06 23:34:46 +00:00
castano
e9ea256a91 Ups, checked in file before saving it. 2008-05-06 23:34:13 +00:00
castano
dd7027a4fe Update ChangeLog. 2008-05-06 23:22:04 +00:00
castano
71a7e3caa8 Add support for linear and swizzle transforms. Fixes issue 4. 2008-05-06 23:21:39 +00:00
castano
5b1227c3cf Add comments indicating where to perform linear color transforms. 2008-05-06 22:01:23 +00:00
castano
224bb3e6d3 Integrate YCoCg color space conversion by Jim Tilander. 2008-05-06 21:49:10 +00:00
castano
785f140e84 Add support for alpha modes in the CUDA compressors. 2008-05-06 20:04:05 +00:00
castano
12a3da043d Add single color checks to CUDA compressors.
Use optimized bitmap table for CTX compressor.
2008-05-06 19:52:27 +00:00
castano
0fd669e8e2 Add cpp file to project so that a library is built. 2008-05-06 19:48:43 +00:00
castano
7ca2e5bf66 factorial optimization suggested by pponywong. 2008-05-06 06:37:06 +00:00
castano
df314db30f Update project files. Remove fast compressor, add optimal compressor. 2008-04-29 22:34:09 +00:00
castano
e49f7783a1 Add missing files to project. 2008-04-29 22:33:42 +00:00
castano
2a18c2474f Fix operator= in String class. 2008-04-29 22:32:12 +00:00
castano
3ff6ff4c84 Fix after refactoring CPU compressors. Changes were not tested with CUDA enabled. 2008-04-29 22:31:55 +00:00
castano
0946597d78 Remove declaration of method that was removed. 2008-04-28 08:39:24 +00:00
castano
9f205a2efa Add missing files! 2008-04-28 06:22:26 +00:00
castano
701c78c8d4 Update changelog. 2008-04-26 09:17:16 +00:00
castano
3df34e0d7f Check for single color blocks in all compressors. 2008-04-26 09:16:56 +00:00
castano
605e565ef7 Remove legacy compressors.
Add iteration count parameter to iterative alpha compressor.
Add optimal compressors.
2008-04-26 08:02:30 +00:00
castano
f38ef78bbf Use FLT_MAX instead of INFINITE. The latter not supported in msvc. 2008-04-20 06:01:50 +00:00
castano
eab609ff49 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
aad6db8015 Add TLS class wrapper.
Fix AutoPtr operator=.
Fix typo.
2008-04-17 18:39:01 +00:00
castano
9a474d448d Fix changelog. 2008-04-17 09:28:38 +00:00
castano
1e743197be Merge 2.0 branch fixes. 2008-04-17 07:17:46 +00:00
castano
8638047d90 Add DXT1a single color compressor. 2008-04-17 07:00:51 +00:00
castano
3c83ad350c Merge private branch. 2008-04-17 07:00:19 +00:00
castano
e947a318a7 Merge private branch. 2008-04-17 06:59:29 +00:00
castano
b5fe57725e Merge private branch. 2008-04-17 06:59:13 +00:00
castano
5fa37c0a9e Merge private branch. 2008-04-17 06:58:43 +00:00
castano
c98f608543 Merge private branch. 2008-04-17 06:58:18 +00:00
castano
fd1cdae518 Use DXT1a single color compressor. 2008-04-17 06:55:26 +00:00
castano
447bdfe021 Add single color DXT1a compressor. 2008-04-17 06:54:29 +00:00
castano
27df130dd0 Add better support for the DX10 DDS formats. 2008-04-11 23:58:41 +00:00
castano
355ea9c5c4 Update changelog. 2008-04-11 22:04:59 +00:00
castano
83e2bd2982 Integrate decompressor tool improvements submitted by Amorilia. 2008-04-11 22:03:42 +00:00
castano
e53966fa6d Add experimental image based interface. 2008-04-11 08:06:15 +00:00
castano
e5018f203f Do not use constructor that initializes POD types. 2008-04-11 06:50:36 +00:00
castano
349e64a308 Remove unused parameter warnings.
Do not compile tokenizer; it's not being used, and does not work on win64 yet.
2008-04-09 09:06:19 +00:00
castano
f3bbe7efe6 Cache HAVE_* variables so that they can be edited through the cmake gui. 2008-04-06 05:59:13 +00:00
castano
2e305eea7e Do not cache CUDA_FOUND variable. 2008-04-06 05:54:53 +00:00
castano
72c8f7adfc Update change log, merge 2.0 changes, add attributions. 2008-03-27 04:45:11 +00:00
castano
0a84d9fe75 Add inputOptions argument to compressors, so that they can access alpha mode. 2008-03-27 04:28:17 +00:00
castano
0d7e959baf Cleanup simple compressors. Move code from FastCompress to QuickCompress. 2008-03-20 01:39:02 +00:00
castano
156c7a96ce Update project files. 2008-03-14 08:42:24 +00:00
castano
787464b685 Remove unused methods. 2008-03-14 08:40:48 +00:00
castano
eed09c8676 remove unused compressors 2008-03-14 08:40:11 +00:00
castano
cb2567b97b Remove unused fitting code. 2008-03-14 08:39:03 +00:00
castano
d662ad6dc0 Remove unnecesary dependency. 2008-03-14 07:32:59 +00:00
castano
8988e87f11 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
ced410d0e2 Add support for premultiplied alpha. Patch by Charles Nicholson. 2008-03-07 00:41:03 +00:00
castano
a38396f314 Fix post-build command. Copy headers to include/nvtt/. 2008-03-06 20:28:43 +00:00
castano
aa9fceff83 Add quotes around post build command arguments. Reported by Richard Sim. 2008-03-05 23:26:12 +00:00
castano
0dd4ba16df Add interface for swizzle color xform. 2008-03-05 22:35:16 +00:00
castano
c2d5998c90 Fix indexMirror error reported by Chris Lambert. 2008-03-05 19:42:45 +00:00
castano
0a97f0efa5 Fix Image copy ctor bug reported by Richard Sim. 2008-03-05 19:11:41 +00:00
castano
ee27f8e8d3 Update comments about hole filling algorithms. 2008-03-04 00:13:44 +00:00
castano
0d7f3c250a Add post build command to copy header files. 2008-02-28 22:07:08 +00:00
castano
7f0badc8b6 Fix end of lines. 2008-02-28 21:45:46 +00:00
castano
5d89b36b1d Fix end of lines. 2008-02-28 21:45:26 +00:00
castano
b38e7e2010 Use smaller allocations to prevent errors.
Check for allocation errors.
2008-02-28 21:45:04 +00:00
castano
46fbb752a9 Hide copy ctor and operator to prevent compiler warnings.
Wrap pimpl using NVTT_DECLARE_PIMPL macro.
2008-02-28 21:14:40 +00:00
castano
330a788508 Check cuda errors to find out whether the cuda context initialization succeeded. 2008-02-28 17:52:32 +00:00
castano
17b2d10a02 Fix osx build. 2008-02-28 17:02:29 +00:00
castano
4e63c7bd80 Disable CUDA when memory allocations fail. 2008-02-28 16:06:27 +00:00
castano
19f9d04ce9 Update changelog with 2.0.1 changes.
Bump version to 2.1.0
2008-02-28 07:43:37 +00:00
castano
c71c5b425a Update stress test.
Fix errors in single color compressor.
2008-02-28 03:09:51 +00:00
castano
282c2bc06f Apply singlecolorpatch.diff from Amir Ebrahimi.
Add single color compressor to CUDA implementation.
2008-02-16 09:53:07 +00:00
castano
36841aa15e Fix single color compressor. 2008-02-16 02:48:28 +00:00
castano
e498f6de4d Add DXT1n and CTX1 CUDA compressors. 2008-02-15 08:58:02 +00:00
castano
0f28ad2bc6 Improve stress test to detect errors in the output. 2008-02-14 09:21:57 +00:00
castano
a8aabdf81a Fix leaks. Allocate CUDA memory only once. Free allocations when Compressor is destroyed. 2008-02-14 05:08:26 +00:00
castano
3b3c00255f Add stress test. 2008-02-14 05:07:20 +00:00
castano
50fb74f283 Add Ptr.h file to nvcore project. 2008-02-14 05:05:44 +00:00
castano
7d7ffc8421 Bug fix. Only use tonormal conversion for top of the mipmap chain. 2008-02-11 08:35:32 +00:00
castano
e775466e8c Add script to build source package. 2008-02-11 07:44:54 +00:00
castano
9c7fdd8f38 Print nvidia-texture-tools instead of nv. 2008-02-11 07:09:00 +00:00
castano
76346b9945 Update gnuwin32 libraries. 2008-02-11 07:02:21 +00:00
castano
ddb976e4c7 Fix errors in DDS loading code. 2008-02-11 07:01:11 +00:00
castano
e67f1adb49 Fix DDS reading code. 2008-02-11 07:00:45 +00:00
castano
ead3384696 Fix compilation error when SIMD is not supported. 2008-02-11 07:00:14 +00:00
castano
7a7c17848b Comment out unused function. 2008-02-06 07:16:09 +00:00
castano
fdedffde2e Remove duplicate. 2008-02-06 07:15:13 +00:00
castano
28f2a93976 Add missing file. 2008-02-06 07:15:00 +00:00
castano
ed13069cc7 prevent overflow when compressing large images. 2008-02-05 22:41:58 +00:00
castano
e408e0ca48 Fix nvtt solution configuration. 2008-02-05 22:41:21 +00:00
castano
6815c3b8d7 Fix version in readme and license files. 2008-02-05 01:10:50 +00:00
castano
726f44ee27 Reverse changelog order. 2008-02-05 00:35:31 +00:00
castano
c6602671cc Update changelog and version. 2008-02-05 00:29:29 +00:00
castano
6053846d48 Update version. 2008-02-05 00:28:45 +00:00
castano
81ed98d275 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
943e831353 Do precomputation only when needed. 2008-02-04 10:12:32 +00:00
castano
64a398fff2 Minor optimizations.
Fix DXT1a support.
2008-02-04 10:01:43 +00:00
castano
b4cd747274 Update C# wrapper. 2008-02-03 09:51:21 +00:00
castano
562be280e0 Cleanup interface. Provide mipmap filter using a separate method. 2008-02-03 09:30:32 +00:00
castano
49a84e098a Remove commented out code. 2008-02-03 08:27:02 +00:00
castano
499603dfa0 Cleanup public header. 2008-02-03 08:24:58 +00:00
castano
fe84fbec5c Add copy constructor and operator=. 2008-02-03 07:34:32 +00:00
castano
fb992c30e4 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
643cf8e4d0 Set useCuda if CUDA enabled in Compression class. 2008-02-01 19:51:54 +00:00
castano
dbedd51e83 Fix typo.
Add bc1n option.
2008-02-01 19:50:55 +00:00
castano
2d1de1ed0e Fix typos. 2008-02-01 19:50:19 +00:00
castano
3760cebeed Do not use small keyword. 2008-02-01 19:49:50 +00:00
castano
fb976898c4 Fix typo.
Do not use small keyword.
2008-02-01 19:49:22 +00:00
castano
f993b57bcd Update compressor to new squish interface. 2008-02-01 19:48:51 +00:00
castano
63f129fe8c Fix weighted cluster fit.
Set metric before color sets.
2008-02-01 19:48:12 +00:00
castano
dd6ddbbc86 Clenaup solution and vcprojects. 2008-02-01 02:56:53 +00:00
castano
9648a5b408 Reenable QuickCompress for DXT5n.
Fix end of lines.
2008-02-01 02:33:51 +00:00
castano
0659a1f5f4 Normalize inputs correctly. 2008-01-31 21:48:02 +00:00
castano
84d9f4b221 Disable quick green compressor, until I figure out what's the problem with it. 2008-01-31 21:07:18 +00:00
castano
71fa8273ce Some cleanup. 2008-01-31 09:17:32 +00:00
castano
cf22a583a5 Add new file to project. 2008-01-30 23:19:08 +00:00
castano
7d5fe0d95b Refactor internals.
Move compression functions to Compressor.cpp.
Implementing rescaling support in a cleaner way.
2008-01-30 08:21:55 +00:00
castano
192ebe27ca Sync with vc8 file. 2008-01-26 05:37:19 +00:00
castano
a4aa267bc8 Add missing method. 2008-01-26 05:36:50 +00:00