Toybrick

RK1808 mpp usage

rakidis

高级会员

积分
507
楼主
发表于 2020-12-18 21:47:37    查看: 6443|回复: 5 | [复制链接]    打印 | 只看该作者
Hello,

I have been trying to use mpp libraries on RK1808 chipset but I am struggling whilst trying to create mpp decoder. I followed the wiki tutorial on toybrick and managed to run mppdecoder on Rk3399pro. But I cannot find the relevant libraries or the source code to do the same on rk1808.

So could you share the source code that include "MppDecoderCreate" function if possible?
Also, to not disturb you further, could you enlighten me on where I can access these toybrick sample codes, that use rockchip libraries? Like this one from Jerzha "https://github.com/Jerzha/samples-toybrick-rga/tree/master/rockchip_rga"

Usually the documents from rockchip-linux github page are too complicated and hard to to follow, and there are no basic samples. I saw Addy Ke has some more basic APIs for many libraries, but its impossible to find them on the forum or github. Can you please upload these source codes maybe on Onedrive or on repo.rock-chips.com so we can access them outside of China?

Regards,
Thanks in advance


回复

使用道具 举报

jefferyzhang

版主

积分
12928
沙发
发表于 2020-12-18 23:51:56 | 只看该作者
Try origin mpp lib -> https://github.com/rockchip-linux/mpp
And RGA lib -> https://github.com/rockchip-linux/linux-rga
There are many useful samples in it.
回复

使用道具 举报

rakidis

高级会员

积分
507
板凳
 楼主| 发表于 2020-12-21 14:02:52 | 只看该作者
Yeah Jeffery, but they are not simple examples like the ones you provided for rga.

https://github.com/Jerzha/sample ... master/rockchip_rga

The one you provided was very conveinent to use and it was like a higher API, provided by Addy Ke. He has similiar simple API for mpp library also (in rk3399pro repo), but I dont have access to it's source code.

So it would make using mpp very easy for me and others if you ask him to provide those easy to use API's source codes.
回复

使用道具 举报

jefferyzhang

版主

积分
12928
地板
发表于 2020-12-21 14:20:29 | 只看该作者
rakidis 发表于 2020-12-21 14:02
Yeah Jeffery, but they are not simple examples like the ones you provided for rga.

https://github. ...

The lib provided by AddyKe is same as https://github.com/Jerzha/samples-toybrick-rga.
Our code and official implementation are the same way to call RGA via ioctl /dev/rga.
But the code https://github.com/rockchip-linux/linux-rga is the latest official implementation (last month), which is better than all RGA implementation in all platform and all rk-chips.
回复

使用道具 举报

rakidis

高级会员

积分
507
5#
 楼主| 发表于 2020-12-21 14:35:16 | 只看该作者
I know it is the same, since he is the maintainer of that repository for rk3399pro.

I am well aware that rockchip-linux repository is up to date since last month, but  samples in that repository are usually very complicated, and documentation is poor. Meanwhile the samples you provide on toybrick forum wiki page are very simple and conveinent to use, since they use the higher APIs provided by  AddyKe. But the problem is, I cannnot use AddyKe's 3399pro precompiled libraries for mpp, rga on rk1808.

I managed to use Rga on 1808 only because you provided those AddyKe's rga libraries source code in your sample. So I am asking if you can provide AddyKe's mpp source codes?
Maybe his other higher API codes as well.
回复

使用道具 举报

rakidis

高级会员

积分
507
6#
 楼主| 发表于 2020-12-21 18:28:20 | 只看该作者
Jeffery should I just try to find other solution if you are not going to help me?

Can you direct me to AddyKe perhaps?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表