[media] v4l: add support for selection api
authorTomasz Stanislawski <t.stanislaws@samsung.com>
Wed, 10 Aug 2011 13:37:47 +0000 (10:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Jan 2012 01:17:45 +0000 (23:17 -0200)
commit0e8caaceff160ad821c83d798fc03812cb810560
treefd5f0687bff110fddb62b8f22ac31f41e8bc11f6
parentdab734ec95168488c4b32632e968ce885a083078
[media] v4l: add support for selection api

This patch introduces new api for a precise control of cropping and composing
features for video devices. The new ioctls are VIDIOC_S_SELECTION and
VIDIOC_G_SELECTION.

Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-compat-ioctl32.c
drivers/media/video/v4l2-ioctl.c
include/linux/videodev2.h
include/media/v4l2-ioctl.h