Giter VIP home page Giter VIP logo

Comments (5)

sipsorcery avatar sipsorcery commented on June 15, 2024

By hand I'm afraid. There are lots of macros, unions and blocks of memory that get accessed interchangeably with pointer and arrays. The conversion tools I tried just created a separate set of problems to decipher.

The decoder took a month...

If that hasn't turned you off I can create a repo with the C source code I'm working from. It is the source from the libvpx repo but with the configure options tweaked to remove the platform specific assembly code.

from vp8.net.

Terricide avatar Terricide commented on June 15, 2024

Sounds interesting, I wouldn't mind taking a peek at the source code and see what I can do to help.

from vp8.net.

sipsorcery avatar sipsorcery commented on June 15, 2024

I've added the libvpx C solution to the repo.

The approach I used with the decoder is to make the C# code as line-by-line identical with the C code as possible. This means it's possible to then debug line-by-line comparing the C and C# implementations to track down why the C# code doesn't work, which it never does on the first 50 attempts.

Optimising the C# code and using more suitable C# approaches would be stage 2.

from vp8.net.

Terricide avatar Terricide commented on June 15, 2024

None of the cs files are in folders, does it make sense the put the files in the same folder structure as the c code?

from vp8.net.

sipsorcery avatar sipsorcery commented on June 15, 2024

Yes sounds like a good idea.

from vp8.net.

Related Issues (3)

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.