Comments (7)
Also, I've been planning on adding a simple C-style entrypoint to the compressor. I have an implementation that I need to check in.
from basis_universal.
Hi - There's a C++ compressor class here:
https://github.com/BinomialLLC/basis_universal/blob/master/basisu_comp.h
We are open to alternatives to OpenMP. I think removing it from the compressor would be a mostly mechanical exercise, if we used lambdas and a simple job system. We're not getting good load balancing with OpenMP on larger videos, so I may have to bite the bullet and do it soon. I'll add this to the TODO list.
from basis_universal.
I would recommend either supporting c++11 or c++03 for compatibility. This means no c++17 parallel for.
from basis_universal.
Got it, I'm staying with C++11.
from basis_universal.
BTW - the transcoder doesn't use OpenMP. It's just the encoder that does. The transcode is pretty vanilla C++03 code (no multithreading).
from basis_universal.
I have locally eliminated all OpenMP usage from the encoder - I'm testing all the changes now. They'll go in by the end of the week.
from basis_universal.
Okay, all OpenMP usage is gone. Please let me know if you have any issues.
I'll be adding a C-style API and separating out the encoder into a lib soon. Which will be easy - basisu_tool.cpp is the command line tool, everything else goes into the lib.
from basis_universal.
Related Issues (20)
- difference of formats HOT 1
- SSE4.1 support cannot be enabled on machines with AVX HOT 4
- -uastc_rdo_l doesn't seem to do anything HOT 5
- Saving and loading two-channel normal maps (ASTC) HOT 1
- Colors become lighter when transcoding .basis to .ktx HOT 3
- Some questions after reading some source codes
- Will OpenCL 3.0 improve compression performance? HOT 1
- How to encode HDR format resource? HOT 1
- Webssembly version does not support jpg format HOT 1
- rename HOT 2
- Selecting which transcoders to use
- Is it possible ETC1S without lossy compression ?
- RuntimeError when encoding to UASTC with WASM HOT 1
- Transcode failure on iOS 17 HOT 3
- shrinking wasm for glTF extension support HOT 1
- build_emscripen.sh script error
- Error when I cross compile for arm64 under Windows HOT 2
- Does this project with WebGPU (web)? HOT 1
- Add prefix to cmake options
- losinglena.com domain expired HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from basis_universal.