GameTechDev / ISPCTextureCompressor

ISPC Texture Compressor
MIT License
437 stars 97 forks source link
ispc tool

DISCONTINUATION OF PROJECT

This project will no longer be maintained by Intel.
Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.
Intel no longer accepts patches to this project.
If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the open source software community, please create your own fork of this project.

Fast ISPC Texture Compressor

This repository contains a texture compression library for the following formats:

The library uses the ISPC compiler to generate CPU SIMD-optimized compression algorithms. For more information, see the Fast ISPC Texture Compressor article on Intel Developer Zone.

Sample screenshot

License

Copyright 2017-2023 Intel Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Contributing

Please see CONTRIBUTING for information on how to request features, report issues, or contribute code changes.

Build Instructions

Binaries for ISPC v1.9.2 need to be obtained separately (e.g., from the ISPC repo or the SourceForge mirror). Download the appropriate compiler for your target, and place the binary in the following directories:

Source for the ISPC Texture Compressor library is under ispc_texcomp/.

Source for a sample that demonstrates the tradeoffs between the supported compression variants is under ISPC Texture Compressor/.

Windows

Mac OS X:

Linux: