xref: /linux/drivers/media/test-drivers/vivid/vivid-ctrls.h (revision 02680c23d7b3febe45ea3d4f9818c2b2dc89020a)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * vivid-ctrls.h - control support functions.
4  *
5  * Copyright 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
6  */
7 
8 #ifndef _VIVID_CTRLS_H_
9 #define _VIVID_CTRLS_H_
10 
11 enum vivid_hw_seek_modes {
12 	VIVID_HW_SEEK_BOUNDED,
13 	VIVID_HW_SEEK_WRAP,
14 	VIVID_HW_SEEK_BOTH,
15 };
16 
17 int vivid_create_controls(struct vivid_dev *dev, bool show_ccs_cap,
18 		bool show_ccs_out, bool no_error_inj,
19 		bool has_sdtv, bool has_hdmi);
20 void vivid_free_controls(struct vivid_dev *dev);
21 
22 #endif
23