| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Protocol for video messages. | 5 // Protocol for video messages. |
| 6 | 6 |
| 7 syntax = "proto2"; | 7 syntax = "proto2"; |
| 8 | 8 |
| 9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
| 10 | 10 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 // packets may not be skipped. | 78 // packets may not be skipped. |
| 79 enum Flags { | 79 enum Flags { |
| 80 FIRST_PACKET = 1; | 80 FIRST_PACKET = 1; |
| 81 LAST_PACKET = 2; | 81 LAST_PACKET = 2; |
| 82 } | 82 } |
| 83 optional int32 flags = 1 [default = 0]; | 83 optional int32 flags = 1 [default = 0]; |
| 84 | 84 |
| 85 // The sequence number of the partial data for updating a rectangle. | 85 // The sequence number of the partial data for updating a rectangle. |
| 86 optional int32 sequence_number = 2 [default = 0]; | 86 optional int32 sequence_number = 2 [default = 0]; |
| 87 | 87 |
| 88 optional int32 timestamp = 3 [default = 0]; |
| 89 |
| 88 // This is provided on the first packet of the rectangle data, when | 90 // This is provided on the first packet of the rectangle data, when |
| 89 // the flags has FIRST_PACKET set. | 91 // the flags has FIRST_PACKET set. |
| 90 optional VideoPacketFormat format = 3; | 92 optional VideoPacketFormat format = 4; |
| 91 | 93 |
| 92 optional bytes data = 4; | 94 optional bytes data = 5; |
| 93 } | 95 } |
| OLD | NEW |