We have V4L2 support for resize and format conversion (it wraps the ISP block), and V4L2 also allows us to do zero copy transfer via dmabufs.dickon wrote: ↑Mon Jun 24, 2019 5:59 pmPity, as that precludes using the various bits of the pipeline to do stuff with -- resize, etc. -- but I don't blame you for a minute...
It's also possible to pass dmabufs into MMAL (not IL) for zero copy operation, and libdrm for rendering.
dickon wrote:Will I be able to play 4K H.265 tomorrow morning, out of the box, or is it all still a work in progress?The hope is to switch to use the V4L2 M2M API (almost certainly the stateless variant), but we (I) need to improve our understanding of it first. With that, the expectation is that the ffmeg and GStreamer implementations of said API will just work. We pretty much have that with the existing codecs (via the stateful V4L2 API) at the moment.
Kodi as packaged with Libreelec has the required patches.
I believe we need to make the changes to the Kodi bundled in Raspbian - I was discussing earlier in the office as to what is required there.