media: videodev2.h: add V4L2_FMT_FLAG_CONTINUOUS_BYTESTREAM
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 15 Aug 2019 14:44:45 +0000 (11:44 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 19 Aug 2019 17:41:45 +0000 (14:41 -0300)
commit2b770bee787daec66ed86baf4fc83275f949c8ac
tree95b91f9db7577ea76939a0c9c3992441a1be43f8
parent760327930e10f6108ce9e44854ec3b5ef30cdcbd
media: videodev2.h: add V4L2_FMT_FLAG_CONTINUOUS_BYTESTREAM

Add an enum_fmt format flag to specifically tag coded formats where
full bytestream parsing is supported by the device.

Some stateful decoders are capable of fully parsing a bytestream,
but others require that userspace pre-parses the bytestream into
frames or fields (see the corresponding pixelformat descriptions
for details).

If this flag is set, then this pre-parsing step is not required
(but still possible, of course).

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Documentation/media/uapi/v4l/vidioc-enum-fmt.rst
Documentation/media/videodev2.h.rst.exceptions
include/uapi/linux/videodev2.h