OSDN Git Service

android-x86/external-s2tc.git
11 years agoFix crash with ETQW and Quake 4
Laurent Carlier [Mon, 17 Dec 2012 08:59:52 +0000 (09:59 +0100)]
Fix crash with ETQW and Quake 4

12 years agofix DXT5a dithering
Rudolf Polzer [Tue, 9 Aug 2011 12:51:33 +0000 (14:51 +0200)]
fix DXT5a dithering

12 years agofix a bug in reading DXT5-alpha
Rudolf Polzer [Tue, 9 Aug 2011 12:45:01 +0000 (14:45 +0200)]
fix a bug in reading DXT5-alpha

12 years agoalso test s2tc_from_s3tc
Rudolf Polzer [Tue, 9 Aug 2011 12:20:43 +0000 (14:20 +0200)]
also test s2tc_from_s3tc

12 years agoadd s2tc_from_s3tc
Rudolf Polzer [Tue, 9 Aug 2011 11:56:51 +0000 (13:56 +0200)]
add s2tc_from_s3tc

This is a tool to convert existing S3TC to S2TC using a simple binary shift
operation (warning: LOWER quality than decompressing and actually
recompressing!)

13 years agoRefactor the code to provide a better framework for compression techniques; also...
Rudolf Polzer [Fri, 22 Jul 2011 08:14:49 +0000 (10:14 +0200)]
Refactor the code to provide a better framework for compression techniques; also yields a small performance improvement

13 years agomake the compiler test really work
Rudolf Polzer [Tue, 19 Jul 2011 19:07:53 +0000 (21:07 +0200)]
make the compiler test really work

13 years agorename a column title to make compiler benchmark work
Rudolf Polzer [Tue, 19 Jul 2011 18:55:41 +0000 (20:55 +0200)]
rename a column title to make compiler benchmark work

13 years agoit probably isn't worth to have MODE_NORMAL and MODE_RANDOM separately compiled
Rudolf Polzer [Tue, 19 Jul 2011 18:11:01 +0000 (20:11 +0200)]
it probably isn't worth to have MODE_NORMAL and MODE_RANDOM separately compiled

these modes are already quite slow, no need to have the compiler waste a lot of compile runs for their templates

13 years agoget rid of REFINE_CHECK mode as it has no real advantage over REFINE_LOOP and just...
Rudolf Polzer [Tue, 19 Jul 2011 17:45:43 +0000 (19:45 +0200)]
get rid of REFINE_CHECK mode as it has no real advantage over REFINE_LOOP and just slows down the compile

13 years agouse RGB color order internally now
Rudolf Polzer [Tue, 19 Jul 2011 17:38:21 +0000 (19:38 +0200)]
use RGB color order internally now

13 years agoremove "int bgr" argument from 565 color reduction
Rudolf Polzer [Tue, 19 Jul 2011 17:33:47 +0000 (19:33 +0200)]
remove "int bgr" argument from 565 color reduction

13 years agoanother LAB
Rudolf Polzer [Tue, 19 Jul 2011 17:28:56 +0000 (19:28 +0200)]
another LAB

13 years agoalpha 0 pixels are always important (think color filtering, unexpected blend functions)
Rudolf Polzer [Tue, 19 Jul 2011 17:26:36 +0000 (19:26 +0200)]
alpha 0 pixels are always important (think color filtering, unexpected blend functions)

13 years agofix file opening bug in s2tc_decompress
Rudolf Polzer [Tue, 19 Jul 2011 17:23:10 +0000 (19:23 +0200)]
fix file opening bug in s2tc_decompress

13 years agoremove L*a*b* colorspace support - not working well, and slows down compiling
Rudolf Polzer [Tue, 19 Jul 2011 17:22:44 +0000 (19:22 +0200)]
remove L*a*b* colorspace support - not working well, and slows down compiling

