Pavel Krajcevski
341842d725
Make sure to not even compile the definition for the SIMD function.
2012-09-13 17:43:58 -04:00
Pavel Krajcevski
ef2a370fc6
Move error metric to regular BC7Compressor so that we can use it even if we can't use SIMD.
2012-09-13 16:57:36 -04:00
Pavel Krajcevski
acd20ea8ac
Add flag for when we don't have SSE
2012-09-13 16:56:18 -04:00
Pavel Krajcevski
31f6233da2
Add minor performance enhancements
2012-09-13 16:31:48 -04:00
Pavel Krajcevski
2ad2e94584
Move type defines into core library... all modules should have a standard set of types.
2012-08-30 13:28:28 -04:00
Pavel Krajcevski
8f748ce070
Fix uint to be uint8 since otherwise it's undefined on a lot of platforms.
2012-08-29 11:55:01 -04:00
Pavel Krajcevski
b9350e3876
Fix asm
2012-08-28 19:41:36 -04:00
Pavel Krajcevski
87375f4c14
Change signed to unsigned in order to match the function pointer typedef prototype.
...
Changed the function prototype to match that of the typedef in the rest of the library, and fixed a bug where we would iterate too far with the initial buffer.
2012-08-28 19:40:00 -04:00
Pavel Krajcevski
cff862344f
Add compiler specific syntax for inline assembly.
2012-08-28 15:36:26 -04:00
Pavel Krajcevski
38e26850fe
Make sure that cmake test properly checks return value of popcnt to test availability.
2012-08-28 11:43:15 -04:00
Pavel Krajcevski
db6e76f1b3
Change the encoders to assume block stream order
2012-08-27 18:42:09 -04:00
Pavel Krajcevski
d68a119bc9
Fix SIMD recognition at least with GCC targets. Still need to test with MSVC
2012-08-25 13:03:20 -04:00
Pavel Krajcevski
efdca4b5bb
Initial commit with a few modifications
2012-08-24 15:56:45 -04:00