The first patch adds codec helpers to v4l2-mem2mem. There are some fairly complicated corner cases that need to be handled correctly, and this should simplify codec drivers. Regards, Hans The following changes since commit 8bc8c9ba03c4d4966c2503e189801fbc9130b747: media: Documentation:media:v4l-drivers: Update vivid documentation. (2020-03-02 16:10:39 +0100) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-meson for you to fetch changes up to f0aac3214aae3eb0e3f2e01f46d4da67746d577e: media: meson: vdec: add VP9 decoder support (2020-03-04 11:58:40 +0100) ---------------------------------------------------------------- Tag branch ---------------------------------------------------------------- Maxime Jourdan (6): media: meson: vdec: bring up to compliance media: meson: vdec: add H.264 decoding support media: meson: vdec: add helpers for lossless framebuffer compression buffers media: meson: vdec: add common HEVC decoder support media: meson: vdec: add VP9 input support media: meson: vdec: add VP9 decoder support Neil Armstrong (3): media: v4l2-mem2mem: handle draining, stopped and next-buf-is-last states media: vicodec: use v4l2-mem2mem draining, stopped and next-buf-is-last states handling media: meson: vdec: align stride on 32 bytes drivers/media/platform/vicodec/vicodec-core.c | 162 ++-- drivers/media/v4l2-core/v4l2-mem2mem.c | 221 +++++- drivers/staging/media/meson/vdec/Makefile | 4 +- drivers/staging/media/meson/vdec/codec_h264.c | 485 ++++++++++++ drivers/staging/media/meson/vdec/codec_h264.h | 14 + drivers/staging/media/meson/vdec/codec_hevc_common.c | 297 +++++++ drivers/staging/media/meson/vdec/codec_hevc_common.h | 71 ++ drivers/staging/media/meson/vdec/codec_vp9.c | 2141 ++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/staging/media/meson/vdec/codec_vp9.h | 13 + drivers/staging/media/meson/vdec/esparser.c | 200 ++++- drivers/staging/media/meson/vdec/hevc_regs.h | 218 +++++ drivers/staging/media/meson/vdec/vdec.c | 105 ++- drivers/staging/media/meson/vdec/vdec.h | 14 +- drivers/staging/media/meson/vdec/vdec_helpers.c | 123 +-- drivers/staging/media/meson/vdec/vdec_helpers.h | 10 +- drivers/staging/media/meson/vdec/vdec_hevc.c | 231 ++++++ drivers/staging/media/meson/vdec/vdec_hevc.h | 13 + drivers/staging/media/meson/vdec/vdec_platform.c | 109 +++ include/media/v4l2-mem2mem.h | 133 ++++ 19 files changed, 4326 insertions(+), 238 deletions(-) create mode 100644 drivers/staging/media/meson/vdec/codec_h264.c create mode 100644 drivers/staging/media/meson/vdec/codec_h264.h create mode 100644 drivers/staging/media/meson/vdec/codec_hevc_common.c create mode 100644 drivers/staging/media/meson/vdec/codec_hevc_common.h create mode 100644 drivers/staging/media/meson/vdec/codec_vp9.c create mode 100644 drivers/staging/media/meson/vdec/codec_vp9.h create mode 100644 drivers/staging/media/meson/vdec/hevc_regs.h create mode 100644 drivers/staging/media/meson/vdec/vdec_hevc.c create mode 100644 drivers/staging/media/meson/vdec/vdec_hevc.h