FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0+20151228_51.0+20151228_51.0+20151228_21.0+20151228_51.0+20151228_5
FreeBSD:14:quarterly1.0+20151228_51.0+20151228_5n/a1.0+20151228_51.0+20151228_5
FreeBSD:15:latest1.0+20151228_51.0+20151228_5n/a1.0+20151228_51.0+20151228_5
FreeBSD:15:quarterly1.0+20151228_51.0+20151228_5n/an/an/a
FreeBSD:16:latest1.0+20151228_51.0+20151228_5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Test 2

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

===>   NOTICE:

The s2tc port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

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
FileSizeSHA256
divVerent-s2tc-1.0+20151228-f6ec862_GH0.tar.gz1.398883e+065785b81e2254e08f810ddb26acc5c6fd39631f94e9993fc0ee5807d802a2d4cb

Commit history 0

No commits in the history this site was built from.