Commit Graph

563 Commits

Author SHA1 Message Date
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
castano
493f1b6604 Rename C# wrapper. 2008-01-24 04:26:13 +00:00
castano
196a77fdde Fix interface errors.
Complete C wrapper.
Complete C# wrapper.
2008-01-24 04:25:24 +00:00
castano
db380be946 Fix typo. 2008-01-19 08:56:03 +00:00
castano
2b23d97d1d Add missing method. 2008-01-19 08:54:57 +00:00
castano
32d694798a Some progress with .net bindings. 2008-01-19 08:52:50 +00:00
castano
92c3dd3f75 remove error threshold. 2008-01-18 23:51:47 +00:00
castano
64020a4cb7 Use tabs instead of spaces. 2008-01-18 23:51:20 +00:00
castano
c8ac20ee0f Remove errorThreshold. 2008-01-18 23:50:22 +00:00
castano
3383851e44 Add C# wrapper. 2008-01-18 23:47:05 +00:00
castano
05d14e97bb Some progress with C wrapper. 2008-01-18 08:49:57 +00:00
castano
d89c26889c Add alpha component to color weights. It may be needed in the future. 2008-01-18 06:11:58 +00:00
castano
ac0cb61927 Eliminate W4 warning. Add assert. 2008-01-17 20:40:40 +00:00
castano
593cce308a Disable copy constructors. Eliminates some W4 warnings. 2008-01-17 20:39:59 +00:00
castano
204d6381f3 Add warnings about functionllity not fully implemented. 2008-01-17 05:44:21 +00:00
castano
963b8e1541 Export more classes. 2008-01-17 05:34:58 +00:00
castano
f76e76cbe6 Export basic classes instead of exporting only their methods. 2008-01-17 05:32:50 +00:00
castano
7bf3927635 Fix red initialization for Capcon's trip. 2008-01-16 08:34:26 +00:00
castano
3e702e563b Add support for win64.
Disable PFM.
Disable Tokenizer.
2008-01-16 08:01:24 +00:00
castano
30f8ef09b5 use tabs 2008-01-16 01:31:24 +00:00
castano
a46a788760 Fix end of lines 2008-01-16 01:30:40 +00:00
castano
9c963172f3 Add support for Capcon's DXT trick by setting the red channel to 1 in the DXT5n mode. 2008-01-15 19:38:13 +00:00
castano
6587d05d72 Do not install nvconfig.h 2008-01-09 08:13:08 +00:00
castano
9d96f449bf Remove nvcore.h from nvtt.h 2008-01-07 19:08:17 +00:00
castano
33c09ae591 Fix DXT1a support. 2008-01-07 07:45:27 +00:00
castano
c02a5bb51f Incomplete DXT1a support. 2008-01-07 07:35:43 +00:00
castano
2903886498 Some progress with full DXT1a support.
Move quantization settings to compression options.
2008-01-07 07:28:00 +00:00
castano
f3a73e3de5 Small progress with ui. 2008-01-07 07:27:09 +00:00
castano
2b716b62da Add comments. 2008-01-07 07:26:40 +00:00
castano
4bd07aad38 Include right header files for sse only. 2008-01-06 02:32:18 +00:00
castano
e36287c607 some more experiments. 2008-01-06 01:57:43 +00:00
castano
5a33fedab5 experiment with the old 3dnow instruction set. 2008-01-06 01:31:49 +00:00
castano
49ee4eee93 ui fixes. 2007-12-17 09:09:08 +00:00
castano
5a27795621 Move DXT1G compressor to QuickCompress. 2007-12-17 08:12:11 +00:00
castano
a69589429e Do not build Qt tools if compiling with msvc. 2007-12-17 06:29:10 +00:00
castano
6861c7f681 Fix msvc warnings. 2007-12-17 06:28:43 +00:00
castano
f3dba01757 fix vc7 errors. 2007-12-17 06:28:18 +00:00
castano
26db14696a Fix cuda constant initialization. 2007-12-17 06:27:53 +00:00
castano
3f30093d02 Fix warnings. 2007-12-17 06:27:17 +00:00
castano
364663c49d Fix error. Wrong return value. 2007-12-17 06:27:03 +00:00
castano
eb96117989 Add ui tool temporarily called main... 2007-12-17 05:26:14 +00:00
castano
f78c32a383 Add filter test. 2007-12-17 05:24:32 +00:00
castano
df19be3a5d Do not set mipmap generation filter. 2007-12-17 05:21:49 +00:00
castano
6fa15f4e5b Output correct number of mipmaps.
Fix nvtt, remove deprecated attributes.
2007-12-17 05:19:55 +00:00
castano
9cfbb22d73 Update for API changes. 2007-12-17 04:10:58 +00:00
castano
cfa4913ae6 Add support for input rescaling:
- round extents to power of two.
- clamp max extents.
Add output options pimpl.
Other misc API changes.
2007-12-17 03:51:34 +00:00
castano
207bfe5336 Only compile the files from squish that are really needed. 2007-12-16 02:02:38 +00:00
castano
2307416b07 Fix build error. 2007-12-15 08:11:02 +00:00
castano
743599eb1d Fix fast box downsampling filter. 2007-12-15 06:52:17 +00:00
castano
a76e89d0d7 Fix more errors in the use of the color metric.
Remove debug code from compress.cpp
2007-12-13 06:36:23 +00:00
castano
6b016dae96 Fix color weighting metric. 2007-12-13 06:29:03 +00:00
castano
5946514408 Do not use CUDA on emulation devices. 2007-12-12 21:55:28 +00:00
castano
670310e558 Add benchmark, in progress. 2007-12-07 03:07:59 +00:00
castano
d3240ff992 Add triangle filter sampling. 2007-12-06 10:13:01 +00:00
castano
2b1d842c8d eliminate vc8 warnings. 2007-12-05 09:15:10 +00:00
castano
ebc0ff52fa Remove vc8 warnings. 2007-12-03 23:28:29 +00:00
castano
aefe11a5b4 Fix warnings. 2007-12-03 23:28:03 +00:00
castano
f8377cf7ed Remove msvc warnings. 2007-12-03 23:26:48 +00:00
castano
4373aa758b merge internal branch:
- some support for floating point images.
- Charles Bloom extrapolation filter.
- misc fixes.
2007-12-03 09:14:19 +00:00
castano
2e41727f81 merge internal branch. 2007-12-03 09:13:05 +00:00
castano
a3d1353646 fix cmake file. 2007-12-03 09:12:27 +00:00
castano
301f09e1d4 Add NV_DEPRECATE definition. 2007-12-03 08:38:56 +00:00
castano
a0d750702a Add ctest. 2007-12-03 08:37:48 +00:00
castano
ed04c2249a Remove warnings. 2007-12-03 08:36:02 +00:00
castano
2fec3e7695 Add nvzoom tool. 2007-12-03 08:35:03 +00:00
castano
067f3abf54 Cleanup filters. 2007-12-03 08:34:32 +00:00
castano
3359090581 Correct polyphase filters. 2007-12-02 10:31:37 +00:00
castano
4d51088d96 Add nvtt wrapper to project. 2007-11-30 21:33:45 +00:00
castano
1a14b8a1ba Add nvtt plain C wrapper. 2007-11-30 21:15:57 +00:00
castano
1d5d3d7270 disable gamma correction 2007-11-28 10:35:34 +00:00
castano
9175f4e407 Fix error in poshlib with mingw. 2007-11-28 10:35:09 +00:00
castano
c772a00b8f More progress with polyphase filters. 2007-11-28 10:34:40 +00:00
castano
fef6466c1c Fix downscale with polyphase filter. 2007-11-28 07:39:25 +00:00
castano
01e10c4c95 Add resize test. 2007-11-28 05:19:43 +00:00
castano
3ea9d12676 Some progress with polyphase filters. 2007-11-28 05:04:16 +00:00
castano
b1da728f93 Another gcc warning. 2007-11-27 08:37:18 +00:00
castano
9816ced5b7 Get rid of more gcc warnings. 2007-11-27 08:36:42 +00:00
castano
71788cc904 More gcc warnings. 2007-11-27 08:35:56 +00:00
castano
95a3b5dc77 Eliminate gcc warnings. 2007-11-27 08:35:31 +00:00
castano
d55631384c Remove old comments.
Fix errors discovered with -Wall.
2007-11-27 08:34:41 +00:00
castano
5a3bef85e3 Remove warning. 2007-11-27 08:33:55 +00:00
castano
f792eba40b Fix countMipmaps bug reported by Richard Sim. 2007-11-26 23:05:53 +00:00
castano
140bf1cb8c fix build in ppc 2007-11-22 21:49:33 +00:00
castano
c6df4e404a Add single color compressor from ryg.
Some progress with quick compressors.
2007-11-22 07:18:15 +00:00
castano
4e80c6430f minor edits. 2007-11-22 07:16:17 +00:00
castano
c36bf421f5 rename normalize to normalizeNormalMap 2007-11-22 01:52:10 +00:00
castano
fd9ae63a4f Add kaiser filter parameters. 2007-11-22 01:02:01 +00:00
castano
365ab33e61 Delete reference code. 2007-11-22 00:49:52 +00:00
castano
e0cf992ddb Don't use tabs for alignment, only for indentation. 2007-11-20 22:01:09 +00:00
castano
1b73dcaf7e Add interface to specify color transformations. 2007-11-16 11:52:29 +00:00
castano
5c95f5d5e6 Read output file name from stdin. 2007-11-16 11:24:57 +00:00
castano
854da30b8e Add nvassemble tool to create cubemaps, volumes, and texture arrays. 2007-11-16 11:05:17 +00:00
castano
98b2377a11 Merge internal branch. 2007-11-06 10:14:57 +00:00
castano
18c452a2a6 Add support for EXR files 2007-11-06 09:51:53 +00:00
castano
88c811fca5 remove old comments. 2007-11-05 10:01:34 +00:00
castano
b05689c8e3 Add support for saving exr files. Not tested.
Some cleanups.
2007-11-01 05:35:33 +00:00
castano
7fcda1fb41 recontruct normal more correctly... 2007-10-30 09:30:37 +00:00
castano
fc9538baf9 Precompute permutations. 2007-10-29 22:36:36 +00:00
castano
05fbcb1aa8 fix build errors 2007-10-29 20:49:12 +00:00
castano
51bd1bd12f Add normal diff option for normal maps.
Start dds assembling tool.
2007-10-25 08:49:23 +00:00
castano
645eda8fd4 Merge internal repository.
Delete TODO list, use issue list instead.
2007-10-16 20:53:12 +00:00
castano
fff7b3cf56 Fix z reconstruction. 2007-10-15 10:50:29 +00:00
castano
6cee7e2892 Fix loading of dds normal maps.
Fix computation of angular deviation.
2007-10-15 10:36:49 +00:00
castano
fbfc9c2bc1 Add normal error to imgdiff.
Rename dxtlib.cpp to nvtt.cpp
2007-10-14 09:44:52 +00:00
castano
e34a12a46f flatten tree. 2007-10-14 08:58:24 +00:00
castano
b553bb11b8 remove redundant code. 2007-10-12 06:25:18 +00:00
castano
4d0eaf93c4 Add silent flag to disable progress output. Fixes issue 17. 2007-10-12 06:13:56 +00:00
castano
dbe3546690 small fixes. 2007-10-10 23:59:08 +00:00
castano
44e6560111 Fix vc8 warnings. 2007-10-10 17:06:42 +00:00
castano
36ee0aee8d Fix error, do not report that RGB images are not supported. 2007-10-08 10:05:43 +00:00
castano
4b0fca6eca Fix endiannes error. 2007-10-08 03:21:03 +00:00
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
2007-10-08 00:56:58 +00:00
castano
c9c7c42d2b Add support for unpacking arbitrary pixel formats. 2007-09-26 18:00:41 +00:00
castano
3c6cc7cfad Fix whitespaces. 2007-09-20 06:18:23 +00:00
castano
6339a585e2 Update changelog
Remove compiler warnings
2007-09-15 07:11:59 +00:00
castano
13335f3d97 Move fast DXT1a compressor to QuickCompress. 2007-09-05 09:18:12 +00:00
castano
793611fe7f Move endpoint optimization to QuickCompress. 2007-09-05 00:12:59 +00:00
castano
a19df8721d Start using refactored fast compressor.
Fix error with DX10 headers.
2007-09-04 22:46:15 +00:00
castano
d1d71dd2b3 Fix a couple of errors.
Disable cone mapping, it is not ready yet.
2007-09-04 21:48:49 +00:00
castano
0008199435 Add dxt1a fast compressor.
Cleanup fast compressors, move them to QuickCompress.
2007-09-04 10:00:32 +00:00
castano
da3a43ba2e Start adding some support for DX10 DDS files. 2007-08-31 07:52:27 +00:00
castano
6164174325 Start adding support cone maps. 2007-08-23 02:11:15 +00:00
castano
ee28a5a37b Fix memory leaks. 2007-08-06 19:48:52 +00:00
castano
6cdfaaca58 Fix PSD file format support. Read stream in big endian format. 2007-07-26 10:39:18 +00:00
castano
2ea2aaaf4d start adding some support for ctx1 and other fixes. 2007-07-22 06:09:14 +00:00
castano
1308795378 RGB conversion fixes. 2007-07-17 10:00:48 +00:00
castano
2cc70162dd Do not select d3dformat according to pfd. 2007-07-17 09:34:06 +00:00
castano
41db8b8c72 validate setPixelFormat arguments. 2007-07-17 09:28:35 +00:00
castano
1cdcea3164 Add support for arbitrary rgb pixel formats. 2007-07-17 09:16:28 +00:00
castano
cc5bb56f3f Fix PSNR formula. 2007-07-17 01:53:56 +00:00
castano
e341366aa0 Init color block from block linear image. 2007-07-09 10:32:39 +00:00
castano
1548c2ed80 Enable support for DXT3 and DXT5 accelerated compressors. 2007-07-09 10:31:54 +00:00
castano
31c9ef0413 DXT3 and DXT5 cuda compressors. 2007-07-09 10:30:16 +00:00
castano
83490b0b66 diff images with alpha channels. 2007-07-08 09:50:30 +00:00
castano
50a71f78b5 Fix errors and optimize kernel. 2007-07-08 09:46:18 +00:00
castano
25f977318f remove poshlib tests 2007-07-08 08:11:30 +00:00
castano
0cbe2baaa5 Remove poshlib tests 2007-07-08 08:11:01 +00:00
castano
cf1d93ebf4 Sync with perforce repository.
Several bugfixes in nvcore.
Add imgdiff to cmakefiles and fix compilation errors on linux.
2007-07-08 08:08:52 +00:00
castano
9fe9f6cc7a Diff utility functional. 2007-07-02 10:45:25 +00:00
castano
c99d46850b Start work on imgdiff tool. 2007-07-02 09:10:33 +00:00
castano
68b0c2697c Add support for loading PSD files.
Add missing files.
2007-07-02 07:27:23 +00:00
castano
b2252fc828 sync with private repository. 2007-07-01 08:52:38 +00:00
castano
8f7086a8ee Apply amorilia's patch. 2007-06-21 08:37:36 +00:00
castano
45235ab1ea Add nvdecompress contributed by amorilia.gamebox. 2007-06-21 08:19:30 +00:00
castano
c4c6b95a50 Fixes for linux64 2007-06-17 06:47:36 +00:00
castano
acbebcc444 fix debug:dumpInfo, backtrace is not available on win32. 2007-05-30 08:52:35 +00:00
castano
fed650036d Make debug code work on darwin. 2007-05-29 11:01:29 +00:00
castano
37d42d300b Get instruction pointer correctly on Darwin. 2007-05-29 10:53:03 +00:00
castano
95332efaa2 Fixes to compute the instruction pointer correctly after a signal. Not sure it works properly. 2007-05-29 09:43:30 +00:00
castano
f1f944f06c Make some progress in separable convolution kernel in CUDA. 2007-05-24 09:57:16 +00:00
castano
55997ba442 some progress in DXT5 cuda compressor. 2007-05-20 10:37:32 +00:00
castano
16641fc6a6 small fix in brute force green compressor. 2007-05-20 10:36:26 +00:00
castano
3d3409e666 Cleanup CUDA compressor. 2007-05-19 22:07:51 +00:00
castano
2c1b75d8f3 - Fix build.
- Add D3DFMTs.
- Add BlockATI#.
2007-05-19 09:45:58 +00:00
castano
3422f2e300 Define more flags. 2007-05-18 23:42:44 +00:00
castano
6df5bd93ae Read block images from DDS file. 2007-05-18 11:12:37 +00:00
castano
51a24b88a3 fix include header.
return true in isSupported()
2007-05-18 11:06:09 +00:00
castano
d0f711c0ae More progress in DDS input support. 2007-05-18 08:42:23 +00:00
castano
de94fce1ce Fix normal map mipmap generation. 2007-05-18 02:19:51 +00:00
castano
5135f30d8e Add ddsinfo utility. 2007-05-17 21:41:10 +00:00
castano
ceef4c3ec0 More progress in DDS read support. 2007-05-17 09:08:36 +00:00
castano
babb7e8df7 - weighted cuda compressor.
- faster and better BC3n compressor
- add normal map flag to DDS files that store normal maps.
- stop using RXGB fourcc code.
- move tools to tools/
- add temptative config dialog for UI based tool. 
- add experimental normal map mipmap generation.
- start adding support for input dds files in nvcompress.
- many other small fixes and cleanup.
2007-05-17 00:11:38 +00:00
castano
7543dd1efa Import all sources from perforce. 2007-04-17 08:49:19 +00:00