[media] videodev.h: add V4L2_CTRL_FLAG_MODIFY_LAYOUT
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 10 Apr 2017 19:15:26 +0000 (16:15 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 15 Apr 2017 01:54:01 +0000 (22:54 -0300)
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>
include/uapi/linux/videodev2.h

index 75f032448ae5b32883508eab7d6bd1e950a3088f..2b8feb86d09e902435902145f0707b58b57921f3 100644 (file)
@@ -1659,6 +1659,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