summaryrefslogtreecommitdiffstats
path: root/remoting/proto/video.proto
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-09 23:22:20 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-09 23:22:20 +0000
commit3adf1b2a65a85ff7d4b55cd57a4e400f104d27dd (patch)
tree235aee1f595583297e057b058a29d2ed24d9da92 /remoting/proto/video.proto
parent9db9173baebf27623ce30770696f84a3fec74259 (diff)
downloadchromium_src-3adf1b2a65a85ff7d4b55cd57a4e400f104d27dd.zip
chromium_src-3adf1b2a65a85ff7d4b55cd57a4e400f104d27dd.tar.gz
chromium_src-3adf1b2a65a85ff7d4b55cd57a4e400f104d27dd.tar.bz2
Add VideoPacket struct for video packets. Refactor Decode interface to use it.
Various cleanups. BUG=None TEST=Unittests. Review URL: http://codereview.chromium.org/4476003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto/video.proto')
-rw-r--r--remoting/proto/video.proto20
1 files changed, 0 insertions, 20 deletions
diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto
index 963c118..b193461c 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 {