Initial checkin of v1.04 - KTX file format support, basic ETC1 compression/decompression, Linux makefile with proper gcc options, lots of high-level improvements to get crnlib into a state where I can more easily add additional formats.

This commit is contained in:
richgel99@gmail.com
2012-11-25 08:41:25 +00:00
parent a8011e9d7f
commit f71b49be60
92 changed files with 20362 additions and 781 deletions
+12 -4
View File
@@ -8,15 +8,15 @@
<Build>
<Target title="Debug">
<Option output="../bin_linux/crunchD" prefix_auto="1" extension_auto="1" />
<Option working_dir="/home/richg/crunch_work/bin_linux" />
<Option object_output="obj/Debug/" />
<Option external_deps="../crnlib/libcrnlibD.a;" />
<Option type="1" />
<Option compiler="gcc" />
<Option parameters='-deep &quot;/media/truecrypt1/x/*.jpg&quot; -bitrate 1.5' />
<Option parameters="-file orig/*.png -fileformat crn -bitrate 1.33 " />
<Compiler>
<Add option="-Wextra" />
<Add option="-Wall" />
<Add option="-g" />
<Add option="-D_DEBUG" />
</Compiler>
<Linker>
@@ -26,11 +26,12 @@
</Target>
<Target title="Release">
<Option output="../bin_linux/crunch" prefix_auto="1" extension_auto="1" />
<Option working_dir="/home/richg/crunch_work/bin_linux" />
<Option object_output="obj/Release/" />
<Option external_deps="../crnlib/libcrnlib.a;" />
<Option type="1" />
<Option compiler="gcc" />
<Option parameters='-deep &quot;/media/truecrypt1/x/*.jpg&quot; -bitrate 1.5' />
<Option parameters="-file orig/*.png -fileformat crn -bitrate 1.33 -imagestats -lzmastats -logfile log3.txt -fileformat crn -bitrate 1.33 -imagestats -lzmastats -logfile log3.txt -bitrate 1.5" />
<Compiler>
<Add option="-march=core2" />
<Add option="-fomit-frame-pointer" />
@@ -41,7 +42,6 @@
<Add option="-DNDEBUG" />
</Compiler>
<Linker>
<Add option="-s" />
<Add library="../crnlib/libcrnlib.a" />
<Add library="pthread" />
</Linker>
@@ -50,12 +50,20 @@
<Compiler>
<Add option="-Wextra" />
<Add option="-Wall" />
<Add option="-g" />
<Add option="-fexceptions" />
<Add option="-Wno-unused-value" />
<Add option="-Wno-unused" />
<Add option="-fno-strict-aliasing" />
<Add option="-ffast-math" />
<Add option="-fno-math-errno" />
<Add directory="../inc" />
<Add directory="../crnlib" />
</Compiler>
<Unit filename="corpus_gen.cpp" />
<Unit filename="corpus_gen.h" />
<Unit filename="corpus_test.cpp" />
<Unit filename="corpus_test.h" />
<Unit filename="crunch.cpp" />
<Extensions>
<code_completion />