Support V4L stateless video decoder API by NVIDIA Tegra decoder driver. Tested using GStreamer [1] and libvdpau-tegra [2]. [1] https://github.com/grate-driver/gstreamer/commit/b8509bdbb69b534e61419ea1798f32f9ad2f3597 [2] https://github.com/grate-driver/libvdpau-tegra/commit/f822e95911e5e0c39f8ba19f843ddc1e0138d5ce Dmitry Osipenko (2): media: staging: tegra-vde: Factor out H.264 code media: staging: tegra-vde: Support V4L stateless video decoder API drivers/staging/media/tegra-vde/Kconfig | 7 + drivers/staging/media/tegra-vde/Makefile | 2 +- drivers/staging/media/tegra-vde/h264.c | 988 ++++++++++++++++ drivers/staging/media/tegra-vde/h264_reader.c | 264 +++++ drivers/staging/media/tegra-vde/v4l2.c | 1013 +++++++++++++++++ drivers/staging/media/tegra-vde/vde.c | 700 ++---------- drivers/staging/media/tegra-vde/vde.h | 129 +++ 7 files changed, 2487 insertions(+), 616 deletions(-) create mode 100644 drivers/staging/media/tegra-vde/h264.c create mode 100644 drivers/staging/media/tegra-vde/h264_reader.c create mode 100644 drivers/staging/media/tegra-vde/v4l2.c -- 2.33.1