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

Unified Diff: remoting/proto/video.proto

Issue 4476003: Add VideoPacket struct for video packets. Refactor Decode interface to use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/proto/internal.proto ('k') | remoting/protocol/connection_to_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/proto/video.proto
diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto
index 963c1181640392c0b4085e9c2614a15aa713918a..b193461c695014b68bbc3d3601af578558e4c514 100644
--- a/remoting/proto/video.proto
+++ b/remoting/proto/video.proto
@@ -19,23 +19,6 @@ message InitClientMessage {
required int32 height = 2;
}
-// Identifies the pixel format.
-// Note that this list should match exactly the same as
-// media::VideoFrame::Format in media/base/video_frame.h.
-enum PixelFormat {
- PIXEL_FORMAT_INVALID = 0;
- PIXEL_FORMAT_RGB555 = 1;
- PIXEL_FORMAT_RGB565 = 2;
- PIXEL_FORMAT_RGB24 = 3;
- PIXEL_FORMAT_RGB32 = 4;
- PIXEL_FORMAT_RGBA = 5;
- PIXEL_FORMAT_YV12 = 6;
- PIXEL_FORMAT_YV16 = 7;
- PIXEL_FORMAT_NV12 = 8;
- PIXEL_FORMAT_EMPTY = 9;
- PIXEL_FORMAT_ASCII = 10;
-}
-
// TODO(ajwong): Determine if these fields should be optional or required.
message VideoPacketFormat {
// Identifies how the image was encoded.
@@ -56,9 +39,6 @@ message VideoPacketFormat {
// The encoding used for this image update.
optional Encoding encoding = 5 [default = ENCODING_INVALID];
-
- // The pixel format of this image.
- optional PixelFormat pixel_format = 6 [default = PIXEL_FORMAT_RGB24];
}
message VideoPacket {
« no previous file with comments | « remoting/proto/internal.proto ('k') | remoting/protocol/connection_to_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698