Fixed the integer DCT issues; the problem was that the conversion of YCoCg back to RGB generated values out of range, which was solved by clamping values to [0, 255]. Removed the floating-point encode and decode block functions from the public API. Moved some internal code into some template functions instead of having multiple versions. Added a more useful test application that allows viewing of values after each stage of the transformation.