Git Product home page Git Product logo

rotate-plugin's People

Contributors

bambutz avatar sunnjek avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rotate-plugin's Issues

Add MMX/SSE2 optimizations

The original version of the plugin has MMX optimized code when dealing with non-planar (RGB) frames. In order to achieve the best performance these would have to be implemented in this version too. However, when trying to do this myself I stumbled upon a few problems:

  • I don't actually have any experience with optimizing code for SIMD ๐Ÿ˜…
  • The templates are getting in the way. Not sure if it is best practice, but I would prefer having actual classes that are actual comilation units (not just one plugin class that uses templates defined in headers). That way there could be classes that use optimizations and classes that don't. Currently I can only set the GCC flags for SSE2 on everything or nothing, without templates this could be done on a class to class (i.e. file to file) basis.
  • GCC doesn't seem to like inline assembly (I would prefer SIMD intrinsics anyway)
  • MMX has been superseded by SSE2. This means the old code would have to be adapted. From what I can see, they mostly have the same instructions though, so this isn't going to be a problem I think.

If you have any ideas to improve the above situations or would like to have a look at doing the optimizations yourself, feel free to leave a comment.

Automated builds for Windows

It would be nice to automatically create DLLs for Windows using a CI solution (preferably GitHub Actions). I don't know whether the plugin even compiles on Windows currently, so this needs to be checked first. If possible, both x86 and x64 versions should be built.

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.