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

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

Issue 1143363005: Revert of [Cast] Compute utilization metrics and add performance overlay. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/software_video_encoder.h ('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 ff73c550616bea33d1ebcd6aaf32feeef4ee3f2a..94b0bbfe3c074b9241ba6b7425239f0c02f69732 100644
--- a/media/cast/sender/video_encoder.h
+++ b/media/cast/sender/video_encoder.h
@@ -12,7 +12,6 @@
#include "media/base/video_frame.h"
#include "media/cast/cast_config.h"
#include "media/cast/cast_environment.h"
-#include "media/cast/sender/sender_encoded_frame.h"
#include "media/cast/sender/video_frame_factory.h"
namespace media {
@@ -21,9 +20,7 @@
// All these functions are called from the main cast thread.
class VideoEncoder {
public:
- // Callback used to deliver an encoded frame on the Cast MAIN thread.
- using FrameEncodedCallback =
- base::Callback<void(scoped_ptr<SenderEncodedFrame>)>;
+ typedef base::Callback<void(scoped_ptr<EncodedFrame>)> FrameEncodedCallback;
// Creates a VideoEncoder instance from the given |video_config| and based on
// the current platform's hardware/library support; or null if no
« no previous file with comments | « media/cast/sender/software_video_encoder.h ('k') | media/cast/sender/video_encoder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698