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

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

Issue 1148233002: [Cast] Compute utilization metrics and add performance overlay. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed hubbe's comments. 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/size_adaptable_video_encoder_base.cc ('k') | media/cast/sender/video_encoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/sender/software_video_encoder.h
diff --git a/media/cast/sender/software_video_encoder.h b/media/cast/sender/software_video_encoder.h
index e3136d5352f56f07dbad953df791a3640e24afa1..56db81db95100f4ad1c7de310f5b311b49bccff3 100644
--- a/media/cast/sender/software_video_encoder.h
+++ b/media/cast/sender/software_video_encoder.h
@@ -7,6 +7,7 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
+#include "media/cast/sender/sender_encoded_frame.h"
namespace base {
class TimeTicks;
@@ -18,7 +19,6 @@ class VideoFrame;
namespace media {
namespace cast {
-struct EncodedFrame;
class SoftwareVideoEncoder {
public:
@@ -31,7 +31,7 @@ class SoftwareVideoEncoder {
// Encode a raw image (as a part of a video stream).
virtual void Encode(const scoped_refptr<media::VideoFrame>& video_frame,
const base::TimeTicks& reference_time,
- EncodedFrame* encoded_frame) = 0;
+ SenderEncodedFrame* encoded_frame) = 0;
// Update the encoder with a new target bit rate.
virtual void UpdateRates(uint32 new_bitrate) = 0;
« no previous file with comments | « media/cast/sender/size_adaptable_video_encoder_base.cc ('k') | media/cast/sender/video_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698