Git Product home page Git Product logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024

Original comment by [email protected] on 13 Oct 2010 at 11:04

  • Changed state: Started

from doubango.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Thanks for your patch. Good job!
It helped me a lot to have an idea about how to integrate theorarm.
Does this work on iOS, Windows Mobile and Symbian?
Is it possible to have more information about the perfs?

My suggestion for the integration:
You can build "theorarm" as a shared library e.g. "libconvert.so". When 
IMSDroid starts, check if "libconvert.so" exist or not. If yes: "static boolean 
hasTheoraARM=true;"

In both IMSDroid and iDoubs you can set which chroma the video consumer 
supports. For IMSDroid, in "VideoConsumer.java" change MyProxyVideoConsumer 
constructor like this:
From:
{{{
private MyProxyVideoConsumer(VideoConsumer consumer){
    super(tmedia_chroma_t.tmedia_rgb565le);
    this.consumer = consumer;
}
}}}
To:
{{{
private MyProxyVideoConsumer(VideoConsumer consumer){
super(hasTheoraARM ? tmedia_chroma_t.tmedia_yuv420p : 
tmedia_chroma_t.tmedia_rgb565le);
    this.consumer = consumer;
}
}}}
This will tell "doubango" that the consumer support YUV420 (if "libconvert.so" 
is present) and that we don't need a converter ==> Will disable YUV2RGB 
functions. This means that VideoConsumer::consume(ProxyVideoFrame _frame) will 
receive YUV420 frames. In this function ("consume") you can call yuv2rgb() to 
convert the buffer.

Any feedback is welcome.

Original comment by [email protected] on 19 Oct 2010 at 6:01

  • Changed state: Accepted

from doubango.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Any news?

Original comment by [email protected] on 9 Nov 2010 at 6:45

from doubango.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Sorry for a lack of answer on my side - I've currently got a load of other work 
so I was unable to implement your way of optimization, but this does not mean I 
haven't spent time on reading your post, be sure of that 8) Was going to 
implement then answer - but as you see was not able to do it in a decent 
timeframe. As I see, your offered way is safer doubango-wise since you shift 
the optimization to the client code although it's going to be a little bit 
slower due to the intercode function calls between Dalvik and compiled asm 
code. So yes it could be done and as soon as I have spare time I might 
implement it. Please keep this issue open for a while in case someone else 
wants to do something useful before I have time 8)

Original comment by [email protected] on 12 Nov 2010 at 3:17

from doubango.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Can i make it to a single *.so or *.a ?

Original comment by [email protected] on 25 Oct 2011 at 3:09

from doubango.

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.