| From 9d979d0fa80c7756b5f7f55fdfe6af60a46cccae Mon Sep 17 00:00:00 2001 |
| From: Hans Verkuil <hans.verkuil@cisco.com> |
| Date: Mon, 10 Apr 2017 16:15:26 -0300 |
| Subject: [PATCH 215/286] [media] videodev.h: add V4L2_CTRL_FLAG_MODIFY_LAYOUT |
| |
| Add new flag to indicate that changing this control will change the |
| buffer/mediabus layout as well. |
| |
| Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> |
| Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> |
| Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> |
| (cherry picked from commit 6df8be763115a0ce6b486ea304742e5646f74287) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| include/uapi/linux/videodev2.h | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| --- a/include/uapi/linux/videodev2.h |
| +++ b/include/uapi/linux/videodev2.h |
| @@ -1622,6 +1622,7 @@ struct v4l2_querymenu { |
| #define V4L2_CTRL_FLAG_VOLATILE 0x0080 |
| #define V4L2_CTRL_FLAG_HAS_PAYLOAD 0x0100 |
| #define V4L2_CTRL_FLAG_EXECUTE_ON_WRITE 0x0200 |
| +#define V4L2_CTRL_FLAG_MODIFY_LAYOUT 0x0400 |
| |
| /* Query flags, to be ORed with the control ID */ |
| #define V4L2_CTRL_FLAG_NEXT_CTRL 0x80000000 |