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

Side by Side Diff: content/public/common/content_features.cc

Issue 2839823002: Android: enable HW encoding (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/common/content_switches.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "content/public/common/content_features.h" 6 #include "content/public/common/content_features.h"
7 7
8 namespace features { 8 namespace features {
9 9
10 // All features in alphabetical order. 10 // All features in alphabetical order.
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 268
269 // Use GpuMemoryBuffer backed VideoFrames in media streams. 269 // Use GpuMemoryBuffer backed VideoFrames in media streams.
270 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{ 270 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{
271 "WebRTC-UseGpuMemoryBufferVideoFrames", 271 "WebRTC-UseGpuMemoryBufferVideoFrames",
272 base::FEATURE_DISABLED_BY_DEFAULT}; 272 base::FEATURE_DISABLED_BY_DEFAULT};
273 273
274 // Enables HW H264 encoding on Android. 274 // Enables HW H264 encoding on Android.
275 const base::Feature kWebRtcHWH264Encoding{ 275 const base::Feature kWebRtcHWH264Encoding{
276 "WebRtcHWH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT}; 276 "WebRtcHWH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT};
277 277
278 // Enables HW VP8 encoding on Android.
279 const base::Feature kWebRtcHWVP8Encoding {
280 "WebRtcHWVP8Encoding",
281 #if defined(OS_ANDROID)
282 base::FEATURE_DISABLED_BY_DEFAULT
283 #else
284 base::FEATURE_ENABLED_BY_DEFAULT
285 #endif
286 };
287
278 // Enables the WebRTC Echo Canceller version 3 (AEC3). Feature for 288 // Enables the WebRTC Echo Canceller version 3 (AEC3). Feature for
279 // http://crbug.com/688388. This value is sent to WebRTC's echo canceller to 289 // http://crbug.com/688388. This value is sent to WebRTC's echo canceller to
280 // toggle which echo canceller should be used. 290 // toggle which echo canceller should be used.
281 const base::Feature kWebRtcUseEchoCanceller3{"WebRtcUseEchoCanceller3", 291 const base::Feature kWebRtcUseEchoCanceller3{"WebRtcUseEchoCanceller3",
282 base::FEATURE_DISABLED_BY_DEFAULT}; 292 base::FEATURE_DISABLED_BY_DEFAULT};
283 293
284 // Controls whether the WebUSB API is enabled: 294 // Controls whether the WebUSB API is enabled:
285 // https://wicg.github.io/webusb 295 // https://wicg.github.io/webusb
286 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; 296 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT};
287 297
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 #endif // !defined(OS_ANDROID) 348 #endif // !defined(OS_ANDROID)
339 349
340 #if defined(OS_WIN) 350 #if defined(OS_WIN)
341 // Emergency "off switch" for new Windows sandbox security mitigation, 351 // Emergency "off switch" for new Windows sandbox security mitigation,
342 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 352 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
343 const base::Feature kWinSboxDisableExtensionPoints{ 353 const base::Feature kWinSboxDisableExtensionPoints{
344 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 354 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
345 #endif 355 #endif
346 356
347 } // namespace features 357 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698