]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf5cf7aec6565a5e947f130a7aed6db2e677f8334
tree27733b4c1b07aee8abca70a905b171fed12f7b24
parent2883564f31daa224e26d40a1c77685ff2cab1c3a
[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