[media] v4l2-rect.h: new header with struct v4l2_rect helper functions

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>
This commit is contained in:
Hans Verkuil 2016-04-03 16:42:42 -03:00 • committed by Mauro Carvalho Chehab
commit ac49de8c49
2 changed files with 174 additions and 0 deletions