OSDN Git Service

android-x86/external-s2tc.git
4 years agoAdd -Wno-implicit-fallthrough to CFLAGS. oreo-x86 pie-x86 q-x86 r-x86 android-x86-8.1-r3 android-x86-8.1-r4 android-x86-8.1-r5 android-x86-8.1-r6 android-x86-9.0-r1 android-x86-9.0-r2
Michael Goffioul [Sat, 5 Oct 2019 00:15:40 +0000 (20:15 -0400)]
Add -Wno-implicit-fallthrough to CFLAGS.

5 years agoRemove unused functions
Chih-Wei Huang [Wed, 13 Mar 2019 02:40:11 +0000 (10:40 +0800)]
Remove unused functions

5 years agoRemove unused parameters
Chih-Wei Huang [Tue, 26 Feb 2019 10:29:58 +0000 (18:29 +0800)]
Remove unused parameters

8 years agoadd Android.mk to build for android marshmallow-x86 nougat-x86 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3 android-x86-7.1-r1 android-x86-7.1-r2 android-x86-7.1-r3 android-x86-7.1-r4 android-x86-7.1-r5 android-x86-8.1-r1 android-x86-8.1-r2
WuZhen [Fri, 19 Feb 2016 08:13:07 +0000 (16:13 +0800)]
add Android.mk to build for android

NO_REF_TASK
tested: local run

Change-Id: Iecc448858a5adbd6aa48326c6ba4d94c6ed79e5c

8 years agoMerge pull request #9 from Mailaender/man
divVerent [Sun, 27 Dec 2015 22:40:35 +0000 (23:40 +0100)]
Merge pull request #9 from Mailaender/man

Added man pages for tools

8 years agoadd man pages for tools
Matthias Mailänder [Sun, 20 Dec 2015 13:18:09 +0000 (14:18 +0100)]
add man pages for tools

8 years agoMerge pull request #10 from Mailaender/patch-1
divVerent [Sun, 20 Dec 2015 18:30:59 +0000 (19:30 +0100)]
Merge pull request #10 from Mailaender/patch-1

Removed versioning from the .so names

8 years agoremove now redundant versioninfo comments
Matthias Mailänder [Sun, 20 Dec 2015 17:41:28 +0000 (18:41 +0100)]
remove now redundant versioninfo comments

8 years agodon't version the .so names
Matthias Mailänder [Sun, 20 Dec 2015 13:23:00 +0000 (14:23 +0100)]
don't version the .so names

8 years agoConvert s2tc_compress and s2tc_decompress tools from C++ to C.
Rudolf Polzer [Sat, 19 Dec 2015 23:23:52 +0000 (00:23 +0100)]
Convert s2tc_compress and s2tc_decompress tools from C++ to C.

8 years agoRemove two now unavailable test pictures.
Rudolf Polzer [Sat, 19 Dec 2015 23:16:03 +0000 (00:16 +0100)]
Remove two now unavailable test pictures.

8 years agolibtxc_dxtn: stop depending on libstdc++.
Rudolf Polzer [Sat, 19 Dec 2015 18:49:45 +0000 (19:49 +0100)]
libtxc_dxtn: stop depending on libstdc++.

9 years agoUpdate README.txt
divVerent [Thu, 13 Nov 2014 09:10:11 +0000 (10:10 +0100)]
Update README.txt

9 years agoMake the W0AVG mode available via S2TC_COLORDIST_MODE
divVerent [Thu, 13 Nov 2014 09:09:22 +0000 (10:09 +0100)]
Make the W0AVG mode available via S2TC_COLORDIST_MODE

9 years agoImplement the w0avg mode (approximation to wavg, FAST)
divVerent [Thu, 13 Nov 2014 09:08:29 +0000 (10:08 +0100)]
Implement the w0avg mode (approximation to wavg, FAST)

9 years agoPrepare for adding a W0AVG mode.
divVerent [Thu, 13 Nov 2014 09:08:09 +0000 (10:08 +0100)]
Prepare for adding a W0AVG mode.

9 years agoMerge pull request #5 from dumbbell/link-to-libdl-on-Linux-only
divVerent [Wed, 4 Jun 2014 14:07:16 +0000 (16:07 +0200)]
Merge pull request #5 from dumbbell/link-to-libdl-on-Linux-only

 Don't try to link to libdl on non-Linux systems

9 years agoAdd "compile" to .gitignore
Jean-Sébastien Pédron [Tue, 3 Jun 2014 18:59:40 +0000 (20:59 +0200)]
Add "compile" to .gitignore

9 years agoDon't try to link to libdl on non-Linux systems
Jean-Sébastien Pédron [Tue, 3 Jun 2014 18:58:35 +0000 (20:58 +0200)]
Don't try to link to libdl on non-Linux systems

This fixes the build on FreeBSD for instance.

10 years agoFix some warnings, fixes #3
Rudolf Polzer [Mon, 4 Nov 2013 12:14:02 +0000 (13:14 +0100)]
Fix some warnings, fixes #3

10 years agoreenable alpha 0 pixel ignorance for DXT1
Rudolf Polzer [Sun, 3 Nov 2013 19:07:25 +0000 (20:07 +0100)]
reenable alpha 0 pixel ignorance for DXT1

As DXT1 never stores color values where alpha is 0.

10 years agoFix a weird bug in selecting initial colors by wrong order of loads/stores.
Rudolf Polzer [Thu, 31 Oct 2013 14:39:08 +0000 (15:39 +0100)]
Fix a weird bug in selecting initial colors by wrong order of loads/stores.

10 years agoFix for #2 (alpha zero pixels wreaking havoc).
Rudolf Polzer [Thu, 31 Oct 2013 14:21:48 +0000 (15:21 +0100)]
Fix for #2 (alpha zero pixels wreaking havoc).

One place accidentally ignored alpha-zero pixels, making it inconsistent
with the rest and causing bad visual errors in MODE_FAST.

11 years agoAvoid the case c0 == c1 when encoding
Rudolf Polzer [Thu, 27 Dec 2012 15:09:00 +0000 (16:09 +0100)]
Avoid the case c0 == c1 when encoding

This case may break buggy decoders.

11 years agomake it compile with clang; fix a memory leak cppcheck foud
Rudolf Polzer [Mon, 17 Dec 2012 09:30:48 +0000 (10:30 +0100)]
make it compile with clang; fix a memory leak cppcheck foud

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!)

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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)

12 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

12 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

12 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

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

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

12 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

12 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

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

12 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_*

12 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

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

12 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

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

12 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

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

12 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

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

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

12 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

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

12 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)

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

12 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

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

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

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

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

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

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

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

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

12 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

12 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

12 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

12 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

12 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

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

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

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

12 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

12 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

12 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)

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

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

12 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

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

12 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

12 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

12 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

12 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

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

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

12 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

12 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

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

12 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

12 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

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

12 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

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

12 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