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

Unified Diff: remoting/base/util.h

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/base/encoder_zlib.cc ('k') | remoting/base/util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/util.h
diff --git a/remoting/base/util.h b/remoting/base/util.h
index d7f4128ed3088b6d29340c42698c25a1d791a23d..bf5cff5a0282d764733afdbac1b28b04c5eea54e 100644
--- a/remoting/base/util.h
+++ b/remoting/base/util.h
@@ -5,11 +5,12 @@
#ifndef REMOTING_BASE_UTIL_H_
#define REMOTING_BASE_UTIL_H_
-#include "remoting/proto/video.pb.h"
+#include "media/base/video_frame.h"
namespace remoting {
-int GetBytesPerPixel(PixelFormat format);
+// TODO(sergeyu): Move this to media::VideoFrame.
+int GetBytesPerPixel(media::VideoFrame::Format format);
} // namespace remoting
« no previous file with comments | « remoting/base/encoder_zlib.cc ('k') | remoting/base/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698