Optimize mipmap level calculation (don't use log2f)
Fix regression in encodeDifference

introduced in commit ba46a5
Change regression tests to use uint16

Exercises differencing code.  (float/half don't use differencing)