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_VIDEO_CODECS_H_ | 5 #ifndef MEDIA_BASE_VIDEO_CODECS_H_ |
6 #define MEDIA_BASE_VIDEO_CODECS_H_ | 6 #define MEDIA_BASE_VIDEO_CODECS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <string> | 9 #include <string> |
10 #include "media/base/media_export.h" | 10 #include "media/base/media_export.h" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 MEDIA_EXPORT bool ParseAVCCodecId(const std::string& codec_id, | 82 MEDIA_EXPORT bool ParseAVCCodecId(const std::string& codec_id, |
83 VideoCodecProfile* profile, | 83 VideoCodecProfile* profile, |
84 uint8_t* level_idc); | 84 uint8_t* level_idc); |
85 | 85 |
86 #if BUILDFLAG(ENABLE_HEVC_DEMUXING) | 86 #if BUILDFLAG(ENABLE_HEVC_DEMUXING) |
87 MEDIA_EXPORT bool ParseHEVCCodecId(const std::string& codec_id, | 87 MEDIA_EXPORT bool ParseHEVCCodecId(const std::string& codec_id, |
88 VideoCodecProfile* profile, | 88 VideoCodecProfile* profile, |
89 uint8_t* level_idc); | 89 uint8_t* level_idc); |
90 #endif | 90 #endif |
91 | 91 |
| 92 MEDIA_EXPORT VideoCodec StringToVideoCodec(const std::string& codec_id); |
| 93 |
92 } // namespace media | 94 } // namespace media |
93 | 95 |
94 #endif // MEDIA_BASE_VIDEO_CODECS_H_ | 96 #endif // MEDIA_BASE_VIDEO_CODECS_H_ |
OLD | NEW |