13 years agomake decoding of S2TC alpha more strict
Rudolf Polzer [Tue, 19 Jul 2011 16:09:32 +0000 (18:09 +0200)]
make decoding of S2TC alpha more strict

13 years agoset LD_LIBRARY_PATH
Rudolf Polzer [Tue, 19 Jul 2011 12:24:15 +0000 (14:24 +0200)]
set LD_LIBRARY_PATH

13 years agomakes the lines less wide
Rudolf Polzer [Tue, 19 Jul 2011 12:05:55 +0000 (14:05 +0200)]
makes the lines less wide

13 years agos2tc_decompress: do proper option parsing too
Rudolf Polzer [Tue, 19 Jul 2011 10:34:31 +0000 (12:34 +0200)]
s2tc_decompress: do proper option parsing too

13 years agos2tc_compress: add a -l option to specify the library to load
Rudolf Polzer [Tue, 19 Jul 2011 10:29:25 +0000 (12:29 +0200)]
s2tc_compress: add a -l option to specify the library to load

13 years agomore header tests
Rudolf Polzer [Tue, 19 Jul 2011 10:24:04 +0000 (12:24 +0200)]
more header tests

13 years agoMake it possible to separately build libtxc_dxtn or s2tc_*
Rudolf Polzer [Tue, 19 Jul 2011 09:21:40 +0000 (11:21 +0200)]
Make it possible to separately build libtxc_dxtn or s2tc_*

13 years agofix a bug in floyd steinberg
Rudolf Polzer [Mon, 18 Jul 2011 13:32:24 +0000 (15:32 +0200)]
fix a bug in floyd steinberg

13 years agoadd support for floyd steinberg
Rudolf Polzer [Mon, 18 Jul 2011 12:53:09 +0000 (14:53 +0200)]
add support for floyd steinberg

13 years agocan't specialize function templates, ugh
Rudolf Polzer [Mon, 18 Jul 2011 11:49:57 +0000 (13:49 +0200)]
can't specialize function templates, ugh

13 years agotemplateify dithering
Rudolf Polzer [Mon, 18 Jul 2011 11:43:36 +0000 (13:43 +0200)]
templateify dithering

13 years agoproperly mark everything as MIT licensed
Rudolf Polzer [Mon, 18 Jul 2011 10:41:17 +0000 (12:41 +0200)]
properly mark everything as MIT licensed

13 years agoremove some useless stuff
Rudolf Polzer [Sun, 17 Jul 2011 14:38:16 +0000 (16:38 +0200)]
remove some useless stuff

13 years agoallow to set the use_ vars individually
Rudolf Polzer [Sun, 17 Jul 2011 14:33:57 +0000 (16:33 +0200)]
allow to set the use_ vars individually

13 years agosimplify the HTML
Rudolf Polzer [Sun, 17 Jul 2011 14:32:37 +0000 (16:32 +0200)]
simplify the HTML

13 years agoalso test 4bpp reduction
Rudolf Polzer [Sun, 17 Jul 2011 14:24:56 +0000 (16:24 +0200)]
also test 4bpp reduction

13 years agoreplace the README by the env variables for now
Rudolf Polzer [Sun, 17 Jul 2011 12:53:16 +0000 (14:53 +0200)]
replace the README by the env variables for now

13 years agofix a typo
Rudolf Polzer [Sun, 17 Jul 2011 06:07:24 +0000 (08:07 +0200)]
fix a typo

13 years agoclean up a bit (binary now renamed to s2tc_compress)
Rudolf Polzer [Sat, 16 Jul 2011 20:18:29 +0000 (22:18 +0200)]
clean up a bit (binary now renamed to s2tc_compress)

13 years agodetect alphapixels
Rudolf Polzer [Sat, 16 Jul 2011 18:39:15 +0000 (20:39 +0200)]
detect alphapixels

13 years agomake the DDS files more similar to Compressonator's
Rudolf Polzer [Sat, 16 Jul 2011 18:34:41 +0000 (20:34 +0200)]
make the DDS files more similar to Compressonator's

