graphics/s2tc 1.0+20151228_5
Subset of a well-known texture compression scheme
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- graphics
- Package size
- 71.1 KiB, 650.8 KiB installed
Description
S2TC's format specification is very easy to implement, so it is not hard to make a working compressor or decompressor for it. It is based on Color Cell Compression[1] from 1986, and decoding is done entirely using the methods from there. Encoding is done using a search and refinement method that is derived from the methods described in that paper.
This also makes this format a great platform for learning about texture compression and how to tune a compressor for best quality.
S2TC is especially well suited for runtime (on-load) compression of textures, as it is - in low quality settings - way faster than any other texture compressors out there.
Install
As a binary package — by origin, or by package name:
pkg install graphics/s2tc
pkg install s2tc
From the ports tree:
cd /usr/ports/graphics/s2tc/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= s2tc>0:graphics/s2tc
LIB_DEPENDS= libtxc_dxtn.so:graphics/s2tc
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0+20151228_5 | 1.0+20151228_5 | 1.0+20151228_2 | 1.0+20151228_5 | 1.0+20151228_5 |
| FreeBSD:14:quarterly | 1.0+20151228_5 | 1.0+20151228_5 | n/a | 1.0+20151228_5 | 1.0+20151228_5 |
| FreeBSD:15:latest | 1.0+20151228_5 | 1.0+20151228_5 | n/a | 1.0+20151228_5 | 1.0+20151228_5 |
| FreeBSD:15:quarterly | 1.0+20151228_5 | 1.0+20151228_5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0+20151228_5 | 1.0+20151228_5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
libglvnd>=0: graphics/libglvnd
Test 2
nvcompress: graphics/nvidia-texture-toolswget: ftp/wget
The full lists below include those, and their dependencies in turn.
All build dependencies 15
No port depends on this one.
Configuration
No options to configure.
- USES
- autoreconf libtool magick:6,test pathfix
- Service scripts
- none
Message after installing
Files
Manual pages 3
- s2tc_compress(1)
- s2tc_decompress(1)
- s2tc_from_s3tc(1)
pkg-plist 10
- bin/s2tc_compress
- bin/s2tc_decompress
- bin/s2tc_from_s3tc
- include/txc_dxtn.h
- lib/libtxc_dxtn.a
- lib/libtxc_dxtn.so
- libdata/pkgconfig/txc_dxtn.pc
- share/man/man1/s2tc_compress.1.gz
- share/man/man1/s2tc_decompress.1.gz
- share/man/man1/s2tc_from_s3tc.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| divVerent-s2tc-1.0+20151228-f6ec862_GH0.tar.gz | 1.398883e+06 | 5785b81e2254e08f810ddb26acc5c6fd39631f94e9993fc0ee5807d802a2d4cb |
Commit history 0
No commits in the history this site was built from.