Hi, > My take on this (for a decoder) would be to allocate memory for output > buffers > from a secure ION heap, import in the v4l2 driver, and then to provide those > to the device using virtio. The device side then uses the dmabuf framework to > make the buffers accessible for the hardware. I'm not sure about that, it's > just an idea.
Virtualization aside, how does the complete video decoding workflow work? I assume along the lines of ... (1) allocate buffer for decoded video frames (from ion). (2) export those buffers as dma-buf. (3) import dma-buf to video decoder. (4) import dma-buf to gpu. ... to establish buffers shared between video decoder and gpu? Then feed the video stream into the decoder, which decodes into the ion buffers? Ask the gpu to scanout the ion buffers to show the video? cheers, Gerd --------------------------------------------------------------------- To unsubscribe, e-mail: virtio-dev-unsubscr...@lists.oasis-open.org For additional commands, e-mail: virtio-dev-h...@lists.oasis-open.org