]>
Commit | Line | Data |
---|---|---|
040b0468 SG |
1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | /* | |
3 | * Copyright 2023 Google LLC | |
4 | * Written by Simon Glass <[email protected]> | |
5 | */ | |
6 | ||
7 | #ifndef __CEDIT_H | |
8 | #define __CEDIT_H | |
9 | ||
10 | struct expo; | |
11 | struct video_priv; | |
12 | ||
13 | /** | |
14 | * cedit_arange() - Arrange objects in a configuration-editor scene | |
15 | * | |
16 | * @exp: Expo to update | |
17 | * @vid_priv: Private info of the video device | |
18 | * @scene_id: scene ID to arrange | |
19 | * Returns: 0 if OK, -ve on error | |
20 | */ | |
21 | int cedit_arange(struct expo *exp, struct video_priv *vid_priv, uint scene_id); | |
22 | ||
23 | /** | |
24 | * cedit_run() - Run a configuration editor | |
25 | * | |
26 | * This accepts input until the user quits with Escape | |
27 | * | |
28 | * @exp: Expo to use | |
29 | * Returns: 0 if OK, -ve on error | |
30 | */ | |
31 | int cedit_run(struct expo *exp); | |
32 | ||
33 | #endif /* __CEDIT_H */ |