1/*
2 * Copyright (C) 2023 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17syntax = "proto3";
18
19import "com/google/jetpackcamera/settings/aspect_ratio.proto";
20import "com/google/jetpackcamera/settings/capture_mode.proto";
21import "com/google/jetpackcamera/settings/dark_mode.proto";
22import "com/google/jetpackcamera/settings/dynamic_range.proto";
23import "com/google/jetpackcamera/settings/flash_mode.proto";
24import "com/google/jetpackcamera/settings/image_output_format.proto";
25import "com/google/jetpackcamera/settings/lens_facing.proto";
26import "com/google/jetpackcamera/settings/preview_stabilization.proto";
27import "com/google/jetpackcamera/settings/video_stabilization.proto";
28
29
30option java_package = "com.google.jetpackcamera.settings";
31option java_multiple_files = true;
32
33message JcaSettings {
34  // Camera settings
35  LensFacing default_lens_facing = 1;
36  FlashMode flash_mode_status = 2;
37  int32 target_frame_rate = 3;
38  AspectRatio aspect_ratio_status = 4;
39  CaptureMode capture_mode_status = 5;
40  PreviewStabilization stabilize_preview = 6;
41  VideoStabilization stabilize_video = 7;
42  DynamicRange dynamic_range_status = 8;
43  ImageOutputFormat image_format_status = 10;
44
45  // Non-camera app settings
46  DarkMode dark_mode_status = 9;
47}