mbox series

[v2,0/5] media: v4l: Add Broadcom sand format to the list of V4L formats

Message ID 20230310194121.61928-1-jc@kynesim.co.uk (mailing list archive)
Headers show
Series media: v4l: Add Broadcom sand format to the list of V4L formats | expand

Message

John Cox March 10, 2023, 7:41 p.m. UTC
This is in preparation for attempting to upstream the Rpi H265 decoder
as these formats are the only ones the hardware can decode to. They are
a column format rather than a tile format but I've added them to the
list of tiled formats as that seems the closest match.

V4L2_PIX_FMT_NV12_C128 matches DRM format NV12 with modifier
DRM_FORMAT_MOD_BROADCOM_SAND128_COL_HEIGHT(ch) and
V4L2_PIX_FMT_P030_C128 matches DRM format P030 with the same modifier.

version 2:
- Add franctional bpp support from the "AV1 stateless decoder for
  RK3588" patch set.
- Add description to v4l2-ioctl.c
- Add format info to v4l2-common.c
- Rework documentation in line with comments

John Cox (4):
  media: v4l: Add Broadcom sand formats to videodev2.h
  media: v4l: Add documentation for Broadcom sand formats
  media: v4l: Add Broadcom sand format descriptions to v4l2-ioctl.c
  media: v4l: Add Broadcom sand format infos to v4l2-common.c

Nicolas Dufresne (1):
  v4l2-common: Add support for fractional bpp

 .../media/v4l/pixfmt-yuv-planar.rst           | 195 ++++++++++++++++++
 drivers/media/v4l2-core/v4l2-common.c         | 150 +++++++-------
 drivers/media/v4l2-core/v4l2-ioctl.c          |   2 +
 include/media/v4l2-common.h                   |   2 +
 include/uapi/linux/videodev2.h                |   2 +
 5 files changed, 277 insertions(+), 74 deletions(-)