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

Unified Diff: remoting/codec/video_encoder.h

Issue 1923573006: Implement a dummy host to do capturing and analysis only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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
Index: remoting/codec/video_encoder.h
diff --git a/remoting/codec/video_encoder.h b/remoting/codec/video_encoder.h
index 99018f7d4e6c4ad2cde7cd2454722576f1f06351..1fb3ab5fdf1ba6ef2091ae9960d17fa22a7505d8 100644
--- a/remoting/codec/video_encoder.h
+++ b/remoting/codec/video_encoder.h
@@ -9,6 +9,8 @@
#include <memory>
+#include "remoting/protocol/session_config.h"
joedow 2016/04/28 22:53:54 I think you can forward declare SessionConfig sinc
Hzj_jie 2016/05/03 19:07:05 Done.
+
namespace webrtc {
class DesktopFrame;
} // namespace webrtc
@@ -34,6 +36,9 @@ class VideoEncoder {
// there is no work to do.
virtual std::unique_ptr<VideoPacket> Encode(const webrtc::DesktopFrame& frame,
uint32_t flags) = 0;
+
+ static std::unique_ptr<VideoEncoder> Create(
+ const protocol::SessionConfig& config);
};
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698