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

Unified Diff: media/cast/sender/sender_encoded_frame.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/performance_metrics_overlay.cc ('k') | media/cast/sender/sender_encoded_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/sender/sender_encoded_frame.h
diff --git a/media/cast/sender/sender_encoded_frame.h b/media/cast/sender/sender_encoded_frame.h
deleted file mode 100644
index 5b9f68039d99e86c70b3d84a2f2a9daf4d26cd8b..0000000000000000000000000000000000000000
--- a/media/cast/sender/sender_encoded_frame.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MEDIA_CAST_SENDER_SENDER_ENCODED_FRAME_H_
-#define MEDIA_CAST_SENDER_SENDER_ENCODED_FRAME_H_
-
-#include "media/cast/net/cast_transport_config.h"
-
-namespace media {
-namespace cast {
-
-// Extends EncodedFrame with additional fields used within the sender-side of
-// the library.
-struct SenderEncodedFrame : public EncodedFrame {
- SenderEncodedFrame();
- ~SenderEncodedFrame() final;
-
- // The amount of real-world time it took to encode the frame, divided by the
- // maximum amount of time allowed. Example: For the software VP8 encoder,
- // this would be the elapsed encode time (according to the base::TimeTicks
- // clock) divided by the VideoFrame's duration.
- //
- // Meaningful values are non-negative, with 0.0 [impossibly] representing 0%
- // utilization, 1.0 representing 100% utilization, and values greater than 1.0
- // indicating the encode time took longer than the media duration of the
- // frame. Negative values indicate the field was not computed.
- double deadline_utilization;
-
- // The amount of "lossiness" needed to encode the frame within the targeted
- // bandwidth. More-complex frame content and/or lower target encode bitrates
- // will cause this value to rise.
- //
- // Meaningful values are non-negative, with 0.0 indicating the frame is very
- // simple and/or the target encode bitrate is very large, 1.0 indicating the
- // frame contains very complex content and/or the target encode bitrate is
- // very small, and values greater than 1.0 indicating the encoder cannot
- // encode the frame within the target bitrate (even at its lowest quality
- // setting). Negative values indicate the field was not computed.
- double lossy_utilization;
-};
-
-} // namespace cast
-} // namespace media
-
-#endif // MEDIA_CAST_SENDER_SENDER_ENCODED_FRAME_H_
« no previous file with comments | « media/cast/sender/performance_metrics_overlay.cc ('k') | media/cast/sender/sender_encoded_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698