Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make unit tests. #1

Open
Mokosha opened this issue Aug 27, 2013 · 1 comment
Open

Make unit tests. #1

Mokosha opened this issue Aug 27, 2013 · 1 comment

Comments

@Mokosha
Copy link
Member

Mokosha commented Aug 27, 2013

Recent refactoring for the BC7/BPTC compressor caused some errors. We can avoid this in the future by implementing a few unit tests:

  • Make sure that a simple white, black, red texture compresses and decompresses exactly.
  • Make sure that the kodim images each compress to within some PSNR.
  • Test a few of the quality levels. If the error from the initial endpoint selection is huge, the simulated annealing actually does a really good job in picking better endpoints. If it's not so big, then the simulated annealing doesn't have an effect.
@Mokosha
Copy link
Member Author

Mokosha commented Oct 12, 2013

Include unit tests for reference SSIM images:

http://www.cns.nyu.edu/lcv/ssim/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant