Git Product home page Git Product logo

Comments (7)

richgel999 avatar richgel999 commented on May 21, 2024 1

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.

richgel999 avatar richgel999 commented on May 21, 2024

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.

fire avatar fire commented on May 21, 2024

I would recommend either supporting c++11 or c++03 for compatibility. This means no c++17 parallel for.

from basis_universal.

richgel999 avatar richgel999 commented on May 21, 2024

Got it, I'm staying with C++11.

from basis_universal.

richgel999 avatar richgel999 commented on May 21, 2024

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.

richgel999 avatar richgel999 commented on May 21, 2024

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.

richgel999 avatar richgel999 commented on May 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.