how to integrate a mjpeg decoder into open core framework

by dadaowuwei » Fri, 23 Apr 2010 08:05:47 GMT

Sponsored Links
I am quite new for android onpencore framework and have some
questions  for integrating process of a new openmax mjpeg component

1. can I directly inherit the omx_component_video class to form my own
mjpeg component?
2. how pvmf consumes the output buffer of the component, what kind of
decoded data should i put onto the output buffer so that these data
will be recognized by pvmf and played (this helps me to design my
3. when pvmf  first sends fillthisbuffer command to component,I wonder
how pvmf could indicate the component where the file is?
4. If the file needs to be serialized before filling in the input
buffer and who serialize it component or pvmf?

thank you very much,
Best Regards,



Other Threads

1. How to delete directory from SD card on uninstall?

Hi, all!
My application creates directory on SD card for syncronisation
Tell me please, is there any way to delete this directory on
May be I could add some string to Manifest or catch "uninstall" event
or something else?

Any help will be very useful,


2. Implementing a Service - Call down to super?


What you saying is certainly true generically.  But I am specifically
talking about a class as follows:

public class JakeService extends Service {

In example code I don't think I usually see calls up to the super
implementations.  That seems wrong.  So when extending the Service class
do you call super before or after you do your own work?  Wouldn't the
answer to this question be the same regardless of what my Service
implementation does?


   JA> But DanH is right, it totally depends on what you want to do.  It
   JA> also depends on what super does... If your subclass is setting
   JA> information that is also set by super then chances are you would
   JA> want to call super first.  If what super does varies based on
   JA> settings in your implementation, then you would want to call
   JA> super last.  If there is no such relationship then it doesn't
   JA> matter when you call.

   JA> Also, IMHO, you would only want to skip calling super in
   JA> extremely rare circumstances.

   JA> And, technically speaking, you would be calling "up" to the super
   JA> implementation, but that's just semantics... :-)

   JA> ----------------------------------------------------------------------
   JA> There are only 10 types of people in the world...
   JA> Those who know binary and those who don't.
   JA> ----------------------------------------------------------------------

   >> Maybe, maybe not.  It depends on what you want to do.

   >> > When extending Service with your own Service, should you be calling down
   >> > to the super implementation of the methods that are being overridden?
   >> > If so, do you do it before or after you've invoked your own code?
   >> >
   >> > --
   >> > Jake Colman -- Android Tinkerer
   >> --

3. Image viewers on android phones not always the best experience?

4. How to know whether bluetooth is enabled/disabled

5. ContextMenu Problem - how to resolve these menu items

6. Implementing a Service - Call down to super?

7. adb device not getting recognized.