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

Side by Side Diff: media/base/media_switches.cc

Issue 2108373002: Add experimental 'backlog' heuristic for measuring encoder utilization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « media/base/media_switches.h ('k') | media/cast/sender/external_video_encoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "media/base/media_switches.h" 6 #include "media/base/media_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // Allow users to specify a custom buffer size for debugging purpose. 10 // Allow users to specify a custom buffer size for debugging purpose.
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 // Disables the new rendering algorithm for webrtc, which is designed to improve 117 // Disables the new rendering algorithm for webrtc, which is designed to improve
118 // the rendering smoothness. 118 // the rendering smoothness.
119 const char kDisableRTCSmoothnessAlgorithm[] = 119 const char kDisableRTCSmoothnessAlgorithm[] =
120 "disable-rtc-smoothness-algorithm"; 120 "disable-rtc-smoothness-algorithm";
121 121
122 // Enables demuxing of vp9 in mp4. Note that this flag will not have any effect 122 // Enables demuxing of vp9 in mp4. Note that this flag will not have any effect
123 // if MP4 demuxing is not enabled in the build. 123 // if MP4 demuxing is not enabled in the build.
124 const char kEnableVp9InMp4[] = "enable-vp9-in-mp4"; 124 const char kEnableVp9InMp4[] = "enable-vp9-in-mp4";
125 125
126 // Switches which method is used to compute the encoder utilization metric
127 // (e.g., --cast-encoder-util-heuristic=backlog).
128 //
129 // TODO(miu): This is temporary, for lab performance testing, until a
130 // good "works for all" solution is confirmed.
131 // https://code.google.com/p/chrome-os-partner/issues/detail?id=54806
132 const char kCastEncoderUtilHeuristic[] = "cast-encoder-util-heuristic";
133
126 } // namespace switches 134 } // namespace switches
127 135
128 namespace media { 136 namespace media {
129 137
130 // Use new audio rendering mixer. 138 // Use new audio rendering mixer.
131 const base::Feature kNewAudioRenderingMixingStrategy{ 139 const base::Feature kNewAudioRenderingMixingStrategy{
132 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT}; 140 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT};
133 141
134 // Use shared block-based buffering for media. 142 // Use shared block-based buffering for media.
135 const base::Feature kUseNewMediaCache{"use-new-media-cache", 143 const base::Feature kUseNewMediaCache{"use-new-media-cache",
136 base::FEATURE_ENABLED_BY_DEFAULT}; 144 base::FEATURE_ENABLED_BY_DEFAULT};
137 145
138 } // namespace media 146 } // namespace media
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | media/cast/sender/external_video_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698