summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-05-26 10:59:53 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-06-23 14:02:46 +0200
commit286cf7d3a99e1ca8c1d8e674b9a98f2dbe8520dc (patch)
tree2fade546f8666f03c88f9bc27922e118763c91fb /include/uapi/linux
parenteef7a5e7307f8f0da5254305703ac1da14250e77 (diff)
downloadlinux-stable-286cf7d3a99e1ca8c1d8e674b9a98f2dbe8520dc.tar.gz
linux-stable-286cf7d3a99e1ca8c1d8e674b9a98f2dbe8520dc.tar.bz2
linux-stable-286cf7d3a99e1ca8c1d8e674b9a98f2dbe8520dc.zip
media: videodev2.h: add V4L2_FMT_FLAG_ENC_CAP_FRAME_INTERVAL flag
Add the V4L2_FMT_FLAG_ENC_CAP_FRAME_INTERVAL flag to signal that the coded frame interval can be set separately from the raw frame interval for stateful encoders. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reviewed-by: Michael Tretter <m.tretter@pengutronix.de> Acked-by: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/videodev2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index fec2607a07e3..303805438814 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -794,6 +794,7 @@ struct v4l2_fmtdesc {
#define V4L2_FMT_FLAG_EMULATED 0x0002
#define V4L2_FMT_FLAG_CONTINUOUS_BYTESTREAM 0x0004
#define V4L2_FMT_FLAG_DYN_RESOLUTION 0x0008
+#define V4L2_FMT_FLAG_ENC_CAP_FRAME_INTERVAL 0x0010
/* Frame Size and frame rate enumeration */
/*