i listed highlevel steps sometime last week,. link http://groups.google.com/group/android-porting/msg/5d88e76845a22bbb
[snip] asic steps are: integrate omx core in opencore -> we publish omx core .so in /etc/pvplayer.cfg files in stagefright -> we publish our OMX library in libstagefrighthw.so library add components against MIME type in OMXCodec.cpp->kDecoderInfo[] table once your compoennt is picked up for your the media, put OMX IL fixes as required. > Also, does SF use a different player? SF uses its own "Player Driver" ( implemented in StagefirghtPlayer.cpp/AwesomePlayer.cpp) any media-framework in android should implement android player driver with start/stop/setdatasource/pause/resume/seekto/etc interfaces, to take calls from libmedia,libmediaplayerservice. as we discussed above, gallery or any media application wont be aware of stagefright or opencore framework, it just uses android media library calls (ofcourse native apps can directly talk to sf/oc). internally Android media library picks a player type, as in media/libmediaplayerservice/MediaPlayerService.cpp=>getPlayerType() [1], and then process with start/stop/setdatasource/pause/resume/seek calls On Fri, Jan 28, 2011 at 8:24 AM, <[email protected]> wrote: > 1. Publish your OMX library in libstagefrighthw.so > > 2. Add components against MIME type in OMXCodec.cpp :: kDecoderInfo[] > table. > > From: [email protected] > [mailto:[email protected]] On Behalf Of biinn > Sent: Friday, January 28, 2011 2:44 AM > To: [email protected] > Subject: [android-porting] integrate the H/W decoder into stagefright > > > > hi, > > I have quickly looked Stagefright source in Gingerbread. It seems that > Stagefright uses codecs in either OMXCodec or OMX plugins. > > I have a H/W AVC decoder derived from OmxComponentVideo and registered in > pv_omxcore.cpp in Froyo OpenCORE. What is the best/quick way to integrate > the decoder into Gingerbread Stagefright? > > Thanks. > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- Regards, Deva www.bittoggler.com -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
