summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-rect.h
Commit message (Collapse)AuthorAgeFilesLines
* media: v4l2-rect.h: add position and equal helpersMarco Felsch2018-09-171-0/+26
| | | | | | | | | | Add two helper functions to check if two rectangles have the same position (top/left) and if two rectangles equals (same size and same position). Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
* media: include/(uapi/)media: add SPDX license infoHans Verkuil2018-02-141-13/+1
| | | | | | | | Replace the old license information with the corresponding SPDX license for those headers that I authored. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* [media] v4l2-rect.h: new header with struct v4l2_rect helper functionsHans Verkuil2016-04-201-0/+173
This makes it easier to share this code with any driver that needs to manipulate the v4l2_rect datastructure. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>