OSDN Git Service

[media] v4l: emulate old crop API using extended crop/compose API
authorTomasz Stanislawski <t.stanislaws@samsung.com>
Tue, 22 Mar 2011 17:04:47 +0000 (14:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Jan 2012 01:18:52 +0000 (23:18 -0200)
commit992efeff79fe8de44d4e8b7636bb2e5d9dcf698d
tree701d7bbd50929cec7def1d293768a00e29be9fa8
parent8af4922fe5d1574acfdedf8a9eaafccf1b955c1d
[media] v4l: emulate old crop API using extended crop/compose API

This patch allows new video drivers to work correctly with applications that
use the old-style crop API.  The old crop ioctl is emulated by using selection
callbacks.

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-ioctl.c