See http://www.joelonsoftware.com/articles/fog0000000069.html

Of course, Stagefright itself is a rewrite of a previous media framework,
but even that replacement was done incrementally, not in one fell swoop. 

On Thursday, September 13, 2012 6:32:01 AM UTC-7, Gabriel Beddingfield 
wrote:
>
>
> I am not a lawyer... but yes, I believe that it is technically it's 
> possible for you to replace Stagefright on your device and still be able 
> to market it as "Android." 
>
> But here's why it's a bad idea: 
>
> 1. It's freaking done. It's well tested, quality controlled, and 
>     handles corner cases that you can't even imagine yet. 
>
> 2. I wonder how easy it will be to pass CTS with your own 
>     Stagefright implementation. 
>
> 3. You have to implement more than just the MediaPlayer interface. 
>     Several components (like Gallery player, camera) link directly to 
>     Stagefright.  So you also have to implement its binary interface. 
>
> 4. Stagefright provides more than just "video."  It is the focal 
>     point of all things "media" -- audio, video, decoding, encoding, 
>     A/V sync, etc.  You'll have to re-implement all of that. 
>
> So, if you have a couple years to spend on this -- knock yourself out! 
> Otherwise, you can provide an OMX interface to your video layer and ship 
> somewhat sooner. 
>
> -gabriel 
>
> On 09/13/2012 02:48 AM, ajitabh saxena wrote: 
> > HI There, 
> >     I need to following the right design so please shed some light on 
> > this one. 
> > 
> > Thanks, 
> > AJ 
> > 
> > On Mon, Sep 10, 2012 at 1:00 PM, ajitabh saxena 
> > <[email protected] <javascript:> 
> > <mailto:[email protected]<javascript:>>> 
> wrote: 
> > 
> >     Hi All, 
> >               I am in the process of adding hardware acceleration for 
> >     media playback for my platform. I think the shortest route for me is 
> >     to write a player at the same level as stage fright expose all the 
> >     interfaces equivalent to that exposed by StageFright and then hook 
> >     up my hardware below this player. 
> >                I have been told that this is not the right approach and 
> >     we should write OpenMAX IL layer to do this. My question is "Why?". 
> >     If Google is not going to change StageFright interface to higher 
> >     layer I should be fine writing my own StageFright, isn't it? 
> > 
> >     I really appreciate any information here. 
> > 
> >     Thanks, 
> >     - Ajitabh 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "android-platform" group. 
> > To post to this group, send email to 
> > [email protected]<javascript:>. 
>
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:>. 
> > For more options, visit this group at 
> > http://groups.google.com/group/android-platform?hl=en. 
>
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to