Pavel Krajcevski
f43e934eb8
Fix bug in stb_dxt where we thought < is opposite of >
2016-09-29 23:45:29 -07:00
Pavel Krajcevski
0f28b14398
Update travis.yml to work with cmake 3.2
2016-09-20 00:45:13 -07:00
Pavel Krajcevski
6eb15b3180
Change travis-ci url to GammaUNC
2016-09-19 22:49:40 -07:00
Pavel Krajcevski
d9e66dd8a3
Change DXT5 offset from 8 to 16. Fixes #22 .
2016-09-14 22:41:48 -07:00
Pavel Krajcevski
e2b741d977
Switch to Apache-2.0 license
2016-08-17 16:49:13 -07:00
Pavel Krajcevski
2b93a5e16e
Use stb dxt instead of 'fast' intel one
2016-08-17 16:13:48 -07:00
Pavel Krajcevski
964aa4ab8a
Fix some more build snafus with VS2015
2016-08-17 15:14:14 -07:00
Pavel Krajcevski
c2ad7496a8
Fix build on VS2015
2016-08-17 11:18:28 -07:00
Pavel Krajcevski
2859dbb6e4
Preliminary PVRTC alpha support.
...
This fixes #17 .
However, it's a preliminary pass that only really operates on the image
included in #16 . There are likely better ways to optimize the alpha
used in the images, but I'm not sure what that is. Likely it's better
to use separate alpha dilation than the intensity dilation algorithm
currently used.
2016-03-03 15:59:14 -05:00
Pavel Krajcevski
d85b0d1add
Fix compiler problems:
...
We couldn't automatically cast IPixels to floats under GCC, so just
add explicit comparison operators for these pixels so that they work
with the googletest macros.
2016-03-03 15:58:10 -05:00
Pavel Krajcevski
e8b58e3fd0
Fix some MSVC rot
2016-02-17 12:27:09 -05:00
Pavel Krajcevski
13d8407163
Add some better comments
2016-02-08 14:22:35 -05:00
Pavel Krajcevski
599152575b
Update README to point to HTTPS instead of SSH-based clone
2016-01-14 12:47:36 -05:00
Pavel Krajcevski
a15e015b82
Fix compiler warnings
2016-01-14 12:35:03 -05:00
Pavel Krajcevski
6cd8facf49
Memset filename to zero first
2016-01-14 12:30:59 -05:00
Pavel Krajcevski
319b293212
Report different image dimensions
2015-12-20 20:00:01 -05:00
Pavel Krajcevski
06bcee7bb6
Forgot null terminator
2015-12-20 19:50:32 -05:00
Pavel Krajcevski
5d0521eb2b
Merge branch 'master' of github.com:Mokosha/FasTC
2015-12-20 17:42:57 -05:00
Pavel Krajcevski
841a1b0c72
Add multiplier to make the differences more noticable
2015-12-20 17:42:22 -05:00
Pavel Krajcevski
f1151ff767
Add diff flag for compare tool
2015-12-20 16:25:45 -05:00
Pavel Krajcevski
be844246cf
Allow setting the various pixel types to opaque
2015-12-20 16:25:29 -05:00
Pavel Krajcevski
6f2ee27a0e
Fixed scoped allocator -- this should have never worked
2015-12-20 16:24:17 -05:00
Pavel Krajcevski
8a1906e7b7
Fix a few errors caught by static analysis
2015-12-20 15:17:54 -05:00
Pavel Krajcevski
17b06fe1b9
Fix warnings
2015-12-14 16:23:12 -05:00
Pavel Krajcevski
7cf9038505
Add GL_RGBA constant
2015-10-01 17:49:56 -04:00
Pavel Krajcevski
f7667defc3
Switch to Indexer where applicable
2015-04-11 14:27:55 -07:00
Pavel Krajcevski
5c2f4ed272
Untabify
2015-04-11 14:27:34 -07:00
Pavel Krajcevski
acd986d6b7
Fix small bug
2015-04-11 14:27:23 -07:00
Pavel Krajcevski
16dd6c2af2
Remove unused variables
2015-04-11 14:08:29 -07:00
Pavel Krajcevski
77a78511c6
Add a few assumptions for performance
2015-04-11 14:04:44 -07:00
Pavel Krajcevski
d3f5eeab87
Add new file to cmake
2015-04-11 14:04:20 -07:00
Pavel Krajcevski
049ea129eb
Actually adhere to the wrap mode passed to the compressor
2015-04-11 13:28:47 -07:00
Pavel Krajcevski
b7b9357964
Add help command line option
2015-04-11 13:21:11 -07:00
Pavel Krajcevski
e7b3a1d390
Fix line endings
2015-04-11 13:20:52 -07:00
Pavel Krajcevski
9129e16908
Remove unused header
2015-04-11 13:20:33 -07:00
Pavel Krajcevski
df00a8d0c7
Fix compiler warning
2015-03-06 02:22:56 -05:00
Pavel Krajcevski
b31711afe5
Grab newer cmake so that we have the right modules
2015-02-19 23:18:49 -08:00
Pavel Krajcevski
ade1f77fe4
Fix bugs and get tests passing
2015-02-19 23:17:07 -08:00
Pavel Krajcevski
84f25a353b
Merge branch 'master' into DiscreteCosine
2015-02-19 00:54:12 -08:00
Pavel Krajcevski
f6b2293f76
Fix some compiler warnings
2015-02-19 00:53:34 -08:00
Pavel Krajcevski
1f2358be79
Add tests and IDCT... now we need to fix the tests so they pass
2015-02-19 00:53:20 -08:00
Pavel Krajcevski
4afacf384d
Add preliminary forward DCT
2015-02-11 23:39:32 -08:00
Pavel Krajcevski
a263907e0f
Fix some small bugs and compiler warnings
2015-02-11 21:26:31 -08:00
Pavel Krajcevski
325a2ac96d
Add utility function for splitting images into images of pixel channels.
2015-01-26 17:27:35 -05:00
Pavel Krajcevski
34f90c07a2
Qualify namespace
2015-01-26 15:11:35 -05:00
Pavel Krajcevski
43aa8266b6
Fix license in file
2015-01-26 15:10:56 -05:00
Pavel Krajcevski
8142047b55
Add missing files
2014-12-01 11:24:27 -05:00
Pavel Krajcevski
ae878d4aed
Split BPTC decompression into two stages.
...
In one stage, decompose the block into logical bit values. Then,
if we want to decomrpss into an output image, do the proper interpolation.
Otherwise, return the logical block as-is to do things like figure out proper
mode crap and other stats.
2014-11-19 19:09:53 -05:00
Pavel Krajcevski
a717edd12e
Fix bug?
2014-11-19 15:24:08 -05:00
Pavel Krajcevski
b67fb73fb4
If we're in the build tree, we know where the source is
2014-11-18 17:17:16 -05:00