| 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 // Contains code that should be used for initializing, or querying the state | 5 // Contains code that should be used for initializing, or querying the state |
| 6 // of the media library as a whole. | 6 // of the media library as a whole. |
| 7 | 7 |
| 8 #ifndef MEDIA_BASE_MEDIA_H_ | 8 #ifndef MEDIA_BASE_MEDIA_H_ |
| 9 #define MEDIA_BASE_MEDIA_H_ | 9 #define MEDIA_BASE_MEDIA_H_ |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 // used for actual decoders (e.g. MediaCodec) and not full-featured players | 22 // used for actual decoders (e.g. MediaCodec) and not full-featured players |
| 23 // (e.g. MediaPlayer). | 23 // (e.g. MediaPlayer). |
| 24 MEDIA_EXPORT void EnablePlatformDecoderSupport(); | 24 MEDIA_EXPORT void EnablePlatformDecoderSupport(); |
| 25 MEDIA_EXPORT bool HasPlatformDecoderSupport(); | 25 MEDIA_EXPORT bool HasPlatformDecoderSupport(); |
| 26 | 26 |
| 27 // Indicates if the platform supports Opus. Determined *ONLY* by the platform | 27 // Indicates if the platform supports Opus. Determined *ONLY* by the platform |
| 28 // version, so does not guarantee that either can actually be played. | 28 // version, so does not guarantee that either can actually be played. |
| 29 MEDIA_EXPORT bool PlatformHasOpusSupport(); | 29 MEDIA_EXPORT bool PlatformHasOpusSupport(); |
| 30 #endif | 30 #endif |
| 31 | 31 |
| 32 // Tells the media library to support parsing of the new multipart vp9 codec |
| 33 // string. |
| 34 // TODO(chcunningham): Remove these (always support) when string standardized. |
| 35 MEDIA_EXPORT void EnableNewVp9CodecStringSupport(); |
| 36 MEDIA_EXPORT bool HasNewVp9CodecStringSupport(); |
| 37 |
| 32 } // namespace media | 38 } // namespace media |
| 33 | 39 |
| 34 #endif // MEDIA_BASE_MEDIA_H_ | 40 #endif // MEDIA_BASE_MEDIA_H_ |
| OLD | NEW |