OLD | NEW |
---|---|
1 syntax = "proto2"; | 1 syntax = "proto2"; |
2 | 2 |
3 option optimize_for = LITE_RUNTIME; | 3 option optimize_for = LITE_RUNTIME; |
4 | 4 |
5 package mri; | 5 package mri; |
6 | 6 |
7 // The output of the media analytics process. Implicitly tied to the | 7 // The output of the media analytics process. Implicitly tied to the |
8 // MediaPerception dictionary defined in Chromium source at | 8 // MediaPerception dictionary defined in Chromium source at |
9 // src/extensions/common/api/media_perception_private.idl for the | 9 // src/extensions/common/api/media_perception_private.idl for the |
10 // Chromium mediaPerceptionPrivate API. This .proto needs to be compatible | 10 // Chromium mediaPerceptionPrivate API. This .proto needs to be compatible |
(...skipping 13 matching lines...) Expand all Loading... | |
24 | 24 |
25 // Used to transmit a history of image frames and their associated annotations. | 25 // Used to transmit a history of image frames and their associated annotations. |
26 // This is accumulated over time by the graph runner. | 26 // This is accumulated over time by the graph runner. |
27 message Diagnostics { | 27 message Diagnostics { |
28 repeated PerceptionSample perception_sample = 1; | 28 repeated PerceptionSample perception_sample = 1; |
29 } | 29 } |
30 | 30 |
31 message State { | 31 message State { |
32 enum Status { | 32 enum Status { |
33 STATUS_UNSPECIFIED = 0; // Unused required default value for Proto enums. | 33 STATUS_UNSPECIFIED = 0; // Unused required default value for Proto enums. |
34 TIMEOUT = 1; // Unable to reach media analysis process. | |
tbarzic
2017/05/18 19:28:01
Do you have to do this?
Even if it's unused, it's
Luke Sorenson
2017/05/18 21:24:17
Sorry, forgot to adjust the numbers as well. Makin
| |
35 UNINITIALIZED = 2; // Media analytics working on loading configuration. | 34 UNINITIALIZED = 2; // Media analytics working on loading configuration. |
36 STARTED = 3; // Analysis process running but not recieving frames. | 35 STARTED = 3; // Analysis process running but not recieving frames. |
37 RUNNING = 4; // Analysis process running and injesting frames. | 36 RUNNING = 4; // Analysis process running and injesting frames. |
38 SUSPENDED = 5; // Media analytics process waiting to be started. | 37 SUSPENDED = 5; // Media analytics process waiting to be started. |
39 } | 38 } |
40 | 39 |
41 // Note: RUNNING and SUSPENDED are the only two states which should be sent to | 40 // Note: RUNNING and SUSPENDED are the only two states which should be sent to |
42 // SetState. | 41 // SetState. |
43 optional Status status = 1; | 42 optional Status status = 1; |
44 | 43 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
113 } | 112 } |
114 | 113 |
115 message Point { | 114 message Point { |
116 // x represents the horizontal distance from the top left corner of the image | 115 // x represents the horizontal distance from the top left corner of the image |
117 // to the point. | 116 // to the point. |
118 optional float x = 1; | 117 optional float x = 1; |
119 // y represents the vertical distance from the top left corner of the image to | 118 // y represents the vertical distance from the top left corner of the image to |
120 // the point. | 119 // the point. |
121 optional float y = 2; | 120 optional float y = 2; |
122 } | 121 } |
OLD | NEW |