summaryrefslogtreecommitdiffstats
path: root/media/cast/cast.gyp
diff options
context:
space:
mode:
authormiu <miu@chromium.org>2015-05-22 16:22:59 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-22 23:23:37 +0000
commit5f887ec4774e4d7744befc791d8d69b47d755b99 (patch)
treea1779ace796a7cc20a7550f2ea518f1cb1a99d54 /media/cast/cast.gyp
parent7598f464dda3b851eeb77b7d1083d5926a823acf (diff)
downloadchromium_src-5f887ec4774e4d7744befc791d8d69b47d755b99.zip
chromium_src-5f887ec4774e4d7744befc791d8d69b47d755b99.tar.gz
chromium_src-5f887ec4774e4d7744befc791d8d69b47d755b99.tar.bz2
RELAND: [Cast] Compute utilization metrics and add performance overlay.
This change relands https://codereview.chromium.org/1148233002/ with a compile fix for Mac that somehow got through the CQ unnoticed. :-/ Adds computation of two frame-level utilization metrics to the software VP8 encoder in Cast: deadline utilization and lossy utilization. The first is a measure of how long the encoding of each frame takes compared to the frame duration. The second is a measure of the complexity of a frame, in terms of the quality versus encoded size trade-off. In a future change, these utilization metrics will be sent as feedback signals to the producer of the video frames, allowing the producer to adjust data volumes based on the consumer's capability throughout a session. See bug for more details. Also, this change adds an overlay display, where frame-level performance metrics are rendered in the lower-right corner of each video frame just before it is sent. This provides an "on screen display" of end-to-end system performance. This is turned on with a command line argument: --vmodule=performance_metrics_overlay=3 BUG=156767 TBR=hubbe@chromium.org Review URL: https://codereview.chromium.org/1155943002 Cr-Commit-Position: refs/heads/master@{#331202}
Diffstat (limited to 'media/cast/cast.gyp')
-rw-r--r--media/cast/cast.gyp4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/cast/cast.gyp b/media/cast/cast.gyp
index ef26fac..e3cb136 100644
--- a/media/cast/cast.gyp
+++ b/media/cast/cast.gyp
@@ -162,6 +162,10 @@
'sender/fake_software_video_encoder.h',
'sender/frame_sender.cc',
'sender/frame_sender.h',
+ 'sender/performance_metrics_overlay.cc',
+ 'sender/performance_metrics_overlay.h',
+ 'sender/sender_encoded_frame.cc',
+ 'sender/sender_encoded_frame.h',
'sender/size_adaptable_video_encoder_base.cc',
'sender/size_adaptable_video_encoder_base.h',
'sender/software_video_encoder.h',