| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331 |
- /* preset_status.proto/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro). */
- /* This copyright was auto-generated on Mon Nov 4 18:00:55 UTC 2024 */
- /***********************************************************************************************************************
- *
- * This file is automatically generated!!! Do not modify manually.
- *
- **********************************************************************************************************************/
- /**
- * Defines the structure of protobuf message received from camera containing preset status
- */
- syntax = "proto2";
- package open_gopro;
- import "response_generic.proto";
- enum EnumFlatMode {
- FLAT_MODE_UNKNOWN = -1;
- FLAT_MODE_PLAYBACK = 4;
- FLAT_MODE_SETUP = 5;
- FLAT_MODE_VIDEO = 12;
- FLAT_MODE_TIME_LAPSE_VIDEO = 13;
- FLAT_MODE_LOOPING = 15;
- FLAT_MODE_PHOTO_SINGLE = 16;
- FLAT_MODE_PHOTO = 17;
- FLAT_MODE_PHOTO_NIGHT = 18;
- FLAT_MODE_PHOTO_BURST = 19;
- FLAT_MODE_TIME_LAPSE_PHOTO = 20;
- FLAT_MODE_NIGHT_LAPSE_PHOTO = 21;
- FLAT_MODE_BROADCAST_RECORD = 22;
- FLAT_MODE_BROADCAST_BROADCAST = 23;
- FLAT_MODE_TIME_WARP_VIDEO = 24;
- FLAT_MODE_LIVE_BURST = 25;
- FLAT_MODE_NIGHT_LAPSE_VIDEO = 26;
- FLAT_MODE_SLOMO = 27;
- FLAT_MODE_IDLE = 28;
- FLAT_MODE_VIDEO_STAR_TRAIL = 29;
- FLAT_MODE_VIDEO_LIGHT_PAINTING = 30;
- FLAT_MODE_VIDEO_LIGHT_TRAIL = 31;
- FLAT_MODE_VIDEO_BURST_SLOMO = 32;
- }
- enum EnumPresetGroup {
- PRESET_GROUP_ID_VIDEO = 1000;
- PRESET_GROUP_ID_PHOTO = 1001;
- PRESET_GROUP_ID_TIMELAPSE = 1002;
- }
- enum EnumPresetGroupIcon {
- PRESET_GROUP_VIDEO_ICON_ID = 0;
- PRESET_GROUP_PHOTO_ICON_ID = 1;
- PRESET_GROUP_TIMELAPSE_ICON_ID = 2;
- PRESET_GROUP_LONG_BAT_VIDEO_ICON_ID = 3;
- PRESET_GROUP_ENDURANCE_VIDEO_ICON_ID = 4;
- PRESET_GROUP_MAX_VIDEO_ICON_ID = 5;
- PRESET_GROUP_MAX_PHOTO_ICON_ID = 6;
- PRESET_GROUP_MAX_TIMELAPSE_ICON_ID = 7;
- PRESET_GROUP_ND_MOD_VIDEO_ICON_ID = 8;
- PRESET_GROUP_ND_MOD_PHOTO_ICON_ID = 9;
- PRESET_GROUP_ND_MOD_TIMELAPSE_ICON_ID = 10;
- }
- enum EnumPresetIcon {
- PRESET_ICON_VIDEO = 0;
- PRESET_ICON_ACTIVITY = 1;
- PRESET_ICON_CINEMATIC = 2;
- PRESET_ICON_PHOTO = 3;
- PRESET_ICON_LIVE_BURST = 4;
- PRESET_ICON_BURST = 5;
- PRESET_ICON_PHOTO_NIGHT = 6;
- PRESET_ICON_TIMEWARP = 7;
- PRESET_ICON_TIMELAPSE = 8;
- PRESET_ICON_NIGHTLAPSE = 9;
- PRESET_ICON_SNAIL = 10;
- PRESET_ICON_VIDEO_2 = 11;
- PRESET_ICON_PHOTO_2 = 13;
- PRESET_ICON_PANORAMA = 14;
- PRESET_ICON_BURST_2 = 15;
- PRESET_ICON_TIMEWARP_2 = 16;
- PRESET_ICON_TIMELAPSE_2 = 17;
- PRESET_ICON_CUSTOM = 18;
- PRESET_ICON_AIR = 19;
- PRESET_ICON_BIKE = 20;
- PRESET_ICON_EPIC = 21;
- PRESET_ICON_INDOOR = 22;
- PRESET_ICON_MOTOR = 23;
- PRESET_ICON_MOUNTED = 24;
- PRESET_ICON_OUTDOOR = 25;
- PRESET_ICON_POV = 26;
- PRESET_ICON_SELFIE = 27;
- PRESET_ICON_SKATE = 28;
- PRESET_ICON_SNOW = 29;
- PRESET_ICON_TRAIL = 30;
- PRESET_ICON_TRAVEL = 31;
- PRESET_ICON_WATER = 32;
- PRESET_ICON_LOOPING = 33;
- PRESET_ICON_STARS = 34;
- PRESET_ICON_ACTION = 35;
- PRESET_ICON_FOLLOW_CAM = 36;
- PRESET_ICON_SURF = 37;
- PRESET_ICON_CITY = 38;
- PRESET_ICON_SHAKY = 39;
- PRESET_ICON_CHESTY = 40;
- PRESET_ICON_HELMET = 41;
- PRESET_ICON_BITE = 42;
- PRESET_ICON_CUSTOM_CINEMATIC = 43;
- PRESET_ICON_VLOG = 44;
- PRESET_ICON_FPV = 45;
- PRESET_ICON_HDR = 46;
- PRESET_ICON_LANDSCAPE = 47;
- PRESET_ICON_LOG = 48;
- PRESET_ICON_CUSTOM_SLOMO = 49;
- PRESET_ICON_TRIPOD = 50;
- PRESET_ICON_MAX_VIDEO = 55;
- PRESET_ICON_MAX_PHOTO = 56;
- PRESET_ICON_MAX_TIMEWARP = 57;
- PRESET_ICON_BASIC = 58;
- PRESET_ICON_ULTRA_SLO_MO = 59;
- PRESET_ICON_STANDARD_ENDURANCE = 60;
- PRESET_ICON_ACTIVITY_ENDURANCE = 61;
- PRESET_ICON_CINEMATIC_ENDURANCE = 62;
- PRESET_ICON_SLOMO_ENDURANCE = 63;
- PRESET_ICON_STATIONARY_1 = 64;
- PRESET_ICON_STATIONARY_2 = 65;
- PRESET_ICON_STATIONARY_3 = 66;
- PRESET_ICON_STATIONARY_4 = 67;
- PRESET_ICON_SIMPLE_SUPER_PHOTO = 70;
- PRESET_ICON_SIMPLE_NIGHT_PHOTO = 71;
- PRESET_ICON_HIGHEST_QUALITY_VIDEO = 73;
- PRESET_ICON_STANDARD_QUALITY_VIDEO = 74;
- PRESET_ICON_BASIC_QUALITY_VIDEO = 75;
- PRESET_ICON_STAR_TRAIL = 76;
- PRESET_ICON_LIGHT_PAINTING = 77;
- PRESET_ICON_LIGHT_TRAIL = 78;
- PRESET_ICON_FULL_FRAME = 79;
- PRESET_ICON_EASY_MAX_VIDEO = 80;
- PRESET_ICON_EASY_MAX_PHOTO = 81;
- PRESET_ICON_EASY_MAX_TIMEWARP = 82;
- PRESET_ICON_EASY_MAX_STAR_TRAIL = 83;
- PRESET_ICON_EASY_MAX_LIGHT_PAINTING = 84;
- PRESET_ICON_EASY_MAX_LIGHT_TRAIL = 85;
- PRESET_ICON_MAX_STAR_TRAIL = 89;
- PRESET_ICON_MAX_LIGHT_PAINTING = 90;
- PRESET_ICON_MAX_LIGHT_TRAIL = 91;
- PRESET_ICON_EASY_STANDARD_PROFILE = 100;
- PRESET_ICON_EASY_HDR_PROFILE = 101;
- PRESET_ICON_BURST_SLOMO = 102;
- PRESET_ICON_TIMELAPSE_PHOTO = 1000;
- PRESET_ICON_NIGHTLAPSE_PHOTO = 1001;
- }
- enum EnumPresetTitle {
- PRESET_TITLE_ACTIVITY = 0;
- PRESET_TITLE_STANDARD = 1;
- PRESET_TITLE_CINEMATIC = 2;
- PRESET_TITLE_PHOTO = 3;
- PRESET_TITLE_LIVE_BURST = 4;
- PRESET_TITLE_BURST = 5;
- PRESET_TITLE_NIGHT = 6;
- PRESET_TITLE_TIME_WARP = 7;
- PRESET_TITLE_TIME_LAPSE = 8;
- PRESET_TITLE_NIGHT_LAPSE = 9;
- PRESET_TITLE_VIDEO = 10;
- PRESET_TITLE_SLOMO = 11;
- PRESET_TITLE_PHOTO_2 = 13;
- PRESET_TITLE_PANORAMA = 14;
- PRESET_TITLE_TIME_WARP_2 = 16;
- PRESET_TITLE_CUSTOM = 18;
- PRESET_TITLE_AIR = 19;
- PRESET_TITLE_BIKE = 20;
- PRESET_TITLE_EPIC = 21;
- PRESET_TITLE_INDOOR = 22;
- PRESET_TITLE_MOTOR = 23;
- PRESET_TITLE_MOUNTED = 24;
- PRESET_TITLE_OUTDOOR = 25;
- PRESET_TITLE_POV = 26;
- PRESET_TITLE_SELFIE = 27;
- PRESET_TITLE_SKATE = 28;
- PRESET_TITLE_SNOW = 29;
- PRESET_TITLE_TRAIL = 30;
- PRESET_TITLE_TRAVEL = 31;
- PRESET_TITLE_WATER = 32;
- PRESET_TITLE_LOOPING = 33;
- PRESET_TITLE_STARS = 34;
- PRESET_TITLE_ACTION = 35;
- PRESET_TITLE_FOLLOW_CAM = 36;
- PRESET_TITLE_SURF = 37;
- PRESET_TITLE_CITY = 38;
- PRESET_TITLE_SHAKY = 39;
- PRESET_TITLE_CHESTY = 40;
- PRESET_TITLE_HELMET = 41;
- PRESET_TITLE_BITE = 42;
- PRESET_TITLE_CUSTOM_CINEMATIC = 43;
- PRESET_TITLE_VLOG = 44;
- PRESET_TITLE_FPV = 45;
- PRESET_TITLE_HDR = 46;
- PRESET_TITLE_LANDSCAPE = 47;
- PRESET_TITLE_LOG = 48;
- PRESET_TITLE_CUSTOM_SLOMO = 49;
- PRESET_TITLE_TRIPOD = 50;
- PRESET_TITLE_BASIC = 58;
- PRESET_TITLE_ULTRA_SLO_MO = 59;
- PRESET_TITLE_STANDARD_ENDURANCE = 60;
- PRESET_TITLE_ACTIVITY_ENDURANCE = 61;
- PRESET_TITLE_CINEMATIC_ENDURANCE = 62;
- PRESET_TITLE_SLOMO_ENDURANCE = 63;
- PRESET_TITLE_STATIONARY_1 = 64;
- PRESET_TITLE_STATIONARY_2 = 65;
- PRESET_TITLE_STATIONARY_3 = 66;
- PRESET_TITLE_STATIONARY_4 = 67;
- PRESET_TITLE_SIMPLE_VIDEO = 68;
- PRESET_TITLE_SIMPLE_TIME_WARP = 69;
- PRESET_TITLE_SIMPLE_SUPER_PHOTO = 70;
- PRESET_TITLE_SIMPLE_NIGHT_PHOTO = 71;
- PRESET_TITLE_SIMPLE_VIDEO_ENDURANCE = 72;
- PRESET_TITLE_HIGHEST_QUALITY = 73;
- PRESET_TITLE_EXTENDED_BATTERY = 74;
- PRESET_TITLE_LONGEST_BATTERY = 75;
- PRESET_TITLE_STAR_TRAIL = 76;
- PRESET_TITLE_LIGHT_PAINTING = 77;
- PRESET_TITLE_LIGHT_TRAIL = 78;
- PRESET_TITLE_FULL_FRAME = 79;
- PRESET_TITLE_STANDARD_QUALITY_VIDEO = 82;
- PRESET_TITLE_BASIC_QUALITY_VIDEO = 83;
- PRESET_TITLE_HIGHEST_QUALITY_VIDEO = 93;
- PRESET_TITLE_USER_DEFINED_CUSTOM_NAME = 94;
- PRESET_TITLE_EASY_STANDARD_PROFILE = 99;
- PRESET_TITLE_EASY_HDR_PROFILE = 100;
- PRESET_TITLE_BURST_SLOMO = 106;
- PRESET_TITLE_4_3_VIDEO = 125;
- PRESET_TITLE_16_9_VIDEO = 126;
- PRESET_TITLE_16_9_SLOMO = 127;
- }
- /**
- * Current Preset status
- *
- * Sent either:
- *
- * - Synchronously via initial response to @ref RequestGetPresetStatus
- * - Asynchronously when Preset change if registered in @ref RequestGetPresetStatus
- */
- message NotifyPresetStatus {
- repeated PresetGroup preset_group_array = 1; // List of currently available Preset Groups
- }
- /**
- * An individual preset.
- */
- message Preset {
- optional int32 id = 1; // Preset ID
- optional EnumFlatMode mode = 2; // Preset flatmode ID
- optional EnumPresetTitle title_id = 3; // Preset Title ID
- optional int32 title_number = 4; // Preset Title Number (e.g. 1/2/3 in Custom1, Custom2, Custom3)
- optional bool user_defined = 5; // Is the Preset custom/user-defined?
- optional EnumPresetIcon icon = 6; // Preset Icon ID
- repeated PresetSetting setting_array = 7; // Array of settings associated with this Preset
- optional bool is_modified = 8; // Has Preset been modified from factory defaults? (False for user-defined Presets)
- optional bool is_fixed = 9; // Is this Preset mutable?
- optional string custom_name = 10; // Custom string name given to this preset via @ref RequestCustomPresetUpdate
- }
- /**
- * Request to Update the Title and / or Icon of the Active Custom Preset
- *
- * This only operates on the currently active Preset and will fail if the current
- * Preset is not custom.
- *
- * The use cases are:
- *
- * 1. Update the Custom Preset Icon
- *
- * - `icon_id` is always optional and can always be passed
- *
- * and / or
- *
- * 2. Update the Custom Preset Title to a...
- *
- * - **Factory Preset Title**: Set `title_id` to a non-PRESET_TITLE_USER_DEFINED_CUSTOM_NAME (94) value
- * - **Custom Preset Name**: Set `title_id` to PRESET_TITLE_USER_DEFINED_CUSTOM_NAME (94) and specify a `custom_name`
- *
- * Returns a @ref ResponseGeneric with the status of the preset update request.
- */
- message RequestCustomPresetUpdate {
- /**
- * Preset Title ID
- *
- * The range of acceptable custom title ID's can be found in the initial @ref NotifyPresetStatus response
- * to @ref RequestGetPresetStatus
- */
- optional EnumPresetTitle title_id = 1;
- /**
- * UTF-8 encoded custom preset name to be used if `title_id` is set to 94 (PRESET_TITLE_USER_DEFINED_CUSTOM_NAME)
- *
- * The name must obey the following:
- *
- * - Custom titles must be between 1 and 16 characters (inclusive)
- * - No special characters outside of the following languages: English, French, Italian, German,
- * Spanish, Portuguese, Swedish, Russian
- */
- optional string custom_name = 2;
- /**
- * Preset Icon ID
- *
- * The range of acceptable custom icon ID's can be found in the initial @ref NotifyPresetStatus response to
- * @ref RequestGetPresetStatus
- */
- optional EnumPresetIcon icon_id = 3;
- }
- /*
- * Preset Group meta information and contained Presets
- */
- message PresetGroup {
- optional EnumPresetGroup id = 1; // Preset Group ID
- repeated Preset preset_array = 2; // Array of Presets contained in this Preset Group
- optional bool can_add_preset = 3; // Is there room in the group to add additional Presets?
- optional EnumPresetGroupIcon icon = 4; // The icon to display for this preset group
- repeated EnumFlatMode mode_array = 5; // A list of flatmodes available for this preset group
- }
- /**
- * Setting representation that comprises a @ref Preset
- */
- message PresetSetting {
- optional int32 id = 1; // Setting ID
- optional int32 value = 2; // Setting value
- optional bool is_caption = 3; // Does this setting appear on the Preset "pill" in the camera UI?
- }
|