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

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

Issue 892383002: RELAND: [Cast] Software encoder support for varying video frame sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for 'access to uninitialized memory' error. 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
« no previous file with comments | « media/cast/sender/h264_vt_encoder.cc ('k') | media/cast/sender/video_encoder_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/sender/video_encoder.h
diff --git a/media/cast/sender/video_encoder.h b/media/cast/sender/video_encoder.h
index ba8c420f8fc6ac8bc1702f9907eab94dd71ee395..92e8547769981ba7294dd4129552e107b91f167c 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 = 0;
+
// 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
« no previous file with comments | « media/cast/sender/h264_vt_encoder.cc ('k') | media/cast/sender/video_encoder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698