Commit Graph

48 Commits

Author SHA1 Message Date
Pavel Krajcevski
0db3f830a6 Fix error from merge where we renamed the project to FasTC 2013-08-27 14:43:55 -04:00
Pavel Krajcevski
03a7934644 Get rid of evil tabs once and forever (from cpp/h files) 2013-08-26 16:54:08 -04:00
Pavel Krajcevski
9282541160 Comments and bug fixes.
Added comments to the imagefile header. There were method declarations in the file that did not actually correspond to methods either. These were removed.
2013-08-22 18:35:01 -04:00
Pavel Krajcevski
25eba39870 Change the name of everything to FasTC 2013-08-22 18:35:01 -04:00
Pavel Krajcevski
a19f83d123 Switch the PVR loader to use the library provided with the imagination SDK 2013-08-22 18:08:52 -04:00
Pavel Krajcevski
e6bd4b5317 Only use the PVR loader if the library for loading has been found. 2013-08-22 18:08:29 -04:00
Pavel Krajcevski
edf7a948c4 Recognize pvr images when loading data. 2013-08-20 15:28:02 -04:00
Pavel Krajcevski
081866907f More formatting fixes. 2013-08-20 15:27:36 -04:00
Pavel Krajcevski
9d4f412f65 Skeleton for reading .pvr files 2013-08-20 15:12:57 -04:00
Pavel Krajcevski
31d2b5bcea Formatting fixes 2013-08-20 15:12:18 -04:00
Pavel Krajcevski
8054740900 Don't freak out if the file already exists... overwrite it. 2013-03-07 02:43:33 -05:00
Pavel Krajcevski
9a5e0d197d Fixed a lot of untested bugs with our windows filestream 2013-03-07 02:31:01 -05:00
Pavel Krajcevski
771b91b795 Fix a bunch of memory leaks. 2013-02-07 17:01:38 -05:00
Pavel Krajcevski
af25b83356 Fix some more compiler warnings. 2013-01-29 17:37:20 -05:00
Pavel Krajcevski
0afff4188e Fix warnings on Windows and support the treat warnings as errors option. 2013-01-29 13:39:45 -05:00
Pavel Krajcevski
fa5d5e865c Fix some more compiler warnings. This time some were actually very useful\! 2013-01-28 20:20:52 -05:00
Pavel Krajcevski
08df6f6d65 Fix more compiler warnings. 2013-01-28 16:42:11 -05:00
Pavel Krajcevski
cdbf72b6c0 Merge MSVC support into master. 2013-01-28 11:49:03 -05:00
Pavel Krajcevski
40a0947649 Fix small bug where we enter an infinite loop after we finish reading a file. 2013-01-27 14:02:39 -05:00
Pavel Krajcevski
5eba3ba6f7 Add license 2012-11-15 11:51:55 -05:00
Pavel Krajcevski
680625d03e Fix a bunch of compiler warnings. 2012-11-07 17:10:26 -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
3bc9510996 Make sure that we assume pixels are in block stream order when accessing. 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
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
2c22889533 Broke the coupling between ImageFile and Image. One is strictly for IO, the other can be platform and file format agnostic. 2012-10-31 17:46:13 -04:00
Pavel Krajcevski
c1222d75f9 Reorganize a lot of code. Should probably split image and image file classes to separate IO operations and whatnot. 2012-10-31 17:46:12 -04:00
Pavel Krajcevski
2fa4da80ed Fix some inconsistencies with different versions of libpng. 2012-10-31 17:46:12 -04:00
Pavel Krajcevski
78da9499ec Add output for error metric 2012-09-18 19:00:20 -04:00
Pavel Krajcevski
e4c8708a4a Fix bug with PNG image loader. 2012-09-18 10:59:39 -04:00
Pavel Krajcevski
213d98f985 Finish the hooking up of the compression library to the core library 2012-08-28 19:42:28 -04:00
Pavel Krajcevski
662e3c8f57 Make sure to also link against zlib. 2012-08-28 16:45:37 -04:00
Pavel Krajcevski
f2c2f7c9af Move file format to a separate header in order to better obfuscate the image loaders within the io library. 2012-08-27 22:47:20 -04:00
Pavel Krajcevski
a076d1efb8 Fleshed out some more of the library 2012-08-27 18:34:37 -04:00
Pavel Krajcevski
5bebdc3b07 Remove warning from cmake process 2012-08-27 12:58:44 -04:00
Pavel Krajcevski
4e43207fd8 Restructure IO directory to better match convention set by BPTC Encoder 2012-08-27 12:19:27 -04:00
Pavel Krajcevski
d13190990e Implement read callback for libpng 2012-08-27 11:50:19 -04:00
Pavel Krajcevski
cc7e8c1b1f Add preliminary hooks for reading out png data... 2012-08-27 11:37:10 -04:00
Pavel Krajcevski
13519fa019 Added code to load the contents of a file to memory on not-windows. 2012-08-26 20:53:55 -04:00
Pavel Krajcevski
afd1e274fd Add support for cmake to look for libpng and then add the proper files if available. 2012-08-26 20:31:41 -04:00
Pavel Krajcevski
6d39ab49c1 Generate the ImageLoader.h file from cmake after we figure out what image reading libraries are available to us. 2012-08-26 19:51:49 -04:00
Pavel Krajcevski
abb5ca2a44 Add some more skeleton code to prepare for png image loading. 2012-08-26 19:05:18 -04:00
Pavel Krajcevski
ff5cab75ee Added a few more structural preparations 2012-08-26 16:37:10 -04:00
Pavel Krajcevski
1bdc0dafb9 Add skeleton for image loading class 2012-08-26 14:46:47 -04:00