I know there is at least one ffmpeg fork with Rockchip mpp and rga support, although I haven’t tested it myself yet: https://github.com/nyanmisaka/ffmpeg-rockchip
I have tested the mpp SDK a bit and the code is easy to work with, with examples for encode and decode, both sync and async.