summaryrefslogtreecommitdiff
path: root/include/trace/events
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2015-05-04 13:51:05 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-12 09:51:39 +0300
commitdc199241624a2fd85d9b0d8303babd60feadd0e6 (patch)
treef24dee9bfc532cc999e3d02c5754109f5f13dd90 /include/trace/events
parent8cee396bfa77ce3a2e5fe48f597206c1cd547f9c (diff)
downloadlinux-dc199241624a2fd85d9b0d8303babd60feadd0e6.tar.xz
[media] videodev2: Add V4L2_BUF_FLAG_LAST
This v4l2_buffer flag can be used by drivers to mark a capture buffer as the last generated buffer, for example after a V4L2_DEC_CMD_STOP command was issued. Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/trace/events')
-rw-r--r--include/trace/events/v4l2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/trace/events/v4l2.h b/include/trace/events/v4l2.h
index 20112170ff11..89d0497c058a 100644
--- a/include/trace/events/v4l2.h
+++ b/include/trace/events/v4l2.h
@@ -83,7 +83,8 @@ SHOW_FIELD
{ V4L2_BUF_FLAG_TIMESTAMP_MASK, "TIMESTAMP_MASK" }, \
{ V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN, "TIMESTAMP_UNKNOWN" }, \
{ V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC, "TIMESTAMP_MONOTONIC" }, \
- { V4L2_BUF_FLAG_TIMESTAMP_COPY, "TIMESTAMP_COPY" })
+ { V4L2_BUF_FLAG_TIMESTAMP_COPY, "TIMESTAMP_COPY" }, \
+ { V4L2_BUF_FLAG_LAST, "LAST" })
#define show_timecode_flags(flags) \
__print_flags(flags, "|", \