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

Unified Diff: media/cast/sender/video_encoder.h

Issue 877393003: [Cast] Software encoder support for varying video frame sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: media/cast/sender/video_encoder.h
diff --git a/media/cast/sender/video_encoder.h b/media/cast/sender/video_encoder.h
index bcb323c12a1fd83fa99cbba0baccf30894e7e0d5..81caff6f365523e378df979a82c880349b4abbad 100644
--- a/media/cast/sender/video_encoder.h
+++ b/media/cast/sender/video_encoder.h
@@ -26,6 +26,10 @@ class VideoEncoder {
virtual ~VideoEncoder() {}
+ // Returns true if the size of video frames passed in successive calls to
+ // EncodedVideoFrame() can vary.
+ virtual bool CanEncodeVariedFrameSizes() const;
hubbe 2015/01/31 00:55:51 I think it would be better to make this pure virtu
miu 2015/01/31 04:53:04 Done.
+
// If true is returned, the Encoder has accepted the request and will process
// it asynchronously, running |frame_encoded_callback| on the MAIN
// CastEnvironment thread with the result. If false is returned, nothing

Powered by Google App Engine
This is Rietveld 408576698