Commit Graph

113 Commits

Author SHA1 Message Date
Pavel Krajcevski
37d8cc797c Add in a small hack to add the boost library directory to the linker command line in order to be able to compile. 2013-01-26 14:57:33 -05:00
Pavel Krajcevski
42c350878e Fix property variable. 2013-01-26 14:11:37 -05:00
Pavel Krajcevski
cb126c40ce Add the correct hooks to compile as a win32 console app. 2012-11-07 18:22:12 -05:00
Pavel Krajcevski
8761821220 More compiler fixes. 2012-11-07 18:01:02 -05:00
Pavel Krajcevski
680625d03e Fix a bunch of compiler warnings. 2012-11-07 17:10:26 -05:00
Pavel Krajcevski
05e6ca0bc9 Fix windows issues with blockstats... 2012-11-07 16:52:06 -05:00
Pavel Krajcevski
562d9e905d Make sure to return a value for the = operator... 2012-11-07 16:51:44 -05:00
Pavel Krajcevski
113749c82f Make the windows based filestream actually use the MSDN file IO functions 2012-11-07 16:38:34 -05:00
Pavel Krajcevski
96f223c509 Split filestream implementation into unix and windows versions. 2012-11-07 15:26:33 -05:00
Pavel Krajcevski
b43373c0aa Fix some indentation and signedness mismatch 2012-11-07 15:23:07 -05:00
Pavel Krajcevski
53b8d4c9a9 Fix compiler errors with functions not returning values. 2012-11-07 15:21:55 -05:00
Pavel Krajcevski
9360e80a56 Fix issues with stop watch on windows. 2012-11-07 15:21:02 -05:00
Pavel Krajcevski
e3757fde74 Fix MSVC interpretation of our types. 2012-11-07 15:20:25 -05:00
Pavel Krajcevski
790df0736f Make stats collection threadsafe. 2012-11-01 18:56:13 -04:00
Pavel Krajcevski
1abc54cf21 Make sure to take alpha into account when computing PSNR 2012-10-31 17:50:40 -04:00
Pavel Krajcevski
82e51a49cf Fix a few issues that we had with dealing with alpha in the textures. 2012-10-31 17:50:40 -04:00
Pavel Krajcevski
d51df5f9a2 Extract the basename for use in our output filenames... 2012-10-31 17:50:40 -04:00
Pavel Krajcevski
cc0d75400a Fix two bugs that took a surprisingly long time to find. 2012-10-31 17:50:40 -04:00
Pavel Krajcevski
3bc9510996 Make sure that we assume pixels are in block stream order when accessing. 2012-10-31 17:50:39 -04:00
Pavel Krajcevski
1424765866 Fix bug where we forgot to store the new height and width 2012-10-31 17:50:39 -04:00
Pavel Krajcevski
87b9aa6856 Add hooks to command line... needs debugging -___- 2012-10-31 17:50:39 -04:00
Pavel Krajcevski
c9567b132d Fix command line tool after git reorganization. 2012-10-31 17:50:39 -04:00
Pavel Krajcevski
e39b23d18c Hook up image writer to ImageFile 2012-10-31 17:50:39 -04:00
Pavel Krajcevski
0dbf5a08cc Add initial png writing routines. 2012-10-31 17:50:39 -04:00
Pavel Krajcevski
545a6f68e2 Add new structure to support creating Images and ImageFiles from compressed images 2012-10-31 17:50:38 -04:00
Pavel Krajcevski
d024ce73fb Fix a small error from a massive git reorganization 2012-10-31 17:48:53 -04:00
Pavel Krajcevski
20c504056f - Add flag to specify whether or not we'd like to collect stats
- Fix amount of interpolation points to use during shape estimation
2012-10-31 17:48:53 -04:00
Pavel Krajcevski
1bd1a79065 Add specific function to collect stats for BPTC so that we have one that preserves accurate running time measurements. 2012-10-31 17:48:53 -04:00
Pavel Krajcevski
4c359f42a7 - Added a parameter to the PCA computation that returns the first and second
eigenvalues of the covariance matrix associated with the cluster.

- Compared results of testing the ratio of eigenvalues as a measurement of
  'linearity' for the different shapes, and output statistics.

- Added a #define that controls whether or not we do shape estimation using
  quantized AABB error or eigenvalue ratios. The former seems to be better.
2012-10-31 17:48:53 -04:00
Pavel Krajcevski
71fbbca1ee Fix a few issues and make sure that when we write out to a file, only the intended values are reported. We still have to fix the accumulated stat reporting and make it thread-safe. 2012-10-31 17:48:53 -04:00
Pavel Krajcevski
fdcd7c2edc Fix crash because I forgot to add stat names 2012-10-31 17:48:53 -04:00
Pavel Krajcevski
93a3b3b92c Add some more stats to BC7 compressor. NOT THREAD SAFE 2012-10-31 17:48:53 -04:00
Pavel Krajcevski
99534bc5d0 Add stats function to serial encoder. Otherwise, continue to use non-stats function in threaded mode. 2012-10-31 17:48:52 -04:00
Pavel Krajcevski
1e6a2d4c7b Add new compression function that collects preliminary stats. 2012-10-31 17:48:52 -04:00
Pavel Krajcevski
fcbca9ca8d Add files for new block stats in order to track things in our compression algorithms 2012-10-31 17:48:52 -04:00
Pavel Krajcevski
f82173f423 Add platform independent file stream reading and writing in order to allow us to write out logs. 2012-10-31 17:48:52 -04:00
Pavel Krajcevski
6c723ca289 Fix some problems with our not so smart pointers. 2012-10-31 17:46:15 -04:00
Pavel Krajcevski
04cbf615f5 Make sure that our thread api preferences are saved in the cache. 2012-10-31 17:46:14 -04:00
Pavel Krajcevski
78ed5f5e92 On OS X, replace pthread_yield with sched_yield 2012-10-31 17:46:14 -04:00
Pavel Krajcevski
d3f03a1fd3 Move ThreadGroup to new abstracted thread scheme. 2012-10-31 17:46:14 -04:00
Pavel Krajcevski
28af6ec225 Add threaded barrier operation modeled after that of boost. 2012-10-31 17:46:14 -04:00
Pavel Krajcevski
920c947d55 Add pthread module for threading. 2012-10-31 17:46:14 -04:00
Pavel Krajcevski
4d52ea18ad Move some more common code out of boost file into its own module 2012-10-31 17:46:14 -04:00
Pavel Krajcevski
03b4f16b06 Add virtual destructors to fix issues with thread abstraction code. 2012-10-31 17:46:14 -04:00
Pavel Krajcevski
ed63255514 Move worker queue implementation over to new abstracted scheme. 2012-10-31 17:46:13 -04:00
Pavel Krajcevski
bb9370adaf Make the command line argument processing a little more robust. 2012-10-31 17:46:13 -04:00
Pavel Krajcevski
8dffb602bf Add framework for threading API abstraction. 2012-10-31 17:46:13 -04:00
Pavel Krajcevski
6b4adcc95b Fix bug where we didn't initialize a variable properly, which led to a crash 2012-10-31 17:46:13 -04:00
Pavel Krajcevski
01c01b96cd For more accurate timing results with the worker queue, make sure that all threads are done processing an image before restarting the compression when testing multiple compressions. 2012-10-31 17:46:13 -04:00
Pavel Krajcevski
54cb951f71 Add command line options to invoke worker queue. 2012-10-31 17:46:13 -04:00