All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Cox <jc@kynesim.co.uk>
To: linux-media@vger.kernel.org, nicolas@ndufresne.ca,
	hverkuil-cisco@xs4all.nl
Cc: John Cox <jc@kynesim.co.uk>
Subject: [PATCH v2 0/5] media: v4l: Add Broadcom sand format to the list of V4L formats
Date: Fri, 10 Mar 2023 19:41:16 +0000	[thread overview]
Message-ID: <20230310194121.61928-1-jc@kynesim.co.uk> (raw)

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(-)

-- 
2.37.2


             reply	other threads:[~2023-03-10 19:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-10 19:41 John Cox [this message]
2023-03-10 19:41 ` [PATCH v2 1/5] v4l2-common: Add support for fractional bpp John Cox
2023-03-10 19:41 ` [PATCH v2 2/5] media: v4l: Add Broadcom sand formats to videodev2.h John Cox
2023-03-15 17:45   ` Nicolas Dufresne
2023-03-16 10:47     ` John Cox
2023-03-16 14:55       ` Nicolas Dufresne
2023-03-23 12:27         ` John Cox
2023-06-07  9:58           ` Hans Verkuil
2023-03-10 19:41 ` [PATCH v2 3/5] media: v4l: Add documentation for Broadcom sand formats John Cox
2023-06-07 10:00   ` Hans Verkuil
2023-03-10 19:41 ` [PATCH v2 4/5] media: v4l: Add Broadcom sand format descriptions to v4l2-ioctl.c John Cox
2023-03-15 19:24   ` Nicolas Dufresne
2023-03-10 19:41 ` [PATCH v2 5/5] media: v4l: Add Broadcom sand format infos to v4l2-common.c John Cox
2023-03-15 19:25   ` Nicolas Dufresne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230310194121.61928-1-jc@kynesim.co.uk \
    --to=jc@kynesim.co.uk \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=nicolas@ndufresne.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.