mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 05:45:27 +00:00
Report entropy when compressing a texture.
This commit is contained in:
parent
f597ec2f77
commit
22246810d6
|
@ -226,6 +226,9 @@ int main(int argc, char **argv) {
|
|||
img.SetBlockStreamOrder(false);
|
||||
}
|
||||
|
||||
fprintf(stdout, "Entropy: %.5f\n", img.ComputeEntropy());
|
||||
fprintf(stdout, "Mean Local Entropy: %.5f\n", img.ComputeMeanLocalEntropy());
|
||||
|
||||
std::ofstream logFile;
|
||||
ThreadSafeStreambuf streamBuf(logFile);
|
||||
std::ostream logStream(&streamBuf);
|
||||
|
|
Loading…
Reference in a new issue