JeffyCN / libv4l-rkmpp

A rockchip-mpp V4L2 wrapper plugin for chromium V4L2 VDA/VEA
GNU Lesser General Public License v2.1
79 stars 26 forks source link

about decode size limit #10

Closed amazingfate closed 1 year ago

amazingfate commented 1 year ago

There are two locations defining decoder size limit: meson_options.txt and libv4l-rkmpp-dec.c. By default we use the values defined in meson. But that is a global config overwriting all the decoders. AV1 decoder on rk3588 supports 8K while the h264/h265 decoders support up to 4K. So why do we need global size limit defined in meson?

JeffyCN commented 1 year ago

for old chips, there're some customers want to set limits in build scripts and based on chips

JeffyCN commented 1 year ago

i think 3588 supports 8k h264/h265 too?

amazingfate commented 1 year ago

Got it. So just configuring meson_options.txt to 8K dec limit should be enough for rk3588. frmsize defined in libv4l-rkmpp-dec.c confused me.