[RFC,v7,0/9] media: v4l2: Add extended fmt and buffer

Message ID 20230206043308.28365-1-ayaka@soulik.info
Headers
Series media: v4l2: Add extended fmt and buffer |

Message

Randy Li Feb. 6, 2023, 4:32 a.m. UTC
  From: "Randy Li" <ayaka@soulik.info>

This is the v7 refresh of the previous v6.
Except the ext fmt part, I drop backward feedback feature. I didn't
changes those ext_buf related patches unless it conflicts during
the refresh.

v6:
https://patchwork.linuxtv.org/project/linux-media/cover/20210114180738.1758707-1-helen.koike@collabora.com/
v5:
https://patchwork.linuxtv.org/project/linux-media/cover/20200804192939.2251988-1-helen.koike@collabora.com/
v4:
https://patchwork.linuxtv.org/project/linux-media/cover/20200717115435.2632623-1-helen.koike@collabora.com/
v3: https://patchwork.linuxtv.org/cover/59345/
v2: https://patchwork.kernel.org/project/linux-media/list/?series=101153
v1: https://patchwork.kernel.org/project/linux-media/list/?series=93707

Helen Koike (8):
  media: vivid: Convert to v4l2_ext_pix_format
  media: v4l2: Add extended buffer (de)queue operations for video types
  media: videobuf2-v4l2: reorganize flags handling
  media: videobuf2: Expose helpers for Ext qbuf/dqbuf
  media: vivid: use vb2_ioctls_ext_{d}qbuf hooks
  media: vimc: use vb2_ioctls_ext_{d}qbuf hooks
  media: mediabus: Add helpers to convert a ext_pix format to/from a
    mbus_fmt
  media: vimc: Convert to v4l2_ext_pix_format

Randy Li (1):
  media: v4l2: Extend pixel formats to unify single/multi-planar
    handling (and more)

 .../media/common/videobuf2/videobuf2-core.c   |  46 +-
 .../media/common/videobuf2/videobuf2-v4l2.c   | 499 ++++++++++++----
 .../media/test-drivers/vimc/vimc-capture.c    | 119 ++--
 drivers/media/test-drivers/vimc/vimc-common.c |   6 +-
 drivers/media/test-drivers/vimc/vimc-common.h |   2 +-
 drivers/media/test-drivers/vivid/vivid-core.c | 106 +---
 .../media/test-drivers/vivid/vivid-vid-cap.c  | 203 +++----
 .../media/test-drivers/vivid/vivid-vid-cap.h  |  15 +-
 .../media/test-drivers/vivid/vivid-vid-out.c  | 198 +++----
 .../media/test-drivers/vivid/vivid-vid-out.h  |  15 +-
 drivers/media/v4l2-core/v4l2-dev.c            |  17 +
 drivers/media/v4l2-core/v4l2-ioctl.c          | 541 +++++++++++++++++-
 include/media/v4l2-ioctl.h                    |  36 ++
 include/media/v4l2-mediabus.h                 |  42 ++
 include/media/videobuf2-core.h                |  33 +-
 include/media/videobuf2-v4l2.h                |   8 +-
 include/uapi/linux/videodev2.h                | 101 +++-
 17 files changed, 1459 insertions(+), 528 deletions(-)