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

Binary release #1

Open
ThisIsDangerous opened this issue Apr 8, 2022 · 1 comment
Open

Binary release #1

ThisIsDangerous opened this issue Apr 8, 2022 · 1 comment

Comments

@ThisIsDangerous
Copy link

Hey, great work! Could you by any chance release a built binary for windows?

@andrewevstyukhin
Copy link
Owner

Hi, thanks!
I think this project will remain only in the source code.

Although the project is dedicated to the Windows platform, it can be successfully run on Linux and macOS (even natively on a Mac M1 with the "sse2neon.h" header). Anyone can implement their own ReadImage and WriteImage functions with the appropriate library. The LoadBc7 and SaveBc7 functions can easily be rewritten with libc (which locks files).

I keep the solution without libraries to not have any bugs ;)

Compiling for a fixed set of SIMD instructions is straightforward. Detecting AVX2 and AVX-512 at runtime would require "weird cpuid logic" and multiple translation units with the same code but different settings. In any case, it's possible. The "GetBc7Core" function and the "IBc7Core" interface separate the kernel from the "Bc7Compress" driver.

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

No branches or pull requests

2 participants