[media] go7007: add motion detection support
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 10 Jun 2014 10:39:04 +0000 (07:39 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 14:57:32 +0000 (11:57 -0300)
commit0ee58f84871997e85c99dfc6357b0671a5a6b706
tree83da014eb4e893294b0c0c6bc48bbca00d21a722
parentc5b250ad3593656811c31a1d480745270b47658b
[media] go7007: add motion detection support

This patch adds motion detection support to the go7007 driver using the new
motion detection controls, events.

The global motion detection works fine, but the regional motion detection
support probably needs more work. There seems to be some interaction between
regions that makes setting correct thresholds difficult. The exact meaning of
the thresholds isn't entirely clear either.

I do not have any documentation, the only information I have is the custom code
in the driver and a modet.c application.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/go7007/go7007-driver.c
drivers/staging/media/go7007/go7007-fw.c
drivers/staging/media/go7007/go7007-priv.h
drivers/staging/media/go7007/go7007-v4l2.c
drivers/staging/media/go7007/go7007.h [deleted file]
drivers/staging/media/go7007/saa7134-go7007.c