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

Unified Diff: trunk/src/remoting/codec/video_encoder_vp8.h

Issue 24217003: Revert 224101 "Remove dependency on Skia from chromoting client." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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
« no previous file with comments | « trunk/src/remoting/codec/video_decoder_vp8.cc ('k') | trunk/src/remoting/codec/video_encoder_vp8.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/remoting/codec/video_encoder_vp8.h
===================================================================
--- trunk/src/remoting/codec/video_encoder_vp8.h (revision 224204)
+++ trunk/src/remoting/codec/video_encoder_vp8.h (working copy)
@@ -7,12 +7,12 @@
#include "base/gtest_prod_util.h"
#include "remoting/codec/video_encoder.h"
+#include "third_party/skia/include/core/SkRegion.h"
typedef struct vpx_codec_ctx vpx_codec_ctx_t;
typedef struct vpx_image vpx_image_t;
namespace webrtc {
-class DesktopRegion;
class DesktopSize;
} // namespace webrtc
@@ -42,11 +42,11 @@
//
// TODO(sergeyu): Update this code to use webrtc::DesktopRegion.
void PrepareImage(const webrtc::DesktopFrame& frame,
- webrtc::DesktopRegion* updated_region);
+ SkRegion* updated_region);
// Update the active map according to |updated_region|. Active map is then
// given to the encoder to speed up encoding.
- void PrepareActiveMap(const webrtc::DesktopRegion& updated_region);
+ void PrepareActiveMap(const SkRegion& updated_region);
// True if the encoder is initialized.
bool initialized_;
« no previous file with comments | « trunk/src/remoting/codec/video_decoder_vp8.cc ('k') | trunk/src/remoting/codec/video_encoder_vp8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698