Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: remoting/proto/video.proto

Issue 5068001: Move move classes to the remoting::protocol namespace. Minor cleanups. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes for windows Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
11 package remoting; 11 package remoting;
12 12
13 // A message that gets sent to the client after the client is connected to the
14 // host. It contains information that the client needs to know about the host.
15 // NEXT ID: 3
16 // TODO(sergeyu): Move to the control channel.
17 message InitClientMessage {
18 required int32 width = 1;
19 required int32 height = 2;
20 }
21
22 // TODO(ajwong): Determine if these fields should be optional or required. 13 // TODO(ajwong): Determine if these fields should be optional or required.
23 message VideoPacketFormat { 14 message VideoPacketFormat {
24 // Identifies how the image was encoded. 15 // Identifies how the image was encoded.
25 enum Encoding { 16 enum Encoding {
26 ENCODING_INVALID = -1; 17 ENCODING_INVALID = -1;
27 ENCODING_VERBATIM = 0; 18 ENCODING_VERBATIM = 0;
28 ENCODING_ZLIB = 1; 19 ENCODING_ZLIB = 1;
29 ENCODING_VP8 = 2; 20 ENCODING_VP8 = 2;
30 }; 21 };
31 22
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 optional int32 sequence_number = 2 [default = 0]; 57 optional int32 sequence_number = 2 [default = 0];
67 58
68 optional int32 timestamp = 3 [default = 0]; 59 optional int32 timestamp = 3 [default = 0];
69 60
70 // This is provided on the first packet of the rectangle data, when 61 // This is provided on the first packet of the rectangle data, when
71 // the flags has FIRST_PACKET set. 62 // the flags has FIRST_PACKET set.
72 optional VideoPacketFormat format = 4; 63 optional VideoPacketFormat format = 4;
73 64
74 optional bytes data = 5; 65 optional bytes data = 5;
75 } 66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698