13 years agoset the alphapixels flag
Rudolf Polzer [Sat, 16 Jul 2011 15:26:31 +0000 (17:26 +0200)]
set the alphapixels flag

13 years agoupdate README a bit
Rudolf Polzer [Sat, 16 Jul 2011 12:59:16 +0000 (14:59 +0200)]
update README a bit

13 years agoDXT1 needs a workaround here
Rudolf Polzer [Sat, 16 Jul 2011 12:07:03 +0000 (14:07 +0200)]
DXT1 needs a workaround here

13 years agofix an inverse logic bug
Rudolf Polzer [Sat, 16 Jul 2011 11:55:02 +0000 (13:55 +0200)]
fix an inverse logic bug

13 years agoREFINE_LOOP: minor improvement
Rudolf Polzer [Sat, 16 Jul 2011 11:43:54 +0000 (13:43 +0200)]
REFINE_LOOP: minor improvement

13 years agosupport icc
Rudolf Polzer [Sat, 16 Jul 2011 08:29:24 +0000 (10:29 +0200)]
support icc

13 years agoekopath fails on arch linux
Rudolf Polzer [Sat, 16 Jul 2011 06:40:42 +0000 (08:40 +0200)]
ekopath fails on arch linux

13 years agoadd the compiler benchmark
Rudolf Polzer [Sat, 16 Jul 2011 06:24:37 +0000 (08:24 +0200)]
add the compiler benchmark

13 years agobetter test framework for compiler testing
Rudolf Polzer [Sat, 16 Jul 2011 06:13:46 +0000 (08:13 +0200)]
better test framework for compiler testing

13 years agouse REAL compile time constant templates
Rudolf Polzer [Sat, 16 Jul 2011 05:53:44 +0000 (07:53 +0200)]
use REAL compile time constant templates

13 years agoREFINE_LOOP: actually do loop, as this DOES do something even for simple weight functions
Rudolf Polzer [Fri, 15 Jul 2011 22:38:31 +0000 (00:38 +0200)]
REFINE_LOOP: actually do loop, as this DOES do something even for simple weight functions

13 years agoadd another test: refinement loop based on lowest quality
Rudolf Polzer [Fri, 15 Jul 2011 22:32:46 +0000 (00:32 +0200)]
add another test: refinement loop based on lowest quality

13 years agoget rid of some divisions we really don't need
Rudolf Polzer [Fri, 15 Jul 2011 21:45:43 +0000 (23:45 +0200)]
get rid of some divisions we really don't need

13 years agoget rid of clang warnings
Rudolf Polzer [Fri, 15 Jul 2011 21:07:53 +0000 (23:07 +0200)]
get rid of clang warnings

13 years agooptimize _normalmap mode a bit
Rudolf Polzer [Fri, 15 Jul 2011 18:01:14 +0000 (20:01 +0200)]
optimize _normalmap mode a bit

13 years agouse rm -f
Rudolf Polzer [Fri, 15 Jul 2011 12:04:20 +0000 (14:04 +0200)]
use rm -f

13 years agoMODE_FAST: don't include the first pixel's color if transparent
Rudolf Polzer [Fri, 15 Jul 2011 11:43:32 +0000 (13:43 +0200)]
MODE_FAST: don't include the first pixel's color if transparent

13 years agoslightly fix alpha use when refining
Rudolf Polzer [Fri, 15 Jul 2011 11:23:58 +0000 (13:23 +0200)]
slightly fix alpha use when refining

