log16 75 tests/tiny_psnr.c return -log16((1LL<<32) / a); log16 158 tests/tiny_psnr.c psnr= ((2*log16(max<<16) + log16(i) - log16(sse))*284619LL*F + (1<<31)) / (1LL<<32);