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

Unified Diff: remoting/codec/video_decoder.h

Issue 17511004: Added the desktop shape fields to VideoPacket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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_decoder.h
diff --git a/remoting/codec/video_decoder.h b/remoting/codec/video_decoder.h
index f1eb650d10c7341ff2d5e4e5ac62a25201448e6f..d98e36faad4b626a849d402787e0dc6d8c66a1d4 100644
--- a/remoting/codec/video_decoder.h
+++ b/remoting/codec/video_decoder.h
@@ -68,6 +68,10 @@ class VideoDecoder {
uint8* image_buffer,
int image_stride,
SkRegion* output_region) = 0;
+
+ // Returns the "shape", if any, of the most recently rendered frame.
+ // The shape is returned in source dimensions.
+ virtual const SkRegion* GetImageShape() { return NULL; }
Jamie 2013/06/20 21:15:57 Everything else here is pure virtual. Does this ne
Sergey Ulanov 2013/06/20 21:27:21 Can you use webrtc::DesktopRegion here instead of
alexeypa (please no reviews) 2013/06/20 22:05:11 Done.
alexeypa (please no reviews) 2013/06/20 22:05:11 I will not be able to do it today. We would really
};
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698