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?
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 时间: 2020-12-21 14:20
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 时间: 2020-12-21 14:35
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 时间: 2020-12-21 18:28
Jeffery should I just try to find other solution if you are not going to help me?