]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit21095261800e5e0566940cd44ad4a1d748dfbee3
treed252e97ccf1f235be73c9213dcbe3a9d4229c2ee
parentd555d6fc210edc295ebc9ed62c7b7423e8293fd6
[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