Coder Social home page Coder Social logo

NEON optimization? about alvr HOT 5 CLOSED

alvr-org avatar alvr-org commented on June 30, 2024
NEON optimization?

from alvr.

Comments (5)

JackD83 avatar JackD83 commented on June 30, 2024

The client is currently using android.media.MediaCodec to decode the video.
NEON and dav1d could be a great improvement, but I probably lack the skills to do it myself :(

from alvr.

JackD83 avatar JackD83 commented on June 30, 2024

After reading a little about this topic, I'm pretty sure the decoder is already using this kind of optimization. There are some papers describing this in 2013 here

After seeing the results back then (720p (1280x720) streams at 30 frames per second) I think this is used to decode our 3k stream at 72fps

The new part with dav1d is that its used for AV1

from alvr.

Sztrovacsek81 avatar Sztrovacsek81 commented on June 30, 2024

I have some error regarding gradle in android studio.
Could you edit the build.gradle like this and test it:

externalNativeBuild {
cmake {
arguments "-DANDROID_ARM_NEON=ON"
cppFlags ""
}
}

from alvr.

Sztrovacsek81 avatar Sztrovacsek81 commented on June 30, 2024

I think I was misleaded by this AV1 experiment (there is no hardware AV1 decoder yet).

from alvr.

JackD83 avatar JackD83 commented on June 30, 2024

I think that the flag -DANDROID_ARM_NEON=ON has only influence on our own code that does not profit from the optimization

from alvr.

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.