Lightweight fork of libsquish (DXT library)
Go to file
Jack Andersen 96c520ed95 Decompress transparent color using midpoint color 2019-03-02 20:16:44 -10:00
CMakeModules Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
CMakeLists.txt simplified CMakeLists.txt for in-tree use 2015-09-02 08:51:20 -10:00
ChangeLog Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
LICENSE Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
README Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
alpha.cpp Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
alpha.h Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
clusterfit.cpp kDxt1GCN flag 2015-07-19 10:47:24 -10:00
clusterfit.h Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
colourblock.cpp Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
colourblock.h Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
colourblockGCN.cpp Decompress transparent color using midpoint color 2019-03-02 20:16:44 -10:00
colourblockGCN.h Added change comments 2015-07-18 23:14:23 -10:00
colourfit.cpp kDxt1GCN flag 2015-07-19 10:47:24 -10:00
colourfit.h Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
colourset.cpp kDxt1GCN flag 2015-07-19 10:47:24 -10:00
colourset.h Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
config.h Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
maths.cpp Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
maths.h Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
rangefit.cpp kDxt1GCN flag 2015-07-19 10:47:24 -10:00
rangefit.h Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
simd.h Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
simd_float.h Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
simd_sse.h Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
simd_ve.h Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
singlecolourfit.cpp kDxt1GCN flag 2015-07-19 10:47:24 -10:00
singlecolourfit.h Lightweight Commit of libsquish 2015-04-04 13:19:51 -10:00
singlecolourlookup.inl Added missing source file 2015-04-04 13:21:02 -10:00
squish.cpp kDxt1GCN flag 2015-07-19 10:47:24 -10:00
squish.h kDxt1GCN flag 2015-07-19 10:47:24 -10:00

README

LICENSE
-------

The squish library is distributed under the terms and conditions of the MIT
license. This license is specified at the top of each source file and must be
preserved in its entirety.

BUILDING AND INSTALLING THE LIBRARY
-----------------------------------

If you are using Visual Studio 2003 or above under Windows then load the Visual
Studio 2003 project in the vs7 folder. By default, the library is built using
SSE2 optimisations. To change this either change or remove the SQUISH_USE_SSE=2
from the preprocessor symbols.

If you are using a Mac then load the Xcode 2.2 project in the distribution. By
default, the library is built using Altivec optimisations. To change this
either change or remove SQUISH_USE_ALTIVEC=1 from the preprocessor symbols. I
guess I'll have to think about changing this for the new Intel Macs that are
rolling out...

If you are using unix then first edit the config file in the base directory of
the distribution, enabling Altivec or SSE with the USE_ALTIVEC or USE_SSE
variables, and editing the optimisation flags passed to the C++ compiler if
necessary. Then make can be used to build the library, and make install (from
the superuser account) can be used to install (into /usr/local by default).

REPORTING BUGS OR FEATURE REQUESTS
----------------------------------

Feedback can be sent to Simon Brown (the developer) at si@sjbrown.co.uk

New releases are announced on the squish library homepage at
http://sjbrown.co.uk/?code=squish