OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "media/base/media_switches.h" | 5 #include "media/base/media_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 #if defined(OS_LINUX) | 9 #if defined(OS_LINUX) |
10 // The Alsa device to use when opening an audio stream. | 10 // The Alsa device to use when opening an audio stream. |
11 const char kAlsaDevice[] = "alsa-device"; | 11 const char kAlsaDevice[] = "alsa-device"; |
12 #endif | 12 #endif |
13 | 13 |
14 // Enable hardware decoding through gpu process. | |
15 const char kEnableAcceleratedDecoding[] = "enable-accelerated-decoding"; | |
16 | |
17 // Enable hardware decoding using OpenMax API. | 14 // Enable hardware decoding using OpenMax API. |
18 // In practice this is for ChromeOS ARM. | 15 // In practice this is for ChromeOS ARM. |
19 const char kEnableOpenMax[] = "enable-openmax"; | 16 const char kEnableOpenMax[] = "enable-openmax"; |
20 | 17 |
21 // Set number of threads to use for video decoding. | 18 // Set number of threads to use for video decoding. |
22 const char kVideoThreads[] = "video-threads"; | 19 const char kVideoThreads[] = "video-threads"; |
23 | 20 |
24 } // namespace switches | 21 } // namespace switches |
OLD | NEW |