2288550f7d
Use the KMSSink class to display the viewfinder stream, if any, through DRM/KMS. The output connector is selected through the new -D/--display argument. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
27 lines
459 B
C
27 lines
459 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2019, Google Inc.
|
|
*
|
|
* main.h - Cam application
|
|
*/
|
|
#ifndef __CAM_MAIN_H__
|
|
#define __CAM_MAIN_H__
|
|
|
|
enum {
|
|
OptCamera = 'c',
|
|
OptCapture = 'C',
|
|
OptDisplay = 'D',
|
|
OptFile = 'F',
|
|
OptHelp = 'h',
|
|
OptInfo = 'I',
|
|
OptList = 'l',
|
|
OptListProperties = 'p',
|
|
OptMonitor = 'm',
|
|
OptStream = 's',
|
|
OptListControls = 256,
|
|
OptStrictFormats = 257,
|
|
OptMetadata = 258,
|
|
};
|
|
|
|
#endif /* __CAM_MAIN_H__ */
|