13 years agomake encoding of DXT3/5 "more friendly" (don't use the swapped-colors case of DXT1)
Rudolf Polzer [Fri, 15 Jul 2011 11:08:46 +0000 (13:08 +0200)]
make encoding of DXT3/5 "more friendly" (don't use the swapped-colors case of DXT1)

13 years agoexplain more
Rudolf Polzer [Fri, 15 Jul 2011 10:41:34 +0000 (12:41 +0200)]
explain more

13 years agofix description of SRGB_MIXED
Rudolf Polzer [Fri, 15 Jul 2011 10:40:55 +0000 (12:40 +0200)]
fix description of SRGB_MIXED

13 years agoadd .h files to the SOURCES
Rudolf Polzer [Fri, 15 Jul 2011 10:39:18 +0000 (12:39 +0200)]
add .h files to the SOURCES

13 years agospeed up refining loop
Rudolf Polzer [Fri, 15 Jul 2011 10:17:30 +0000 (12:17 +0200)]
speed up refining loop

13 years agoloop the refinement in the test
Rudolf Polzer [Fri, 15 Jul 2011 10:10:44 +0000 (12:10 +0200)]
loop the refinement in the test

13 years agofix another bug in alpha refinement
Rudolf Polzer [Fri, 15 Jul 2011 09:54:50 +0000 (11:54 +0200)]
fix another bug in alpha refinement

13 years agoadd a new mode REFINE_LOOP
Rudolf Polzer [Fri, 15 Jul 2011 09:49:43 +0000 (11:49 +0200)]
add a new mode REFINE_LOOP

13 years agofix DXT5 refinement step for alpha
Rudolf Polzer [Fri, 15 Jul 2011 09:43:40 +0000 (11:43 +0200)]
fix DXT5 refinement step for alpha

13 years agobuild only once :P
Rudolf Polzer [Fri, 15 Jul 2011 09:34:02 +0000 (11:34 +0200)]
build only once :P

13 years agooops, a segfault
Rudolf Polzer [Fri, 15 Jul 2011 09:33:28 +0000 (11:33 +0200)]
oops, a segfault

13 years agoproperly use nvcompress for DXT1 too
Rudolf Polzer [Fri, 15 Jul 2011 09:26:19 +0000 (11:26 +0200)]
properly use nvcompress for DXT1 too

13 years agojust for fun, also test it with DXT1
Rudolf Polzer [Fri, 15 Jul 2011 09:25:35 +0000 (11:25 +0200)]
just for fun, also test it with DXT1

13 years agomore fix for test.sh
Rudolf Polzer [Fri, 15 Jul 2011 09:24:55 +0000 (11:24 +0200)]
more fix for test.sh

13 years agouse the normalmap metric for the normalmap
Rudolf Polzer [Fri, 15 Jul 2011 09:18:03 +0000 (11:18 +0200)]
use the normalmap metric for the normalmap

13 years agoDXT5: improve alpha selection; test: test the normalmap both with DXT5 and DXT3
Rudolf Polzer [Fri, 15 Jul 2011 09:16:44 +0000 (11:16 +0200)]
DXT5: improve alpha selection; test: test the normalmap both with DXT5 and DXT3

13 years agoclean up dds
Rudolf Polzer [Fri, 15 Jul 2011 08:45:06 +0000 (10:45 +0200)]
clean up dds

13 years agoimprove how tests work, preserve the downloaded tga files
Rudolf Polzer [Fri, 15 Jul 2011 08:44:32 +0000 (10:44 +0200)]
improve how tests work, preserve the downloaded tga files

13 years agofix downloading
Rudolf Polzer [Fri, 15 Jul 2011 08:30:05 +0000 (10:30 +0200)]
fix downloading

13 years agooops, check if we have the file
Rudolf Polzer [Fri, 15 Jul 2011 08:22:39 +0000 (10:22 +0200)]
oops, check if we have the file

13 years agoexternally reference all GPLv2 textures too
Rudolf Polzer [Fri, 15 Jul 2011 08:18:58 +0000 (10:18 +0200)]
externally reference all GPLv2 textures too

13 years agoremove the illegal pic, wget it instead
Rudolf Polzer [Fri, 15 Jul 2011 07:55:51 +0000 (09:55 +0200)]
remove the illegal pic, wget it instead

13 years agoremove some pics we don't need
Rudolf Polzer [Fri, 15 Jul 2011 07:51:05 +0000 (09:51 +0200)]
remove some pics we don't need

13 years agoalso handle 8 alphabits specially
Rudolf Polzer [Fri, 15 Jul 2011 07:30:50 +0000 (09:30 +0200)]
also handle 8 alphabits specially

13 years agofix nvcompress call
Rudolf Polzer [Fri, 15 Jul 2011 07:29:08 +0000 (09:29 +0200)]
fix nvcompress call

13 years agofix 1bpp error diffusion
Rudolf Polzer [Fri, 15 Jul 2011 07:21:19 +0000 (09:21 +0200)]
fix 1bpp error diffusion

13 years agospecify the fourcc we want!
Rudolf Polzer [Fri, 15 Jul 2011 07:18:08 +0000 (09:18 +0200)]
specify the fourcc we want!

13 years agosync syntax to autotools
Rudolf Polzer [Fri, 15 Jul 2011 07:10:14 +0000 (09:10 +0200)]
sync syntax to autotools

13 years agofix decompression
Rudolf Polzer [Fri, 15 Jul 2011 07:08:18 +0000 (09:08 +0200)]
fix decompression

13 years agoautoconf hack for better performance
Rudolf Polzer [Fri, 15 Jul 2011 07:07:21 +0000 (09:07 +0200)]
autoconf hack for better performance

13 years agodecompress with something better
Rudolf Polzer [Fri, 15 Jul 2011 06:58:04 +0000 (08:58 +0200)]
decompress with something better

13 years agofix name in license ;)
Rudolf Polzer [Fri, 15 Jul 2011 06:50:44 +0000 (08:50 +0200)]
fix name in license ;)

