-
- Downloads
media: uapi: mpeg2: Remove V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS
The Hantro and Cedrus drivers work in frame-mode, meaning they expect all the slices in a picture (either frame or field structure) to be passed in each OUTPUT buffer. These two are the only V4L2 MPEG-2 stateless decoders currently supported. Given the VA-API drivers also work per-frame, coalescing all the MPEG-2 slices in a buffer before the decoding operation, it makes sense to not expect slice-mode drivers and therefore remove V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS. This is done to avoid carrying an unused interface. If needed, this control can be added without breaking backwards compatibility. Note that this would mean introducing a enumerator control to specify the decoding mode (see V4L2_CID_STATELESS_H264_DECODE_MODE). Signed-off-by:Ezequiel Garcia <ezequiel@collabora.com> Co-developed-by:
Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by:
Nicolas Dufresne <nicolas.dufresne@collabora.com> Tested-by:
Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by:
Jernej Skrabec <jernej.skrabec@siol.net> Tested-by:
Daniel Almeida <daniel.almeida@collabora.com> Signed-off-by:
Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by:
Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Showing
- Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst 0 additions, 35 deletionsDocumentation/userspace-api/media/v4l/ext-ctrls-codec.rst
- Documentation/userspace-api/media/v4l/pixfmt-compressed.rst 3 additions, 3 deletionsDocumentation/userspace-api/media/v4l/pixfmt-compressed.rst
- Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst 0 additions, 6 deletionsDocumentation/userspace-api/media/v4l/vidioc-queryctrl.rst
- Documentation/userspace-api/media/videodev2.h.rst.exceptions 0 additions, 1 deletionDocumentation/userspace-api/media/videodev2.h.rst.exceptions
- drivers/media/v4l2-core/v4l2-ctrls.c 0 additions, 19 deletionsdrivers/media/v4l2-core/v4l2-ctrls.c
- drivers/staging/media/hantro/hantro_drv.c 0 additions, 5 deletionsdrivers/staging/media/hantro/hantro_drv.c
- drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c 2 additions, 7 deletionsdrivers/staging/media/hantro/hantro_g1_mpeg2_dec.c
- drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c 2 additions, 6 deletionsdrivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c
- drivers/staging/media/sunxi/cedrus/cedrus.c 0 additions, 6 deletionsdrivers/staging/media/sunxi/cedrus/cedrus.c
- drivers/staging/media/sunxi/cedrus/cedrus.h 0 additions, 1 deletiondrivers/staging/media/sunxi/cedrus/cedrus.h
- drivers/staging/media/sunxi/cedrus/cedrus_dec.c 0 additions, 2 deletionsdrivers/staging/media/sunxi/cedrus/cedrus_dec.c
- drivers/staging/media/sunxi/cedrus/cedrus_mpeg2.c 0 additions, 2 deletionsdrivers/staging/media/sunxi/cedrus/cedrus_mpeg2.c
- include/media/mpeg2-ctrls.h 0 additions, 16 deletionsinclude/media/mpeg2-ctrls.h
- include/media/v4l2-ctrls.h 0 additions, 2 deletionsinclude/media/v4l2-ctrls.h
Loading
Please register or sign in to comment