RSS Bot Posted June 26 Posted June 26 Description We can also use rkvdec2 on rk356x. Remove all non-coherent-dst-bufs patches because they are suggested by a chromium developer when using libyuvimageprocessor to do NV12->AR24 convert. Now we use wayland gbm to render NV12 directly, so these patches are not necessary. Add rkvdec2 nodes to devicetree of rk356x. Enable rkvdec2 in kernel config and change CMA size from 128M to 384M for chromium's 4K h264 decoding. Change hantro g1 vpu compatible string from rockchip,rk3568-vpu to rockchip,rk3328-vpu because they have exactly the same vpu variant data. Disable h264 decoder of rk3328-vpu because there are aleady rkvdec/rkvdec2 h264 decoders on rk3328 and rk356x. Multi H264 decoders will make gstreamer and chromium confused. Add chromium v4l2 decoder udev rule for rk3328-vpu How Has This Been Tested? Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration. [x] Tested on orangepi3b noble edge with chromium from my ppa: https://launchpad.net/~liujianfeng1994/+archive/ubuntu/chromium, 1080p and 2160p h264 videos and 1080p vp8 video are played with hardware decoder. Checklist: Please delete options that are not relevant. [x] My code follows the style guidelines of this project [x] I have performed a self-review of my own code [ ] I have commented my code, particularly in hard-to-understand areas [x] My changes generate no new warnings [ ] Any dependent changes have been merged and published in downstream modules View the full article
Recommended Posts