Branimir Karadžić f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
..
LICENSE f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
README f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
alpha.cpp f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
alpha.h f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
clusterfit.cpp f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
clusterfit.h f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
colourblock.cpp f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
colourblock.h f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
colourfit.cpp f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
colourfit.h f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
colourset.cpp f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
colourset.h f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
config.h f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
maths.cpp f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
maths.h f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
rangefit.cpp f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
rangefit.h f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
simd.h f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
simd_float.h f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
singlecolourfit.cpp f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
singlecolourfit.h f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
singlecolourlookup.inl f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
squish.cpp f475cf0623 Moved image code from bgfx into bimg library. 8 years ago
squish.h f475cf0623 Moved image code from bgfx into bimg library. 8 years ago

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 [email protected]

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