Hi,
I tested your plugin flash accelerated by dsp on a beagleboard XM A2 (dm3730).
With a video in 720p in a mp4 container, the plugin is slow. But, when I tested the raw video in 720p with the demos decode provides with your dvsdk 4.01.00.09, it works.
I'm sure that the plugin uses the dsp because, I observed this traces when I set "export DMAI_DEBUG=2" :
...
@0x08a05fbd:[T:0x40389220] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret 0 inId 0 inUse 0 consumed 12253
@0x08a1663c:[T:0x40389220] ti.sdo.dmai - [Buffer] Set user pointer 0x587bed7c (physical 0x86acdd7c)
@0x08a16cac:[T:0x40389220] ti.sdo.dmai - [Buffer] Set user pointer 0x587bed7c (physical 0x86acdd7c)
@0x08a23b62:[T:0x40389220] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret 0 inId 0 inUse 0 consumed 14219
@0x08a24c12:[T:0x40389220] ti.sdo.dmai - [Buffer] Set user pointer 0x587c2507 (physical 0x86ad1507)
@0x08a25208:[T:0x40389220] ti.sdo.dmai - [Buffer] Set user pointer 0x587c2507 (physical 0x86ad1507)
@0x08a30e62:[T:0x40389220] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret 0 inId 0 inUse 0 consumed 12876
@0x08a3150f:[T:0x40389220] ti.sdo.dmai - [Buffer] Set user pointer 0x587c5753 (physical 0x86ad4753)
@0x08a31d86:[T:0x40389220] ti.sdo.dmai - [Buffer] Set user pointer 0x587c5753 (physical 0x86ad4753)
@0x08a3f958:[T:0x40389220] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret 0 inId 0 inUse 0 consumed 13917
...
Dvsdk : 4.01.00.09
Psp : 4.02.00.07 (kernel 2.6.37)
Graphics sdk : 4_04_00_02
Plugin Flash : 10.2 version 0.80
I supposed that the problem appears because your kernel 2.6.37 don't set the CPU freq to 1Ghz. The kernel returns :
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] WARNING: at /usr/software/embedded-systems/subsystems/linux/kernel-omap/2.6.37-1/src/arch/arm/mach-omap2/clock.c:438 omap2_clk_switch_mpurate_at_boot+0x7c/0xac()
[ 0.000000] clock: dpll1_ck: unable to set MPU rate to 1000: -22
[ 0.000000] Modules linked in:
[ 0.000000] [<c0049fbc>] (unwind_backtrace+0x0/0xec) from [<c0071634>] (warn_slowpath_common+0x4c/0x64)
[ 0.000000] [<c0071634>] (warn_slowpath_common+0x4c/0x64) from [<c00716cc>] (warn_slowpath_fmt+0x2c/0x3c)
[ 0.000000] [<c00716cc>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0012bd0>] (omap2_clk_switch_mpurate_at_boot+0x7c/0xac)
[ 0.000000] [<c0012bd0>] (omap2_clk_switch_mpurate_at_boot+0x7c/0xac) from [<c0012c0c>] (omap3xxx_clk_arch_init+0xc/0x3c)
[ 0.000000] [<c0012c0c>] (omap3xxx_clk_arch_init+0xc/0x3c) from [<c003a3ac>] (do_one_initcall+0xbc/0x190)
[ 0.000000] [<c003a3ac>] (do_one_initcall+0xbc/0x190) from [<c0008688>] (kernel_init+0x94/0x14c)
[ 0.000000] [<c0008688>] (kernel_init+0x94/0x14c) from [<c004528c>] (kernel_thread_exit+0x0/0x8)
[ 0.000000] ---[ end trace 1b75b31a2719ed1c ]---
How I could resolve the kernel bug?
Do you confirm me that the plugin can play a video in 720p?