[media] s5p-fimc: Replace the crop ioctls with VIDIOC_S/G_SELECTION
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Sat, 4 Feb 2012 20:03:54 +0000 (17:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 8 Mar 2012 10:41:26 +0000 (07:41 -0300)
commitf9331d115dadd4e63619ebb47960ec2b7d253700
tree27733b4c1b07aee8abca70a905b171fed12f7b24
parent3b4c34aac7abea4754059084d0eef667a1993ac8
[media] s5p-fimc: Replace the crop ioctls with VIDIOC_S/G_SELECTION

Add support for cropping and composition setup on the video capture
node through VIDIOC_S/G_SELECTION ioctls. S/G_CROP, CROPCAP ioctls
are still  supported for applications since the core will translate
them to *_selection handler calls.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-fimc/fimc-capture.c