v4l2-ctl: Add support for VIDIOC_G/S_SELECTION ioctls
authorSylwester Nawrocki <sylvester.nawrocki@gmail.com>
Sun, 22 Jul 2012 20:42:02 +0000 (22:42 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Mon, 23 Jul 2012 08:02:33 +0000 (10:02 +0200)
commit685597059de68f6008a5f50b34f0925771832696
treef25c8fa9e0db0e725123cb39eeaa573245fe311c
parent9b927e27739e582452934be25c7ae4efe1557a96
v4l2-ctl: Add support for VIDIOC_G/S_SELECTION ioctls

This patch adds following commands for the selection API ioctls:

--get-selection, --set-selection,
--get-selection-output, --set-selection-output.

All supported selection rectangles at a video node are now also
displayed in case of --all command.

Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-ctl/v4l2-ctl.cpp