Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Hans Verkuil and committed by
Mauro Carvalho Chehab
6df8be76 bf587eff

+1
+1
include/uapi/linux/videodev2.h
··· 1659 1659 #define V4L2_CTRL_FLAG_VOLATILE 0x0080 1660 1660 #define V4L2_CTRL_FLAG_HAS_PAYLOAD 0x0100 1661 1661 #define V4L2_CTRL_FLAG_EXECUTE_ON_WRITE 0x0200 1662 + #define V4L2_CTRL_FLAG_MODIFY_LAYOUT 0x0400 1662 1663 1663 1664 /* Query flags, to be ORed with the control ID */ 1664 1665 #define V4L2_CTRL_FLAG_NEXT_CTRL 0x80000000