Skip to content

media: Add HEVC long and short term ref pic sets controls

Detlev Casanova linux-media lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Fix long lines
- Add videodev2.h.rst.exceptions entries
- Add v1 changes

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media: uapi: HEVC: Add v4l2_ctrl_hevc_ext_sps_[ls]t_rps controlsDocumentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst Documentation/userspace-api/media/videodev2.h.rst.exceptions+128 -00 replies
2/2media: v4l2-ctrls: Add hevc_ext_sps_[ls]t_rps controlsdrivers/media/v4l2-core/v4l2-ctrls-core.c drivers/media/v4l2-core/v4l2-ctrls-defs.c include/uapi/linux/v4l2-controls.h +1 more+91 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] media: Add HEVC long and short term ref pic sets controls

New v4l2 controls for HEVC are added to be able to send the missing long and short term RPS information to the driver.

Both controls have a dynamic size to send up to 65 sets each.

The controls take raw data as they are read from the video stream.

Changes since v2:
- Fix long lines
- Add videodev2.h.rst.exceptions entries
- Add v1 changes

Changes since v1:
- Separate long and short term in different controls
- Use raw data to let drivers format the data how they want
- doc: Add array information

Detlev Casanova (2):
media: uapi: HEVC: Add v4l2_ctrl_hevc_ext_sps_[ls]t_rps controls
media: v4l2-ctrls: Add hevc_ext_sps_[ls]t_rps controls

 .../media/v4l/ext-ctrls-codec-stateless.rst   | 114 ++++++++++++++++++
 .../media/v4l/vidioc-queryctrl.rst            |  12 ++
 .../media/videodev2.h.rst.exceptions          |   2 +
 drivers/media/v4l2-core/v4l2-ctrls-core.c     |  18 +++
 drivers/media/v4l2-core/v4l2-ctrls-defs.c     |  10 ++
 include/uapi/linux/v4l2-controls.h            |  61 ++++++++++
 include/uapi/linux/videodev2.h                |   2 +
 7 files changed, 219 insertions(+)
Signature · 1 line
2.50.1