[media] v4l: Unify selection flags
Unify flags on the selection interfaces on V4L2 and V4L2 subdev. Flags are very similar to targets in this case: there are more similarities than differences between the two interfaces. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
64b9ce83a4
commit
563df3d0bc
@@ -124,10 +124,6 @@ struct v4l2_subdev_frame_interval_enum {
|
||||
__u32 reserved[9];
|
||||
};
|
||||
|
||||
#define V4L2_SUBDEV_SEL_FLAG_SIZE_GE (1 << 0)
|
||||
#define V4L2_SUBDEV_SEL_FLAG_SIZE_LE (1 << 1)
|
||||
#define V4L2_SUBDEV_SEL_FLAG_KEEP_CONFIG (1 << 2)
|
||||
|
||||
/**
|
||||
* struct v4l2_subdev_selection - selection info
|
||||
*
|
||||
@@ -135,7 +131,7 @@ struct v4l2_subdev_frame_interval_enum {
|
||||
* @pad: pad number, as reported by the media API
|
||||
* @target: Selection target, used to choose one of possible rectangles,
|
||||
* defined in v4l2-common.h; V4L2_SEL_TGT_* .
|
||||
* @flags: constraint flags
|
||||
* @flags: constraint flags, defined in v4l2-common.h; V4L2_SEL_FLAG_*.
|
||||
* @r: coordinates of the selection window
|
||||
* @reserved: for future use, set to zero for now
|
||||
*
|
||||
|
Reference in New Issue
Block a user