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

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

Issue 4229003: Add VideoReader and VideoWriter interfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years, 1 month 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
« no previous file with comments | « remoting/host/simple_host_process.cc ('k') | remoting/protocol/chromotocol_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « remoting/host/simple_host_process.cc ('k') | remoting/protocol/chromotocol_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698