linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Stateless H.264 de-staging
@ 2020-11-12 11:57 Ezequiel Garcia
  2020-11-12 11:57 ` [PATCH 1/5] media: rkvdec: h264: Support profile and level controls Ezequiel Garcia
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Ezequiel Garcia @ 2020-11-12 11:57 UTC (permalink / raw)
  To: linux-media, linux-kernel
  Cc: kernel, Jonas Karlman, Hans Verkuil, Nicolas Dufresne,
	Philipp Zabel, Maxime Ripard, Paul Kocialkowski, Jernej Skrabec,
	Ezequiel Garcia

Now that H.264 stateless controls are solid, we can get it
out of staging.

Following some guidelines from Hans, this series creates a
new stateless control class for the stable codec controls to land.

This is compile-tested for now, and I'm sending it just to
check if the approach looks good, or otherwise get feedback.

I'll be porting GStreamer v4l2codecs to the new interface
and running some tests soon.

As far as I'm aware, Ffmpeg/libavcodec support is ready and
waiting for stable uAPIs, so we can expect that to be added
shortly after we land this.

Thanks,
Ezequiel

Ezequiel Garcia (4):
  media: cedrus: h264: Support profile control
  media: Rename stateful codec control macros
  media: Clean stateless control includes
  media: uapi: move H264 stateless controls out of staging

Jonas Karlman (1):
  media: rkvdec: h264: Support profile and level controls

 .../userspace-api/media/v4l/common.rst        |   1 +
 .../userspace-api/media/v4l/dev-mem2mem.rst   |   2 +-
 .../media/v4l/ext-ctrls-codec-stateless.rst   | 674 ++++++++++++++++
 .../media/v4l/ext-ctrls-codec.rst             | 696 +----------------
 .../media/v4l/extended-controls.rst           |   8 +-
 .../media/v4l/pixfmt-compressed.rst           |  14 +-
 .../media/v4l/vidioc-g-ext-ctrls.rst          |   6 +-
 drivers/media/common/cx2341x.c                |   4 +-
 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c  |   2 +-
 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c  |   2 +-
 drivers/media/v4l2-core/v4l2-ctrls.c          |  40 +-
 drivers/staging/media/hantro/hantro_drv.c     |  26 +-
 drivers/staging/media/hantro/hantro_h264.c    |   8 +-
 drivers/staging/media/hantro/hantro_hw.h      |   4 +-
 drivers/staging/media/rkvdec/rkvdec-h264.c    |   8 +-
 drivers/staging/media/rkvdec/rkvdec.c         |  39 +-
 drivers/staging/media/sunxi/cedrus/cedrus.c   |  36 +-
 .../staging/media/sunxi/cedrus/cedrus_dec.c   |  12 +-
 include/media/fwht-ctrls.h                    |   2 +-
 include/media/h264-ctrls.h                    | 406 ----------
 include/media/hevc-ctrls.h                    |  10 +-
 include/media/mpeg2-ctrls.h                   |   4 +-
 include/media/v4l2-ctrls.h                    |   1 -
 include/media/v4l2-h264.h                     |   2 +-
 include/media/vp8-ctrls.h                     |   2 +-
 include/uapi/linux/v4l2-controls.h            | 731 +++++++++++++-----
 include/uapi/linux/videodev2.h                |   8 +
 27 files changed, 1368 insertions(+), 1380 deletions(-)
 create mode 100644 Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst
 delete mode 100644 include/media/h264-ctrls.h

-- 
2.27.0


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

end of thread, other threads:[~2020-11-12 12:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-12 11:57 [PATCH 0/5] Stateless H.264 de-staging Ezequiel Garcia
2020-11-12 11:57 ` [PATCH 1/5] media: rkvdec: h264: Support profile and level controls Ezequiel Garcia
2020-11-12 11:57 ` [PATCH 2/5] media: cedrus: h264: Support profile control Ezequiel Garcia
2020-11-12 11:57 ` [PATCH 3/5] media: Rename stateful codec control macros Ezequiel Garcia
2020-11-12 12:13   ` Hans Verkuil
2020-11-12 11:57 ` [PATCH 4/5] media: Clean stateless control includes Ezequiel Garcia
2020-11-12 11:57 ` [PATCH 5/5] media: uapi: move H264 stateless controls out of staging Ezequiel Garcia
2020-11-12 12:45   ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).