t0niks / rk3066-linux

Automatically exported from code.google.com/p/rk3066-linux
0 stars 0 forks source link

Add VPU support for HW-accelerated video decoding #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If we cannot get ahold of the source code; we might be able to use the 
precompiled binaries from Android (the libvpu and dependent libs) and write a 
wrapper for video acceleration... maybe.
That could be hard to achieve, but it is doable I think.

Are we missing the VPU code from the kernel source? (I saw the config option 
for VPU; but I did not look for the source and did not try to compile it)

Original issue reported on code.google.com by almrob...@gmail.com on 4 Dec 2012 at 2:08

GoogleCodeExporter commented 8 years ago
Tried enabling VPU but, as expected, some sources seem to be missing in kernel.

Seem to be missing vpu_service.c (and dependents) --> 
arch/arm/plat-rk/vpu_service.o

Original comment by almrob...@gmail.com on 4 Dec 2012 at 9:56

GoogleCodeExporter commented 8 years ago
This could be of interest....

Maybe we should contact this chenhengming:

robert@owllap:~/projects/rk3066/rk3066-kernel/arch/arm/plat-rk/include/plat$ 
cat vpu_service.h 
/* arch/arm/mach-rk29/include/mach/vpu_service.h
 *
 * Copyright (C) 2010 ROCKCHIP, Inc.
 * author: chenhengming chm@rock-chips.com
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

Original comment by almrob...@gmail.com on 4 Dec 2012 at 10:03

GoogleCodeExporter commented 8 years ago

Original comment by almrob...@gmail.com on 7 Dec 2012 at 8:27

GoogleCodeExporter commented 8 years ago

Original comment by almrob...@gmail.com on 7 Dec 2012 at 8:27

GoogleCodeExporter commented 8 years ago

Original comment by almrob...@gmail.com on 7 Dec 2012 at 8:29

GoogleCodeExporter commented 8 years ago

Original comment by AlokSinha2001 on 17 Dec 2012 at 1:40

GoogleCodeExporter commented 8 years ago
Hi Andrew,

Did check this post ?

http://odroid.foros-phpbb.com/t2051-working-mali-400-opengl-es-acceleration

Original comment by compy...@gmail.com on 10 Jan 2013 at 9:04

GoogleCodeExporter commented 8 years ago
I dont know if you are still missing the vpu_service.c but it can be found here:
https://github.com/omegamoon/rockchip-rk30xx-mk808/blob/master/arch/arm/plat-rk/
vpu_service.c

Original comment by adusr...@gmail.com on 10 Apr 2013 at 5:29

GoogleCodeExporter commented 8 years ago
Hi guys, I am Herman Chen for rockchip.
Here is the alpha release version source code of libstagefright.so:
https://github.com/HermanChen/Rockchip_4.1_release_libstagefright
Hope it will help :)

Original comment by nil820...@gmail.com on 6 May 2013 at 9:28

GoogleCodeExporter commented 8 years ago
Hi everybody!
Is there any progress with this issue? I can try to help with the 
implementation of h/w decoding implementation cause I have an MK808 device with 
this chip on board and anyone will point me on where to start from for a quick 
start.

Original comment by ErikTsa...@googlemail.com on 4 Jun 2013 at 7:02

GoogleCodeExporter commented 8 years ago
So, Is it possible to make working vpu ?

Original comment by sahab.a...@gmail.com on 8 Jun 2013 at 3:44

GoogleCodeExporter commented 8 years ago
I think at least we can try. If the VPU sources are compilable and working (see 
comment #8) then everything is much better than it could be otherwise.

Original comment by ErikTsa...@googlemail.com on 10 Jun 2013 at 6:34

GoogleCodeExporter commented 8 years ago
This is the showstopper. 90% of the people will use picuntu solely for xbmc.

Original comment by faibis...@gmail.com on 18 Sep 2013 at 6:56

GoogleCodeExporter commented 8 years ago
proof?

Original comment by sahab.a...@gmail.com on 18 Sep 2013 at 7:48

GoogleCodeExporter commented 8 years ago
Has anyone tried compiling this source?

Original comment by sensaur...@gmail.com on 1 Oct 2013 at 4:58

GoogleCodeExporter commented 8 years ago
Hey, we are trying to collect as much information as possible on this as to get 
video acceleration some day.

http://linux-rockchip.info/mw/index.php?title=VideoAcceleration

We have also opened a mailing list to coordinate efforts:
https://groups.google.com/forum/#!forum/linux-rockchip
Feel free to write

Cheers! 

Original comment by alejandr...@gmail.com on 24 Mar 2014 at 12:13