qv4l2: implement cropping and composing for video output.
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 27 Jul 2014 13:30:59 +0000 (15:30 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Sun, 27 Jul 2014 13:30:59 +0000 (15:30 +0200)
commitb000aff8c91a75c7be5c79439119203d5fdfe891
tree213c46109db4662eb1b98a4ec85d68010ea87c8d
parent461d7378351a7efb6e5ac3d0ae9badf84af82228
qv4l2: implement cropping and composing for video output.

To simplify this work g/s_selection helper functions are added to the
helper headers that will fallback to S/G_CROP if necessary.

This patch also fixes a bug where the buffer field was never set when
generating a FIELD_ALTERNATE video output stream.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/qv4l2/general-tab.cpp
utils/qv4l2/general-tab.h
utils/qv4l2/qv4l2.cpp
utils/v4l2-compliance/cv4l-helpers.h
utils/v4l2-compliance/v4l-helpers.h