Log of /tags/release-2.0.5/dxt.c
Parent Directory
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
Original Path:
trunk/dxt.c
File length: 33034 byte(s)
Diff to
previous 94
* 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
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
Original Path:
trunk/dxt.c
File length: 32489 byte(s)
Diff to
previous 90
* 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
84 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 7 21:31:06 2007 UTC (2 years ago) by
cocidius
Original Path:
trunk/dxt.c
File length: 32283 byte(s)
Diff to
previous 83
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
Original Path:
trunk/dxt.c
File length: 25543 byte(s)
Diff to
previous 72
* 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
66 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 1 00:42:49 2007 UTC (2 years ago) by
cocidius
Original Path:
trunk/dxt.c
File length: 20752 byte(s)
Diff to
previous 65
* 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
49 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 8 07:24:20 2006 UTC (3 years, 2 months ago) by
cocidius
Original Path:
trunk/dxt.c
File length: 36353 byte(s)
Diff to
previous 48
* When reading compressed images, zero out destination buffer and fill alpha
channel with full opacity before decompressing. This is mainly for 3Dc
compressed images, as the blue channel should be zero and the alpha channel
fully opaque.
* Some more cleanup for 3Dc compression
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
Original Path:
trunk/dxt.c
File length: 32517 byte(s)
Diff to
previous 42
* Added support for ATI's 3Dc compression format for both reading and writing, as well as both hardware and software compression.
Revision
40 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 24 01:24:55 2006 UTC (3 years, 2 months ago) by
cocidius
Original Path:
trunk/dxt.c
File length: 28565 byte(s)
Diff to
previous 39
* Added software compression support via external library "libtxc_dxtn". Too many ugly IP issues involved to add compression routines directly to the source code and still be able to supply binary distributions of the plugin. Software patents suck. :(
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
Original Path:
trunk/dxt.c
File length: 25250 byte(s)
Diff to
previous 37
* 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
Original Path:
trunk/dxt.c
File length: 21813 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
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
Original Path:
trunk/dxt.c
File length: 12983 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
Original Path:
trunk/dxt.c
File length: 11416 byte(s)
Diff to
previous 29
* 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
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
Original Path:
trunk/dxt.c
File length: 9928 byte(s)
Diff to
previous 22
* 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
21 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 6 22:49:16 2005 UTC (4 years, 1 month ago) by
cocidius
Original Path:
trunk/dxt.c
File length: 9812 byte(s)
Diff to
previous 20
dxt.c: scale_image() now uses cubic filtering rather than linear. Should
help produce higher quality mipmaps for hardware that doesn't support
ARB_texture_non_power_of_two with auto-mipmap gen.
Revision
20 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 16 06:10:00 2005 UTC (4 years, 2 months ago) by
cocidius
Original Path:
trunk/dxt.c
File length: 8512 byte(s)
Diff to
previous 14
* Switched to the GLEW library to handle extension loading and checking
* Added build support for Windows with a MinGW environment
* Updated dependencies in INSTALL
* Added Windows MinGW build instructions to INSTALL
* Added Windows MinGW build rules to Makefile
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
Original Path:
trunk/dxt.c
File length: 8617 byte(s)
Diff to
previous 10
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
10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 13 07:13:06 2005 UTC (4 years, 7 months ago) by
cocidius
Original Path:
trunk/dxt.c
File length: 7156 byte(s)
Diff to
previous 8
Removed GdkPixbuf image scaling for non power-of-2 mipmap generation (too
slow, buggy), and substituted with a hand-rolled image scaling routine.
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
Original Path:
trunk/dxt.c
File length: 6530 byte(s)
Diff to
previous 2
- 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
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.