Re: DSP Bridge video decode of above VGA videos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi James,

On Tue, Nov 23, 2010 at 8:34 AM, James Adams <james.r.adams@xxxxxxxxx> wrote:
> A bit more information about why videos are not playing in a port of
> Zoom2 to gumstix:
>
> 2)
> If I use the OpenCORE unit tests I can successfully decode:
>   VGA movies with software codec
>   1280*544 movie with software codec
>   VGA movies with DSP codec
> but it fails for the 1280x544 movie with DSP codec.
>
> This is the error log:
>   pvplayer_engine_test -test 1 1 -source wall720p.mp4
>   SDK Labeled: PVDEV_CORE_RELEASE_6.506.4.1 built on 20090312
>
>   Test Program for pvPlayer engine class.
>     Input file name 'wall720p.mp4'
>     Test case range 1 to 1
>     Compressed output Video(No) Audio(No)
>     Log level 8; Log node 0 Log Text 0 Log Mem 0
>
>   Starting Test 1: Open-Play-Stop-Reset
>
>   ****************LCML ERROR : DSP ************************
>   Error: Create the Node : Err Num = 8000800c
>   ****************LCML ERROR : DSP ************************
>

It looks that your system is getting ride of memory and it is failing
in the creation stage of a DSP node.
I  suggest you to free all the not needed resources before trying to
decode the 1280x544 movie with the DSP decoders, There are a couple of
minor allocations done during the node create stage.
To debug it you can take a look to the bridge code:
drivers/dsp/bridge/
Basically communication with the DSP is handled by such driver[1].
The error should be coming from drivers/dsp/bridge/rmgr/node.c
in the node_create() function.

> 3)
> I can't find this 8000800c number defined anywhere in the Android tree.
> Any idea what it means?

For this version of the bridge driver  0x8000800c should mean a
"DSP_EMEMORY" error, find it in [2]. You can take a look in the driver
mentioned above for the place where you are getting that error.
Functions where you can get that error in the node's create phase are:

1) drivers/dsp/bridge/rmgr/Nldr.c
LoadLib()

2) drivers/dsp/bridge/pmgr/Dbll.c
DBLL_open()

3) drivers/dsp/bridge/rmgr/Dbdcd.c
GetDepLibInfo()


4) drivers/dsp/bridge/pmgr/Dbll.c
DBLL_load()

5) drivers/dsp/bridge/rmgr/rmm.c
RMM_alloc()
    - When calling to allocBlock()
    - When allocate list element for new section.


>
> 4)
> Using the software codec from inside the Android Gallery application I
> still get the same errors as mentioned before about missing video buffer
> addresses.

In general, OpenCore/Omx question should go to a different list, since
it is not kernel specific, i would suggest you to contact your vendor
to point you to the correct support team.

Regards,
Rene Sapiens
--
[1] http://omapzoom.org/wiki/DSPBridge_Project#Documents
[2] http://git.omapzoom.org/?p=kernel/omap.git;a=blob;f=arch/arm/plat-omap/include/dspbridge/errbase.h;h=f04c005c06adb253a3b2f8886ba38e4475b578b3;hb=refs/heads/p-android-omap-2.6.29-eclair#l130
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux