]> git.baikalelectronics.ru Git - kernel.git/commit
media: uapi: h264: Add the concept of decoding mode
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 16 Aug 2019 16:01:24 +0000 (13:01 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 19 Aug 2019 16:21:51 +0000 (13:21 -0300)
commitbf75a7e612633c823484f1b9d23b04fdf3279bd0
treeaac87abd8c1fbbe92907035b5b9750f1806ad7e1
parentb3a2206d82c625eced8305fda5a73e4b2921c88b
media: uapi: h264: Add the concept of decoding mode

Some stateless decoders don't support per-slice decoding granularity
(or at least not in a way that would make them efficient or easy to use).

Expose a menu to control the supported decoding modes. Drivers are
allowed to support only one decoding but they can support both too.

To fully specify the decoding operation, we need to introduce
a start_byte_offset, to indicate where slices start.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Documentation/media/uapi/v4l/ext-ctrls-codec.rst
Documentation/media/uapi/v4l/pixfmt-compressed.rst
drivers/media/v4l2-core/v4l2-ctrls.c
include/media/h264-ctrls.h