History

[media] media: New flag V4L2_CTRL_FLAG_EXECUTE_ON_WRITE

Create a new flag that represent controls which its value needs to be passed to the driver even if it has not changed. They typically represent actions, like triggering a flash or clearing an error flag. So writing to such a control means some action is executed.

Ricardo Ribalda committed 11 years ago

Commit b6e5b8f1 parent b08d8d21 file · +1 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/videodev2.h+1−0
@@ -1457,6 +1457,7 @@ struct v4l2_querymenu { · 1456 unmodified lines
14571457 #define V4L2_CTRL_FLAG_WRITE_ONLY 0x0040
14581458 #define V4L2_CTRL_FLAG_VOLATILE 0x0080
14591459 #define V4L2_CTRL_FLAG_HAS_PAYLOAD 0x0100
1460+#define V4L2_CTRL_FLAG_EXECUTE_ON_WRITE 0x0200
14601461
14611462 /* Query flags, to be ORed with the control ID */
14621463 #define V4L2_CTRL_FLAG_NEXT_CTRL 0x80000000