This series de-stages the H.264 and FWHT (as used in vicodec) stateless codec APIs. This means that the APIs for these stateless codecs are now considered stable. Many thanks to Ezequiel and others who worked hard on making this possible. The H.264 is probably the most commonly used codec, so having this as part of the public API is a major step forward. The de-staging of the FWHT codec is primarily useful for regression testing of the stateless codec API with the vicodec driver. The expectation is that MPEG-2 and VP8 will follow soon (although likely not for 5.11). HEVC and VP9 will take (a lot?) longer. Besides the patches for H.264 and FWHT there are also some related patches for doc fixes and a fix for VP8 type initialization (fixes a compliance issue). Regards, Hans The following changes since commit 4863b93cfd2dfe88557f820b3399c3fa2163ec43: media: camss: csiphy: Set rate on csiX_phy clock on SDM630/660 (2020-11-25 15:02:44 +0100) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.11b for you to fetch changes up to b7f6989ec69a25b37350a1a210a74c5823e1f090: userspace-api/media: finalize stateless FWHT codec docs (2020-11-26 14:26:17 +0100) ---------------------------------------------------------------- Tag branch ---------------------------------------------------------------- Ezequiel Garcia (13): media: controls: Add VP8 stateless type initialization media: controls: Add validate failure debug message media: cedrus: h264: Support profile controls media: Rename stateful codec control macros media: Clean stateless control includes media: controls: Validate H264 stateless controls media: controls: Add the stateless codec control class media: uapi: Move parsed H264 pixel format out of staging media: doc: Replace symbol for V4L2_CTRL_TYPE_H264_PRED_WEIGHTS media: uapi: Move the H264 stateless control types out of staging media: controls: Log H264 stateless controls in .std_log media: uapi: move H264 stateless controls out of staging media: docs: Move the H264 stateless codec uAPI Hans Verkuil (8): media: vidioc-g-ext-ctrls.rst: document V4L2_CTRL_CLASS_DETECT media: ext-ctrls-image-source.rst: document v4l2_area vicodec: add V4L2_ prefix before FWHT_VERSION and FWHT_FL_* vicodec: mark the stateless FWHT API as stable ext-ctrls-codec.rst: move FWHT docs to ext-ctrls-codec-stateless.rst pixfmt-compressed.rst: fix 'bullet' formatting vidioc-g-ext-ctrls.rst: add missing 'struct' before the types userspace-api/media: finalize stateless FWHT codec docs Helen Koike (1): media: admin-guide/pixfmt-meta-rkisp1.rst: pixfmt reference conforming with macro Jonas Karlman (1): media: rkvdec: h264: Support profile and level controls Documentation/admin-guide/media/rkisp1.rst | 4 +- Documentation/userspace-api/media/v4l/common.rst | 1 + Documentation/userspace-api/media/v4l/dev-mem2mem.rst | 2 +- Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst | 793 +++++++++++++++++++++++++++++ Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 817 +----------------------------- Documentation/userspace-api/media/v4l/ext-ctrls-image-source.rst | 16 + Documentation/userspace-api/media/v4l/extended-controls.rst | 8 +- Documentation/userspace-api/media/v4l/pixfmt-compressed.rst | 37 +- Documentation/userspace-api/media/v4l/pixfmt-meta-rkisp1.rst | 4 +- Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst | 44 +- Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst | 6 + Documentation/userspace-api/media/videodev2.h.rst.exceptions | 2 + 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/test-drivers/vicodec/codec-fwht.c | 13 +- drivers/media/test-drivers/vicodec/codec-fwht.h | 32 -- drivers/media/test-drivers/vicodec/codec-v4l2-fwht.c | 88 ++-- drivers/media/test-drivers/vicodec/vicodec-core.c | 46 +- drivers/media/v4l2-core/v4l2-ctrls.c | 229 ++++++++- 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 | 43 +- drivers/staging/media/sunxi/cedrus/cedrus_dec.c | 12 +- include/media/fwht-ctrls.h | 31 -- include/media/h264-ctrls.h | 406 --------------- include/media/hevc-ctrls.h | 10 +- include/media/mpeg2-ctrls.h | 4 +- include/media/v4l2-ctrls.h | 2 - include/media/v4l2-h264.h | 2 +- include/media/vp8-ctrls.h | 2 +- include/uapi/linux/v4l2-controls.h | 867 ++++++++++++++++++++++++-------- include/uapi/linux/videodev2.h | 17 + 36 files changed, 1948 insertions(+), 1683 deletions(-) create mode 100644 Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst delete mode 100644 include/media/fwht-ctrls.h delete mode 100644 include/media/h264-ctrls.h