diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2012-06-13 16:01:10 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-06 20:17:46 -0300 |
commit | 563df3d0bc2ca103e5ddb76c8b7b3386ed2da0d6 (patch) | |
tree | bda561c54a3dd03a52bd8d714c8c354b146e8dc6 /include/linux/v4l2-subdev.h | |
parent | 64b9ce83a446277d3ffdb5e25e9aeb66442da2a9 (diff) | |
download | linux-563df3d0bc2ca103e5ddb76c8b7b3386ed2da0d6.tar.gz linux-563df3d0bc2ca103e5ddb76c8b7b3386ed2da0d6.tar.bz2 linux-563df3d0bc2ca103e5ddb76c8b7b3386ed2da0d6.zip |
[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>
Diffstat (limited to 'include/linux/v4l2-subdev.h')
-rw-r--r-- | include/linux/v4l2-subdev.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/v4l2-subdev.h b/include/linux/v4l2-subdev.h index 1d7d45739260..8c57ee9872bb 100644 --- a/include/linux/v4l2-subdev.h +++ b/include/linux/v4l2-subdev.h @@ -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 * |