OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef MEDIA_BASE_MIME_UTIL_INTERNAL_H_ | 5 #ifndef MEDIA_BASE_MIME_UTIL_INTERNAL_H_ |
6 #define MEDIA_BASE_MIME_UTIL_INTERNAL_H_ | 6 #define MEDIA_BASE_MIME_UTIL_INTERNAL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 17 matching lines...) Expand all Loading... |
28 INVALID_CODEC, | 28 INVALID_CODEC, |
29 PCM, | 29 PCM, |
30 MP3, | 30 MP3, |
31 AC3, | 31 AC3, |
32 EAC3, | 32 EAC3, |
33 MPEG2_AAC, | 33 MPEG2_AAC, |
34 MPEG4_AAC, | 34 MPEG4_AAC, |
35 VORBIS, | 35 VORBIS, |
36 OPUS, | 36 OPUS, |
37 H264, | 37 H264, |
38 HEVC_MAIN, | 38 HEVC, |
39 VP8, | 39 VP8, |
40 VP9, | 40 VP9, |
41 THEORA, | 41 THEORA, |
42 LAST_CODEC = THEORA | 42 LAST_CODEC = THEORA |
43 }; | 43 }; |
44 | 44 |
45 // Platform configuration structure. Controls which codecs are supported at | 45 // Platform configuration structure. Controls which codecs are supported at |
46 // runtime. Also used by tests to simulate platform differences. | 46 // runtime. Also used by tests to simulate platform differences. |
47 struct PlatformInfo { | 47 struct PlatformInfo { |
48 bool has_platform_decoders = false; | 48 bool has_platform_decoders = false; |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 // Lookup table for string compare based string -> Codec mappings. | 164 // Lookup table for string compare based string -> Codec mappings. |
165 StringToCodecMappings string_to_codec_map_; | 165 StringToCodecMappings string_to_codec_map_; |
166 | 166 |
167 DISALLOW_COPY_AND_ASSIGN(MimeUtil); | 167 DISALLOW_COPY_AND_ASSIGN(MimeUtil); |
168 }; | 168 }; |
169 | 169 |
170 } // namespace internal | 170 } // namespace internal |
171 } // namespace media | 171 } // namespace media |
172 | 172 |
173 #endif // MEDIA_BASE_MIME_UTIL_INTERNAL_H_ | 173 #endif // MEDIA_BASE_MIME_UTIL_INTERNAL_H_ |
OLD | NEW |