[media] solo6x10: clean up motion detection handling
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 18 Mar 2013 11:43:14 +0000 (08:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Mar 2013 11:51:50 +0000 (08:51 -0300)
commitf5df0b7ff57732f938373f49e89ca219d4717836
treed252e97ccf1f235be73c9213dcbe3a9d4229c2ee
parent69996873478d75381d14abbc9e768cc38d82e94b
[media] solo6x10: clean up motion detection handling

An earlier patch temporarily disabled regional motion detection. This patch
adds it back: the 'Motion Detection Enable' control is now a 'Motion Detection Mode'.
And to set/get the regional thresholds two new ioctls were added to get/set those
thresholds.
The BUF_FLAG constants were also updated to prevent clashing with existing buffer
flags.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/solo6x10/disp.c
drivers/staging/media/solo6x10/solo6x10.h
drivers/staging/media/solo6x10/v4l2-enc.c