Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
media: v4l: Add definitions for MPEG-2 slice format and metadata
Stateless video decoding engines require both the MPEG-2 slices and associated metadata from the video stream in order to decode frames. This introduces definitions for a new pixel format, describing buffers with MPEG-2 slice data, as well as control structure sfor passing the frame metadata to drivers. This is based on work from both Florent Revest and Hugues Fruchet. Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
- Loading branch information
Showing
with
351 additions
and 9 deletions.
- +176 −0 Documentation/media/uapi/v4l/extended-controls.rst
- +16 −0 Documentation/media/uapi/v4l/pixfmt-compressed.rst
- +12 −2 Documentation/media/uapi/v4l/vidioc-queryctrl.rst
- +2 −0 Documentation/media/videodev2.h.rst.exceptions
- +63 −0 drivers/media/v4l2-core/v4l2-ctrls.c
- +1 −0 drivers/media/v4l2-core/v4l2-ioctl.c
- +11 −7 include/media/v4l2-ctrls.h
- +65 −0 include/uapi/linux/v4l2-controls.h
- +5 −0 include/uapi/linux/videodev2.h
Oops, something went wrong.