[android-porting] UUID association problem

22 views
Skip to first unread message

HV

unread,
Apr 28, 2010, 11:27:38 AM4/28/10
to android-porting
Hi,

I've written my own MPEG-4 decoder component and having issues when
the associated .cfg file is being read. I get the following error:

E/PV ( 828):
PVLOG:TID(0xca690):Time=42:OsclLibraryList::Populate '/system/etc/
mymp4.cfg' IN
E/PV ( 828):
PVLOG:TID(0xca690):Time=44:OsclLibraryList::Populate - Found a (,
reading uuid
E/PV ( 828):
PVLOG:TID(0xca690):Time=45:OsclLibraryList::Populate - uuid not a
match, skipping line
E/PV ( 828):
PVLOG:TID(0xca690):Time=46:OsclLibraryList::Populate, Didn't find any
DLL for the OsclUuid

As for the UUID, I just got a new one from the web. The mymp4.cfg file
looks like this:

(0x8b98b3b0,0x51c2,0x11df,0x98,0x79,0x08,0x00,0x20,0x0c,0x9a,
0x66),"libomx_mymp4dec_sharedlibrary.so"

& I have an entry in pv_omxcore.h as:

#define PV_OMX_MYMP4DEC_UUID OsclUuid(0x8b98b3b0,0x51c2,0x11df,
0x98,0x79,0x08,0x00,0x20,0x0c,0x9a,0x66)

All this is similar to the software decoder, but I'm not sure what
else I've missed. Any clues? Is there any other association that I
need to establish between the decoder dll & the UUID?

Thanks
HV

--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting

Deva R

unread,
May 3, 2010, 11:07:24 AM5/3/10
to harishv...@gmail.com, android-porting
Hi,
is this resolved?

we never used to change the OSCL UUID from what's specified in OMX
integration guide., and populate our own OMX llibrary..

from OpenCore - OMX Core Integration Guide,
"The OsclUuid provided is the unique API ID that identifies the OMX
core interface and cannot be modified:
(0xa054369c,0x22c5,0x412e,0x19,0x17,0x87,0x4c,0x1a,0x19,0xd4,0x5f)"

my sample .cfg file will be as below, and we get prioritized over PV
core compoenents by filename (01_myomx.cfg > pvplayer.cfg )..
(0xa054369c,0x22c5,0x412e,0x19,0x17,0x87,0x4c,0x1a,0x19,0xd4,0x5f),"lib_my_omx.so"

Harish V

unread,
May 3, 2010, 11:45:03 AM5/3/10
to Deva R, android-porting
Hi Deva,

Yes, sorry I forgot to respond. This is solved & yes I had misread the .pdf which explicitly says that I have to use that OMX_INTERFACE_ID. I'm past this problem and tackling another one (not able to get my OMX_Init( ) function pointer).

btw, is there a way to close an issue?

Thanks for your time
HV

Deva R

unread,
May 3, 2010, 11:59:11 AM5/3/10
to Harish V, android-porting
>not able to get my OMX_Init( ) function pointer
We populate all our pointers in a derived OMXInterface class..
you can refer our omx core plugin code at
http://git.omapzoom.org/?p=platform/hardware/ti/omx.git;a=tree;f=core_plugin


>is there a way to close an issue?
you meant OMX_Init() issue or UUID issue??

Harish V

unread,
May 3, 2010, 12:59:19 PM5/3/10
to Deva R, android-porting
Thanks for sharing the code. My interface file is similar to what you have (I just used the pv_omx_interface.cpp as the template). But, who is supposed to create an instance of the class TIOMXInterface?
 
Specifically for my case in, _OMX_MasterInit, I see that there are 2 cores (my vendor specific MPEG-4 component and the s/w version), but the function pointer to OMXInit is NULL (for core #0) while the s/w version has a valid ptr. This is where it just crashes and I don't get any thumbnails in the 'Gallery'.
 
As for the thread closing thingy, it was a general Q to make sure that people don't waste time reading issues which have already been resolved.
 
Best regards
HV

HV

unread,
May 4, 2010, 9:02:47 AM5/4/10
to android-porting
This issue is RESOLVED. There was a typo in my .cfg file, instead of
using the core_interface.so, I had put in the mp4lib_component.so & I
wasn't getting a call into PVGetInterface(). Now, it goes through and
completes the loading. I have to read up the next parts..

Cheers
HV

On May 3, 9:59 pm, Harish V <harishv.athr...@gmail.com> wrote:
> Thanks for sharing the code. My interface file is similar to what you have
> (I just used the pv_omx_interface.cpp as the template). But, who is supposed
> to create an instance of the class TIOMXInterface?
>
> Specifically for my case in, _OMX_MasterInit, I see that there are 2 cores
> (my vendor specific MPEG-4 component and the s/w version), but the function
> pointer to OMXInit is NULL (for core #0) while the s/w version has a valid
> ptr. This is where it just crashes and I don't get any thumbnails in the
> 'Gallery'.
>
> As for the thread closing thingy, it was a general Q to make sure that
> people don't waste time reading issues which have already been resolved.
>
> Best regards
> HV
>
>
>
>
>
> On Mon, May 3, 2010 at 9:29 PM, Deva R <r.deva...@gmail.com> wrote:
> > >not able to get my OMX_Init( ) function pointer
> > We populate all our pointers in a derived OMXInterface class..
> > you can refer our omx core plugin code at
>
> >http://git.omapzoom.org/?p=platform/hardware/ti/omx.git;a=tree;f=core...
>
> > >is there a way to close an issue?
> > you meant OMX_Init() issue or UUID issue??
>
> > On Mon, May 3, 2010 at 9:15 PM, Harish V <harishv.athr...@gmail.com>
> > wrote:
> > > Hi Deva,
>
> > > Yes, sorry I forgot to respond. This is solved & yes I had misread the
> > .pdf
> > > which explicitly says that I have to use that OMX_INTERFACE_ID. I'm past
> > > this problem and tackling another one (not able to get my OMX_Init( )
> > > function pointer).
>
> > > btw, is there a way to close an issue?
>
> > > Thanks for your time
> > > HV
>
> > > On Mon, May 3, 2010 at 8:37 PM, Deva R <r.deva...@gmail.com> wrote:
>
> > >> Hi,
> > >> is this resolved?
>
> > >> we never used to change the OSCL UUID from what's specified in OMX
> > >> integration guide., and populate our own OMX llibrary..
>
> > >> from OpenCore - OMX Core Integration Guide,
> > >> "The OsclUuid provided is the unique API ID that identifies the OMX
> > >> core interface and cannot be modified:
> > >> (0xa054369c,0x22c5,0x412e,0x19,0x17,0x87,0x4c,0x1a,0x19,0xd4,0x5f)"
>
> > >> my sample .cfg file will be as below, and we get prioritized over PV
> > >> core compoenents by filename (01_myomx.cfg > pvplayer.cfg )..
>
> > (0xa054369c,0x22c5,0x412e,0x19,0x17,0x87,0x4c,0x1a,0x19,0xd4,0x5f),"lib_my_ omx.so"
>
> > >> > unsubscribe: android-porti...@googlegroups.com<android-porting%2Bunsubscribe@ googlegroups.com>
Reply all
Reply to author
Forward
0 new messages