v4l2-compliance: add streaming tests
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 11 Feb 2014 07:36:05 +0000 (08:36 +0100)
committerHans Verkuil <hans.verkuil@cisco.com>
Tue, 11 Feb 2014 07:36:05 +0000 (08:36 +0100)
commit3852b5872d84e5bfde53666d607616714fa1beb2
tree34da76a2a7be836fcae94ffad2ccb5cb964c4179
parent32df2c1c856ce55a1c08f2cd44617f30da30db2f
v4l2-compliance: add streaming tests

Add tests for the streaming ioctls. If the -s flag is specified then the
streaming tests are enabled. These assume a valid input/output and/or
frequency. Options to set those are also added.

Currently only single plane video capture is supported. This is however
90% of all drivers, so this should be OK for now while work progresses
on other formats. Also the DMABUF streaming is not tested.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-compliance/v4l2-compliance.cpp
utils/v4l2-compliance/v4l2-compliance.h
utils/v4l2-compliance/v4l2-test-buffers.cpp