All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] media: v4l: Add Broadcom sand format to the list of V4L formats
@ 2023-03-10 19:41 John Cox
  2023-03-10 19:41 ` [PATCH v2 1/5] v4l2-common: Add support for fractional bpp John Cox
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: John Cox @ 2023-03-10 19:41 UTC (permalink / raw)
  To: linux-media, nicolas, hverkuil-cisco; +Cc: John Cox

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-06-07 10:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 19:41 [PATCH v2 0/5] media: v4l: Add Broadcom sand format to the list of V4L formats John Cox
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

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.