test: v4l2_device: Allow each test to specify which device and entity to test
Prepare for different tests which implements V4L2DeviceTest to specify which media device and entity they wish to test. There is no functional changes, all tests still use vivid to perform there tests. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
e1e440aad6
commit
4f8ba02bbc
8 changed files with 23 additions and 9 deletions
|
@ -17,6 +17,9 @@ using namespace libcamera;
|
|||
|
||||
class Format : public V4L2DeviceTest
|
||||
{
|
||||
public:
|
||||
Format()
|
||||
: V4L2DeviceTest("vivid", "vivid-000-vid-cap") {}
|
||||
protected:
|
||||
int run()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue