Usage of Multimedia Hw Acc subcomponents.....

33 views
Skip to first unread message

Girish H T

unread,
Apr 10, 2012, 1:44:18 AM4/10/12
to omapd...@googlegroups.com

Hi,

 

We are facing some crash issues while using hw codecs. While debugging we are seeing issues w.r.t hw acceleration subcomponent.

 

Some background

We are using a sample program which comes with the panda source. This takes mp3 as input, decodes it and writes a raw output file.

This is done via openmax components which uses (Ducati) hardware codecs.

 

ics_403\androidfs\hardware\ti\domx\test\sample_proxy\test_sample_proxy.c – File path

with some modifications (commented memmgr.h) we are using this file.

 

Logs

root@android:/system/bin # ./omxproxysample /sdcard/Music/Bach-GoldbergVariati usic/Bach-GoldbergVariation.mp3 /sdcard/Music/out.raw 
 Entering : main 
 
Calling sem create
 
Sem created

Input [  317.625030] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
file opened

 
I[  317.632598] omap-iommu omap-iommu.0: iommu_get: ducati qos_request
nitialize OpenMA[  317.659667] omap_hwmod: ipu: failed to hardreset
X

 
Load a comp[  317.665557] omap-iommu omap-iommu.0: ducati: version 2.1
onent
[  317.853698] rpmsg_omx rpmsg6: conn rsp: status 0 addr 101
 
eError = 0x0
 
hComp = 0x188d040

 
Verify that the component is in Loaded state
Client does [  317.871978] _rpmsg_omx_buffer_lookup: _rpmsg_omx_buffer_lookup: buffer lookup failed fffffffb

Can some one point me what may be the cause for this issue ?

 

PS: Point to be noted here that normal decoding via hardware works fine via android framework

Regards

Girish

Ranka, Abhishek

unread,
Apr 10, 2012, 2:00:23 AM4/10/12
to omapd...@googlegroups.com
Girish,

MP3 decoding is not hardware accelerated on Ducati today. Please use it only for video decode/encode and camera.

Regards, Abhishek

Girish

unread,
Apr 10, 2012, 3:21:22 AM4/10/12
to omapdiscuss
Hi Abhishek,

Any sample code to test the DUCATI subsystem on android would be of a
great help.
Basic Video Encoding/Decoding should do. Is it possible to provide
share code/link ?

Regards
Girish

On Apr 10, 11:00 am, "Ranka, Abhishek" <asra...@ti.com> wrote:
> Girish,
>
> MP3 decoding is not hardware accelerated on Ducati today. Please use it
> only for video decode/encode and camera.
>
> Regards, Abhishek
>
> On Tue, Apr 10, 2012 at 11:14 AM, Girish H T <htgir...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > We are facing some crash issues while using hw codecs. While debugging we
> > are seeing issues w.r.t hw acceleration subcomponent.
>
> > *Some background*
>
> > We are using a sample program which comes with the panda source. This
> > takes mp3 as input, decodes it and writes a raw output file.
>
> > This is done via openmax components which uses (Ducati) hardware codecs.
>
> > ics_403\androidfs\hardware\ti\domx\test\sample_proxy\test_sample_proxy.c *–
> > File path*
>
> > with some modifications (commented memmgr.h) we are using this file.
>
> > *Logs*
>
> > *root@android:/system/bin # ./omxproxysample
> > /sdcard/Music/Bach-GoldbergVariati usic/Bach-GoldbergVariation.mp3
> > /sdcard/Music/out.raw
> >  Entering : main
>
> > Calling sem create
>
> > Sem created** *
>
> > *Input [  317.625030] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
> > file opened **
> > **
> > I[  317.632598] omap-iommu omap-iommu.0: iommu_get: ducati qos_request
> > nitialize OpenMA[  317.659667] omap_hwmod: ipu: failed to hardreset
> > X **
>
> > **Load a comp[  317.665557] omap-iommu omap-iommu.0: ducati: version 2.1
> > onent
> > [  317.853698] rpmsg_omx rpmsg6: conn rsp: status 0 addr 101
>
> > eError = 0x0
>
> > hComp = 0x188d040 **
> > **
> > Verify that the component is in Loaded state
> > Client does [  317.871978] _rpmsg_omx_buffer_lookup:
> > _rpmsg_omx_buffer_lookup: buffer lookup failed fffffffb ***
>
> > Can some one point me what may be the cause for this issue ?
>
> > * *

Girish

unread,
Apr 11, 2012, 1:12:41 AM4/11/12
to omapdiscuss
Hi Abhishek,

Can you help me with the query ? Is it possible to provide sample code
form testing ducati on panda ?

Regards
Girish
Reply all
Reply to author
Forward
0 new messages