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

Side by Side Diff: media/base/mime_util_internal.h

Issue 2640113004: Introduce Dolby Vision video codec and Demuxer support (Closed)
Patch Set: fix CQ failure Created 3 years, 10 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
OLDNEW
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 23 matching lines...) Expand all
34 MPEG2_AAC, 34 MPEG2_AAC,
35 MPEG4_AAC, 35 MPEG4_AAC,
36 VORBIS, 36 VORBIS,
37 OPUS, 37 OPUS,
38 FLAC, 38 FLAC,
39 H264, 39 H264,
40 HEVC, 40 HEVC,
41 VP8, 41 VP8,
42 VP9, 42 VP9,
43 THEORA, 43 THEORA,
44 LAST_CODEC = THEORA 44 DolbyVision,
wolenetz 2017/02/18 00:01:02 nit: use MACRO_STYLE here for consistency (see htt
erickung1 2017/02/27 17:33:10 Done.
45 LAST_CODEC = DolbyVision
45 }; 46 };
46 47
47 // Platform configuration structure. Controls which codecs are supported at 48 // Platform configuration structure. Controls which codecs are supported at
48 // runtime. Also used by tests to simulate platform differences. 49 // runtime. Also used by tests to simulate platform differences.
49 struct PlatformInfo { 50 struct PlatformInfo {
50 bool has_platform_decoders = false; 51 bool has_platform_decoders = false;
51 52
52 bool has_platform_vp8_decoder = false; 53 bool has_platform_vp8_decoder = false;
53 bool has_platform_vp9_decoder = false; 54 bool has_platform_vp9_decoder = false;
54 bool supports_opus = false; 55 bool supports_opus = false;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // Lookup table for string compare based string -> Codec mappings. 169 // Lookup table for string compare based string -> Codec mappings.
169 StringToCodecMappings string_to_codec_map_; 170 StringToCodecMappings string_to_codec_map_;
170 171
171 DISALLOW_COPY_AND_ASSIGN(MimeUtil); 172 DISALLOW_COPY_AND_ASSIGN(MimeUtil);
172 }; 173 };
173 174
174 } // namespace internal 175 } // namespace internal
175 } // namespace media 176 } // namespace media
176 177
177 #endif // MEDIA_BASE_MIME_UTIL_INTERNAL_H_ 178 #endif // MEDIA_BASE_MIME_UTIL_INTERNAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698