From: Paul Kocialkowski <paul.kocialkowski@bootlin.com> To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org Cc: Mauro Carvalho Chehab <mchehab@kernel.org>, Maxime Ripard <maxime.ripard@bootlin.com>, Paul Kocialkowski <paul.kocialkowski@bootlin.com>, linux-sunxi@googlegroups.com, Randy Li <ayaka@soulik.info>, Hans Verkuil <hverkuil@xs4all.nl>, Ezequiel Garcia <ezequiel@collabora.com>, Tomasz Figa <tfiga@chromium.org>, Alexandre Courbot <acourbot@chromium.org>, Thomas Petazzoni <thomas.petazzoni@bootlin.com> Subject: [PATCH v2 0/2] HEVC/H.265 stateless support for V4L2 and Cedrus Date: Fri, 23 Nov 2018 14:02:07 +0100 [thread overview] Message-ID: <20181123130209.11696-1-paul.kocialkowski@bootlin.com> (raw) This introduces the required bits for supporting HEVC/H.265 both in the V4L2 framework and the Cedrus VPU driver that concerns Allwinner devices. A specific pixel format is introduced for the HEVC slice format and controls are provided to pass the bitstream metadata to the decoder. Some bitstream extensions are knowingly not supported at this point. Since this is the first proposal for stateless HEVC/H.265 support in V4L2, reviews and comments about the controls definitions are particularly welcome. On the Cedrus side, the H.265 implementation covers frame pictures with both uni-directional and bi-direction prediction modes (P/B slices). Field pictures (interleaved), scaling lists and 10-bit output are not supported at this point. This series is based upon the following series: * media: cedrus: Add H264 decoding support * vb2/cedrus: add tag support Changes since v1: * Added a H.265 capability to whitelist relevant platforms; * Switched over to tags instead of buffer indices in the DPB * Declared variable in their reduced scope as suggested; * Added the H.265/HEVC spec to the biblio; * Used in-doc references to the spec and the required APIs; * Removed debugging leftovers. Cheers! Paul Kocialkowski (2): media: v4l: Add definitions for the HEVC slice format and controls media: cedrus: Add HEVC/H.265 decoding support Documentation/media/uapi/v4l/biblio.rst | 9 + .../media/uapi/v4l/extended-controls.rst | 417 ++++++++++++++ .../media/uapi/v4l/pixfmt-compressed.rst | 15 + .../media/uapi/v4l/vidioc-queryctrl.rst | 18 + .../media/videodev2.h.rst.exceptions | 3 + drivers/media/v4l2-core/v4l2-ctrls.c | 26 + drivers/media/v4l2-core/v4l2-ioctl.c | 1 + drivers/staging/media/sunxi/cedrus/Makefile | 2 +- drivers/staging/media/sunxi/cedrus/cedrus.c | 22 +- drivers/staging/media/sunxi/cedrus/cedrus.h | 18 + .../staging/media/sunxi/cedrus/cedrus_dec.c | 9 + .../staging/media/sunxi/cedrus/cedrus_h265.c | 543 ++++++++++++++++++ .../staging/media/sunxi/cedrus/cedrus_hw.c | 4 + .../staging/media/sunxi/cedrus/cedrus_regs.h | 290 ++++++++++ .../staging/media/sunxi/cedrus/cedrus_video.c | 10 + include/media/v4l2-ctrls.h | 6 + include/uapi/linux/v4l2-controls.h | 155 +++++ include/uapi/linux/v4l2-controls.h.rej | 187 ------ include/uapi/linux/videodev2.h | 7 + 19 files changed, 1553 insertions(+), 189 deletions(-) create mode 100644 drivers/staging/media/sunxi/cedrus/cedrus_h265.c delete mode 100644 include/uapi/linux/v4l2-controls.h.rej -- 2.19.1
WARNING: multiple messages have this Message-ID (diff)
From: paul.kocialkowski@bootlin.com (Paul Kocialkowski) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/2] HEVC/H.265 stateless support for V4L2 and Cedrus Date: Fri, 23 Nov 2018 14:02:07 +0100 [thread overview] Message-ID: <20181123130209.11696-1-paul.kocialkowski@bootlin.com> (raw) This introduces the required bits for supporting HEVC/H.265 both in the V4L2 framework and the Cedrus VPU driver that concerns Allwinner devices. A specific pixel format is introduced for the HEVC slice format and controls are provided to pass the bitstream metadata to the decoder. Some bitstream extensions are knowingly not supported at this point. Since this is the first proposal for stateless HEVC/H.265 support in V4L2, reviews and comments about the controls definitions are particularly welcome. On the Cedrus side, the H.265 implementation covers frame pictures with both uni-directional and bi-direction prediction modes (P/B slices). Field pictures (interleaved), scaling lists and 10-bit output are not supported at this point. This series is based upon the following series: * media: cedrus: Add H264 decoding support * vb2/cedrus: add tag support Changes since v1: * Added a H.265 capability to whitelist relevant platforms; * Switched over to tags instead of buffer indices in the DPB * Declared variable in their reduced scope as suggested; * Added the H.265/HEVC spec to the biblio; * Used in-doc references to the spec and the required APIs; * Removed debugging leftovers. Cheers! Paul Kocialkowski (2): media: v4l: Add definitions for the HEVC slice format and controls media: cedrus: Add HEVC/H.265 decoding support Documentation/media/uapi/v4l/biblio.rst | 9 + .../media/uapi/v4l/extended-controls.rst | 417 ++++++++++++++ .../media/uapi/v4l/pixfmt-compressed.rst | 15 + .../media/uapi/v4l/vidioc-queryctrl.rst | 18 + .../media/videodev2.h.rst.exceptions | 3 + drivers/media/v4l2-core/v4l2-ctrls.c | 26 + drivers/media/v4l2-core/v4l2-ioctl.c | 1 + drivers/staging/media/sunxi/cedrus/Makefile | 2 +- drivers/staging/media/sunxi/cedrus/cedrus.c | 22 +- drivers/staging/media/sunxi/cedrus/cedrus.h | 18 + .../staging/media/sunxi/cedrus/cedrus_dec.c | 9 + .../staging/media/sunxi/cedrus/cedrus_h265.c | 543 ++++++++++++++++++ .../staging/media/sunxi/cedrus/cedrus_hw.c | 4 + .../staging/media/sunxi/cedrus/cedrus_regs.h | 290 ++++++++++ .../staging/media/sunxi/cedrus/cedrus_video.c | 10 + include/media/v4l2-ctrls.h | 6 + include/uapi/linux/v4l2-controls.h | 155 +++++ include/uapi/linux/v4l2-controls.h.rej | 187 ------ include/uapi/linux/videodev2.h | 7 + 19 files changed, 1553 insertions(+), 189 deletions(-) create mode 100644 drivers/staging/media/sunxi/cedrus/cedrus_h265.c delete mode 100644 include/uapi/linux/v4l2-controls.h.rej -- 2.19.1
next reply other threads:[~2018-11-23 13:02 UTC|newest] Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-11-23 13:02 Paul Kocialkowski [this message] 2018-11-23 13:02 ` [PATCH v2 0/2] HEVC/H.265 stateless support for V4L2 and Cedrus Paul Kocialkowski 2018-11-23 13:02 ` [PATCH v2 1/2] media: v4l: Add definitions for the HEVC slice format and controls Paul Kocialkowski 2018-11-23 13:02 ` Paul Kocialkowski 2018-12-05 13:18 ` Hans Verkuil 2018-12-05 13:18 ` Hans Verkuil 2018-12-05 20:59 ` [linux-sunxi] " Jernej Škrabec 2018-12-05 20:59 ` Jernej Škrabec 2018-12-12 12:51 ` Paul Kocialkowski 2018-12-12 12:51 ` Paul Kocialkowski 2019-01-07 3:49 ` Randy Li 2019-01-07 3:49 ` Randy Li 2019-01-07 9:57 ` Paul Kocialkowski 2019-01-07 9:57 ` Paul Kocialkowski 2019-01-07 9:57 ` Paul Kocialkowski 2019-01-08 1:16 ` [linux-sunxi] " Ayaka 2019-01-08 1:16 ` Ayaka 2019-01-08 8:38 ` Paul Kocialkowski 2019-01-08 8:38 ` Paul Kocialkowski 2019-01-08 8:38 ` Paul Kocialkowski 2019-01-08 10:00 ` [linux-sunxi] " Ayaka 2019-01-08 10:00 ` Ayaka 2019-01-10 13:32 ` ayaka 2019-01-10 13:32 ` ayaka 2019-01-24 10:27 ` Paul Kocialkowski 2019-01-24 10:27 ` Paul Kocialkowski 2019-01-24 12:23 ` Ayaka 2019-01-24 12:23 ` Ayaka 2019-01-25 13:04 ` Paul Kocialkowski 2019-01-25 13:04 ` Paul Kocialkowski 2019-01-29 7:44 ` Alexandre Courbot 2019-01-29 7:44 ` Alexandre Courbot 2019-01-29 7:44 ` Alexandre Courbot 2019-01-29 8:09 ` Maxime Ripard 2019-01-29 8:09 ` Maxime Ripard 2019-01-29 9:39 ` Tomasz Figa 2019-01-29 9:39 ` Tomasz Figa 2019-01-29 21:41 ` Nicolas Dufresne 2019-01-29 21:41 ` Nicolas Dufresne 2019-01-30 2:28 ` Alexandre Courbot 2019-01-30 2:28 ` Alexandre Courbot 2019-01-30 3:35 ` Tomasz Figa 2019-01-30 3:35 ` Tomasz Figa 2019-01-30 6:27 ` Ayaka 2019-01-30 6:27 ` Ayaka 2019-01-30 6:27 ` Ayaka 2019-01-30 7:17 ` Tomasz Figa 2019-01-30 7:17 ` Tomasz Figa 2019-01-30 7:17 ` Tomasz Figa 2019-01-30 9:54 ` Ayaka 2019-01-30 9:54 ` Ayaka 2019-01-30 9:54 ` Ayaka 2019-01-30 7:57 ` Maxime Ripard 2019-01-30 7:57 ` Maxime Ripard 2019-01-30 7:57 ` Maxime Ripard 2019-01-30 7:03 ` Ayaka 2019-01-30 7:03 ` Ayaka 2019-01-30 7:03 ` Ayaka 2019-01-24 10:36 ` Paul Kocialkowski 2019-01-24 10:36 ` Paul Kocialkowski 2019-01-24 10:36 ` Paul Kocialkowski 2019-01-24 12:19 ` Ayaka 2019-01-24 12:19 ` Ayaka 2018-11-23 13:02 ` [PATCH v2 2/2] media: cedrus: Add HEVC/H.265 decoding support Paul Kocialkowski 2018-11-23 13:02 ` Paul Kocialkowski 2018-11-27 8:21 ` Maxime Ripard 2018-11-27 8:21 ` Maxime Ripard 2019-01-24 13:10 ` Paul Kocialkowski 2019-01-24 13:10 ` Paul Kocialkowski 2019-01-25 10:10 ` Maxime Ripard 2019-01-25 10:10 ` Maxime Ripard
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=20181123130209.11696-1-paul.kocialkowski@bootlin.com \ --to=paul.kocialkowski@bootlin.com \ --cc=acourbot@chromium.org \ --cc=ayaka@soulik.info \ --cc=devel@driverdev.osuosl.org \ --cc=ezequiel@collabora.com \ --cc=hverkuil@xs4all.nl \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-media@vger.kernel.org \ --cc=linux-sunxi@googlegroups.com \ --cc=maxime.ripard@bootlin.com \ --cc=mchehab@kernel.org \ --cc=tfiga@chromium.org \ --cc=thomas.petazzoni@bootlin.com \ /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: linkBe 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.