[Cast] Compute utilization metrics and add performance overlay.
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 Review URL: https://codereview.chromium.org/1148233002 Cr-Commit-Position: refs/heads/master@{#330896}
Showing
Please register or sign in to comment