| OLD | NEW |
| 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 // Set to use ffmpeg vp9 decoder instead of libvpx. |
| 11 const char kUseFFVP9[] = "use-ffvp9"; |
| 12 |
| 13 // Set to skip the "in-loop deblocking" decode step for libvpx. |
| 14 const char kSkipVpxLoopFilter[] = "skip-vpx-loop-filter"; |
| 15 |
| 16 // Set to enable frame threading for libvpx. |
| 17 const char kEnableVpxFrameThreading[] = "enable-vpx-frame-threading"; |
| 18 |
| 10 // Allow users to specify a custom buffer size for debugging purpose. | 19 // Allow users to specify a custom buffer size for debugging purpose. |
| 11 const char kAudioBufferSize[] = "audio-buffer-size"; | 20 const char kAudioBufferSize[] = "audio-buffer-size"; |
| 12 | 21 |
| 13 // Set number of threads to use for video decoding. | 22 // Set number of threads to use for video decoding. |
| 14 const char kVideoThreads[] = "video-threads"; | 23 const char kVideoThreads[] = "video-threads"; |
| 15 | 24 |
| 16 // Suspend media pipeline on background tabs. | 25 // Suspend media pipeline on background tabs. |
| 17 const char kEnableMediaSuspend[] = "enable-media-suspend"; | 26 const char kEnableMediaSuspend[] = "enable-media-suspend"; |
| 18 const char kDisableMediaSuspend[] = "disable-media-suspend"; | 27 const char kDisableMediaSuspend[] = "disable-media-suspend"; |
| 19 | 28 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 125 |
| 117 } // namespace switches | 126 } // namespace switches |
| 118 | 127 |
| 119 namespace media { | 128 namespace media { |
| 120 | 129 |
| 121 // Use shared block-based buffering for media. | 130 // Use shared block-based buffering for media. |
| 122 const base::Feature kUseNewMediaCache{"use-new-media-cache", | 131 const base::Feature kUseNewMediaCache{"use-new-media-cache", |
| 123 base::FEATURE_DISABLED_BY_DEFAULT}; | 132 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 124 | 133 |
| 125 } // namespace media | 134 } // namespace media |
| OLD | NEW |