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

Unified Diff: remoting/codec/video_encoder_vpx.h

Issue 530243002: Move common VideoPacket initialization into VideoEncoderHelper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add unit tests Created 6 years, 3 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_vpx.h
diff --git a/remoting/codec/video_encoder_vpx.h b/remoting/codec/video_encoder_vpx.h
index 133b754ec4c0e7554a37f6adde472a285217ca03..80e69db0cd139802e6ced9a738d376211938f956 100644
--- a/remoting/codec/video_encoder_vpx.h
+++ b/remoting/codec/video_encoder_vpx.h
@@ -9,6 +9,7 @@
#include "base/time/time.h"
#include "remoting/codec/scoped_vpx_codec.h"
#include "remoting/codec/video_encoder.h"
+#include "remoting/codec/video_encoder_helper.h"
typedef struct vpx_image vpx_image_t;
@@ -68,6 +69,9 @@ class VideoEncoderVpx : public VideoEncoder {
int active_map_width_;
int active_map_height_;
+ // Used to help initialize VideoPackets from DesktopFrames.
+ VideoEncoderHelper helper_;
+
DISALLOW_COPY_AND_ASSIGN(VideoEncoderVpx);
};

Powered by Google App Engine
This is Rietveld 408576698