Commit Graph

4 Commits

Author SHA1 Message Date
TaoJiang
d7403ef2aa lf-13605: arm64: virtio video: solve warning
change variable type

Signed-off-by: TaoJiang <tao.jiang_2@nxp.com>
2024-10-09 11:20:21 +05:30
TaoJiang
e1e4ac7c48 LF-13605: arm64: virtio video: limit codec buffer size
Currently, IOMMU was not enabled, so SWIOTLB was used.
But the default maximum size of one singe bounce is 256KB
So we need to limit codec buffer size.
When IOMMU is enabled, we can revert this patch.

Signed-off-by: TaoJiang <tao.jiang_2@nxp.com>
Reviewed-by: MingQian <ming.qian@nxp.com>
2024-10-09 11:11:06 +05:30
TaoJiang
06f9153494 LF-13605: add imx virtio video improvement v1.0
optimize performace for xen.
adapt gstreamer & unittest

Signed-off-by: TaoJiang <tao.jiang_2@nxp.com>
2024-10-08 14:32:12 +05:30
Ming Qian
d7c90011a0 virtio_video: Add the Virtio Video V4L2 driver
This adds a Virtio based video driver for video streaming device that
operates input and output data buffers to share video devices with
several guests. The current implementation consist of V4L2 based video
driver supporting video functions of decoder and encoder. The device
uses command structures to advertise and negotiate stream formats and
controls. This allows the driver to modify the processing logic of the
device on a per stream basis.

from https://github.com/aesteve-rh/linux,
align with 80c89869c3f7 ("virtio_video: add vicodec support and config")

Signed-off-by: Albert Esteve <aesteve@redhat.com>
Signed-off-by: Dmitry Sepp <dmitry.sepp@opensynergy.com>
Signed-off-by: Kiran Pawar <Kiran.Pawar@opensynergy.com>
Signed-off-by: Nikolay Martyanov <Nikolay.Martyanov@opensynergy.com>
Signed-off-by: Samiullah Khawaja <samiullah.khawaja@opensynergy.com>
Signed-off-by: Keiichi Watanabe <keiichiw@chromium.org>
2024-10-08 14:31:13 +05:30