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

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

Issue 1677133003: Implemented parsing of HEVC codec ids (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@parse-codec-id
Patch Set: Updated comments about VideoCodecProfile enum Created 4 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 21 matching lines...) Expand all
32 EAC3, 32 EAC3,
33 MPEG2_AAC_LC, 33 MPEG2_AAC_LC,
34 MPEG2_AAC_MAIN, 34 MPEG2_AAC_MAIN,
35 MPEG2_AAC_SSR, 35 MPEG2_AAC_SSR,
36 MPEG4_AAC_LC, 36 MPEG4_AAC_LC,
37 MPEG4_AAC_SBR_v1, 37 MPEG4_AAC_SBR_v1,
38 MPEG4_AAC_SBR_PS_v2, 38 MPEG4_AAC_SBR_PS_v2,
39 VORBIS, 39 VORBIS,
40 OPUS, 40 OPUS,
41 H264, 41 H264,
42 HEVC_MAIN, 42 HEVC,
43 VP8, 43 VP8,
44 VP9, 44 VP9,
45 THEORA, 45 THEORA,
46 LAST_CODEC = THEORA 46 LAST_CODEC = THEORA
47 }; 47 };
48 48
49 // Platform configuration structure. Controls which codecs are supported at 49 // Platform configuration structure. Controls which codecs are supported at
50 // runtime. Also used by tests to simulate platform differences. 50 // runtime. Also used by tests to simulate platform differences.
51 struct PlatformInfo { 51 struct PlatformInfo {
52 bool has_platform_decoders = false; 52 bool has_platform_decoders = false;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 // Lookup table for string compare based string -> Codec mappings. 155 // Lookup table for string compare based string -> Codec mappings.
156 StringToCodecMappings string_to_codec_map_; 156 StringToCodecMappings string_to_codec_map_;
157 157
158 DISALLOW_COPY_AND_ASSIGN(MimeUtil); 158 DISALLOW_COPY_AND_ASSIGN(MimeUtil);
159 }; 159 };
160 160
161 } // namespace internal 161 } // namespace internal
162 } // namespace media 162 } // namespace media
163 163
164 #endif // MEDIA_BASE_MIME_UTIL_INTERNAL_H_ 164 #endif // MEDIA_BASE_MIME_UTIL_INTERNAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698