• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/stabilization_mode.proto";
27import "com/google/jetpackcamera/settings/video_quality.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  StreamConfig stream_config_status = 5;
40  StabilizationMode stabilization_mode = 6;
41  DynamicRange dynamic_range_status = 8;
42  ImageOutputFormat image_format_status = 10;
43  uint64 max_video_duration_millis = 11;
44  VideoQuality video_quality = 12;
45  bool audio_enabled_status = 13;
46
47  // Non-camera app settings
48  DarkMode dark_mode_status = 9;
49}