13 years agomore test cases
Rudolf Polzer [Fri, 15 Jul 2011 06:13:46 +0000 (08:13 +0200)]
more test cases

13 years agotest.sh: use -O3
Rudolf Polzer [Thu, 14 Jul 2011 20:24:50 +0000 (22:24 +0200)]
test.sh: use -O3

13 years agofix order
Rudolf Polzer [Thu, 14 Jul 2011 20:22:09 +0000 (22:22 +0200)]
fix order

13 years agoget rid of stupid libtool overhead
Rudolf Polzer [Thu, 14 Jul 2011 20:20:50 +0000 (22:20 +0200)]
get rid of stupid libtool overhead

13 years agofix paths
Rudolf Polzer [Thu, 14 Jul 2011 20:04:56 +0000 (22:04 +0200)]
fix paths

13 years agomove test pics to a subdir
Rudolf Polzer [Thu, 14 Jul 2011 20:03:40 +0000 (22:03 +0200)]
move test pics to a subdir

13 years agorename the .pc file
Rudolf Polzer [Thu, 14 Jul 2011 20:00:59 +0000 (22:00 +0200)]
rename the .pc file

13 years agoautoreconf works now
Rudolf Polzer [Thu, 14 Jul 2011 19:59:02 +0000 (21:59 +0200)]
autoreconf works now

13 years agoclarify license of DP-derived parts
Rudolf Polzer [Thu, 14 Jul 2011 19:58:36 +0000 (21:58 +0200)]
clarify license of DP-derived parts

13 years agoautotools!
Rudolf Polzer [Thu, 14 Jul 2011 19:54:28 +0000 (21:54 +0200)]
autotools!

13 years agomake .h file identical to libtxc_dxtn's
Rudolf Polzer [Thu, 14 Jul 2011 19:45:06 +0000 (21:45 +0200)]
make .h file identical to libtxc_dxtn's

13 years agomark another trick taken from libtxc_dxtn as such
Rudolf Polzer [Thu, 14 Jul 2011 19:42:45 +0000 (21:42 +0200)]
mark another trick taken from libtxc_dxtn as such

13 years agoadd a note for license problem
Rudolf Polzer [Thu, 14 Jul 2011 19:31:10 +0000 (21:31 +0200)]
add a note for license problem