media: v4l: Add definitions for HEVC stateless decoding
This introduces the required definitions for HEVC decoding support with stateless VPUs. The controls associated to the HEVC slice format provide the required meta-data for decoding slices extracted from the bitstream. They are not exported to the public V4L2 API since reworking this API will likely be needed for covering various use-cases and new hardware. Multi-slice decoding is exposed as a valid decoding mode to match current H.264 support but it is not yet implemented. The interface comes with the following limitations: * No custom quantization matrices (scaling lists); * Support for a single temporal layer only; * No slice entry point offsets support; * No conformance window support; * No VUI parameters support; * No support for SPS extensions: range, multilayer, 3d, scc, 4 bits; * No support for PPS extensions: range, multilayer, 3d, scc, 4 bits. Signed-off-by:Paul Kocialkowski <paul.kocialkowski@bootlin.com> [hverkuil-cisco@xs4all.nl: use 1ULL in flags defines in hevc-ctrls.h] Signed-off-by:
Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by:
Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Showing
- Documentation/media/uapi/v4l/biblio.rst 9 additions, 0 deletionsDocumentation/media/uapi/v4l/biblio.rst
- Documentation/media/uapi/v4l/ext-ctrls-codec.rst 550 additions, 3 deletionsDocumentation/media/uapi/v4l/ext-ctrls-codec.rst
- Documentation/media/uapi/v4l/vidioc-queryctrl.rst 18 additions, 0 deletionsDocumentation/media/uapi/v4l/vidioc-queryctrl.rst
- Documentation/media/videodev2.h.rst.exceptions 3 additions, 0 deletionsDocumentation/media/videodev2.h.rst.exceptions
- drivers/media/v4l2-core/v4l2-ctrls.c 108 additions, 1 deletiondrivers/media/v4l2-core/v4l2-ctrls.c
- drivers/media/v4l2-core/v4l2-ioctl.c 1 addition, 0 deletionsdrivers/media/v4l2-core/v4l2-ioctl.c
- include/media/hevc-ctrls.h 212 additions, 0 deletionsinclude/media/hevc-ctrls.h
- include/media/v4l2-ctrls.h 7 additions, 0 deletionsinclude/media/v4l2-ctrls.h
Loading
Please register or sign in to comment