Log of /trunk/ddswrite.c
Parent Directory
Revision
120 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 11 19:05:16 2008 UTC (12 months, 1 week ago) by
cocidius
File length: 52313 byte(s)
Diff to
previous 117
* Fix some gcc 4.3 warnings
* Corrected mipmap image generation for DXT compressed images when mipmap
image has a dimension smaller than 4 pixels
Revision
116 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 30 15:46:00 2008 UTC (17 months, 3 weeks ago) by
cocidius
File length: 52313 byte(s)
Diff to
previous 115
Allow saving compressed images with non-power-of-two dimensions. Dimensions
must be multiples of 4 though, and no mipmaps can be generated.
Revision
99 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 11 00:54:26 2008 UTC (19 months, 1 week ago) by
cocidius
File length: 49902 byte(s)
Diff to
previous 98
* Updated README, LICENSE and INSTALL
* Updated information in file headers (email address, copyright)
* An optimization for the refine_block() function in dxt.c (Thanks to Fabian
Giesen ('ryg'))
Revision
96 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 30 00:54:05 2007 UTC (23 months, 3 weeks ago) by
cocidius
File length: 49826 byte(s)
Diff to
previous 94
* Added a dialog when interactively loading images for various load time
options (load mipmaps, etc...).
Revision
94 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 29 05:09:50 2007 UTC (23 months, 3 weeks ago) by
cocidius
File length: 49238 byte(s)
Diff to
previous 93
* Don't use DDPF_ALPHAPIXELS in pixel format flags when writing A8 images
* Dropped lookup tables when unpacking RGB565 in dxt.c
* Updated mktables.c to not write expand5 and expand6 lookup tables
* Updated makefiles
Revision
92 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 9 22:13:31 2007 UTC (2 years ago) by
cocidius
File length: 49354 byte(s)
Diff to
previous 91
Fixed reading and writing A8 image formats. Now correctly uses the
DDPF_ALPHA flag in the pixel format header.
Revision
84 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 7 21:31:06 2007 UTC (2 years ago) by
cocidius
File length: 48825 byte(s)
Diff to
previous 81
Added a YCoCg scaled compression format. It's the same as normal YCoCg,
except with extra color precision stored in the blue bits. Use YCoCg for
high quality with alpha stored in the blue channel at the cost of some color
precision, and YCoCg scaled for the highest color precision without alpha.
Revision
73 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 2 20:30:23 2007 UTC (2 years ago) by
cocidius
File length: 48213 byte(s)
Diff to
previous 71
* Added advanced options to save dialog to allow choice of the color
selection algorithm used in the DXT compressor, as well as whether or not to
operate on dithered blocks.
* Added distance, luminance and inset bounding box color selection
algorithms to DXT compressor.
* Updated non-interactive interface to allow use of new advanced options
Revision
67 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 1 00:55:16 2007 UTC (2 years ago) by
cocidius
File length: 43066 byte(s)
Diff to
previous 66
Fixed a bug in the DXTn compressor. All pixels sent to dxt_compress with a
bpp >= 3 are assumed to be in BGR[A] order.
Revision
66 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 1 00:42:49 2007 UTC (2 years ago) by
cocidius
File length: 43066 byte(s)
Diff to
previous 64
* Moved OpenGL specific code to opengl.c
* Finished new compression backend. Now fully in portable ANSI C code, no
longer needs OpenGL to do compression/decompression, removes requirement for
the external DXTn compression library for software compression.
Revision
53 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 31 18:30:42 2007 UTC (2 years, 9 months ago) by
cocidius
File length: 41708 byte(s)
Diff to
previous 52
* Fixed non-interactive saving
* Added option to save dialog to choose the transparent color index when
saving paletted images.
Revision
43 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 25 00:10:36 2006 UTC (3 years, 2 months ago) by
cocidius
File length: 39700 byte(s)
Diff to
previous 39
* Added support for ATI's 3Dc compression format for both reading and writing, as well as both hardware and software compression.
Revision
39 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 22 01:08:38 2006 UTC (3 years, 3 months ago) by
cocidius
File length: 39457 byte(s)
Diff to
previous 36
* Moved the endian-safe memory to integer casting macros out of ddsplugin.h and into newly created file endian.h
* Added optional software decompression routines to dxt.c. Compression routines to follow shortly...
* Various code cleanups and Makefile modifications
Revision
36 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 9 00:57:00 2006 UTC (3 years, 3 months ago) by
cocidius
File length: 39418 byte(s)
Diff to
previous 35
* Removed dependence on the SGIS_generate_mipmap extension. It will only be used if it is available.
* Cleaned up mipmap generation code
Revision
35 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 3 07:12:31 2006 UTC (3 years, 3 months ago) by
cocidius
File length: 41389 byte(s)
Diff to
previous 34
* Added support for non-power-of-two volume maps with mipmap generation
* Fixed mipmap generation for indexed volume maps
Revision
33 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 3 01:23:31 2006 UTC (3 years, 3 months ago) by
cocidius
File length: 41365 byte(s)
Diff to
previous 31
* Added support for writing volume map mipmap chains for indexed images (not very good ATM)
* Pre-convert indexed images to RGB for better quality mipmaps if a pixel format conversion is requested
Revision
31 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 1 10:49:21 2006 UTC (3 years, 3 months ago) by
cocidius
File length: 39708 byte(s)
Diff to
previous 30
* Fixed indexed image writing. It was not writing the proper amount of
palette entries when the number of entries was less than 256.
* Fixed indexed image mipmap generation.
Revision
28 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 28 20:32:44 2006 UTC (3 years, 3 months ago) by
cocidius
File length: 38911 byte(s)
Diff to
previous 23
- Added proper read support for 8-bit paletted images. They are now read
into an indexed gimp image.
- Added write support for indexed images
Revision
23 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 13 20:45:49 2005 UTC (4 years, 1 month ago) by
cocidius
File length: 36572 byte(s)
Diff to
previous 19
* Added L8 and L8A8 pixel formats
* Fixed all pixel formats when writing images. All images saved with the
plugin should be compatible with various DDS tools out there (tested with
the DirectX DDS viewer, and nVidia's image converter)
Revision
19 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 16 00:19:20 2005 UTC (4 years, 2 months ago) by
cocidius
File length: 34462 byte(s)
Diff to
previous 17
* Added ability to save in a custom pixel format
* Added ability to load the custom pixel formats
Revision
12 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 14 21:51:36 2005 UTC (4 years, 2 months ago) by
cocidius
File length: 23759 byte(s)
Diff to
previous 11
A few more fixes:
* Fixed grayscale and gray-alpha loading for REAL this time.
* Disable compression for volume maps (for now...)
* Fixed mipmap saving (oops!)
Revision
11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 14 20:31:02 2005 UTC (4 years, 2 months ago) by
cocidius
File length: 23943 byte(s)
Diff to
previous 7
Gearing up for the next release with a slug of new features:
* Added support for writing grayscale and gray-alpha images
* Added support for writing cube maps (Image must have 6 layers,
all the same size and pixel format. Cube faces controlled by layer name
contents, see documentation.)
* Added support for writing volume maps (Image must have > 1 layer,
all the same size and pixel format). Volume map compression is currently
not supported. Mipmap support is scetchy ATM. If your image's layer count
is a power of two and the image dimensions are a power of two, everything
should work fine using SGIS_generate_mipmap. If your layer count or image
dimensions are not a power of two, then mipmap generation will likely fail
unless your video card supports ARB_texture_non_power_of_two. A fix for
this will soon follow.
* Fixed volume map loading
* Cleaned up layer naming convention when loading images with mipmaps or
multiple layers (cube and volume maps)
Revision
7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 13 05:36:28 2005 UTC (4 years, 7 months ago) by
cocidius
File length: 16080 byte(s)
Diff to
previous 4
- Disabled compression when saving an image with non power-of-2 dimensions
(not compatible with S3TC compression)
- Added mipmap generation for images with non power-of-2 dimensions using
GdkPixbuf
Revision
4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 23 00:03:58 2004 UTC (5 years, 1 month ago) by
cocidius
File length: 15739 byte(s)
Diff to
previous 3
Added feature to swap red and alpha channels on save. This helps preserve
quality when saving normal maps in compressed DXT5 format.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.