| Index: media/base/video_codecs.h
|
| diff --git a/media/base/video_codecs.h b/media/base/video_codecs.h
|
| index 6218f7cda3a3a8aa98c3956b67445c7ea4b88646..0937422aadbf4863210b31a76b967035b1d40c90 100644
|
| --- a/media/base/video_codecs.h
|
| +++ b/media/base/video_codecs.h
|
| @@ -78,6 +78,19 @@ enum VideoCodecProfile {
|
| std::string MEDIA_EXPORT GetCodecName(VideoCodec codec);
|
| std::string MEDIA_EXPORT GetProfileName(VideoCodecProfile profile);
|
|
|
| +// ParseNewStyleVp9CodecID handles parsing of new style vp9 codec IDs per
|
| +// proposed VP Codec ISO Media File Format Binding specification:
|
| +// https://storage.googleapis.com/downloads.webmproject.org/docs/vp9/vp-codec-iso-media-file-format-binding-20160516-draft.pdf
|
| +// ParseLegacyVp9CodecID handles parsing of legacy VP9 codec strings defined
|
| +// for WebM.
|
| +// TODO(kqyang): Consolidate the two functions once we address crbug.com/667834
|
| +MEDIA_EXPORT bool ParseNewStyleVp9CodecID(const std::string& codec_id,
|
| + VideoCodecProfile* profile,
|
| + uint8_t* level_idc);
|
| +MEDIA_EXPORT bool ParseLegacyVp9CodecID(const std::string& codec_id,
|
| + VideoCodecProfile* profile,
|
| + uint8_t* level_idc);
|
| +
|
| // Handle parsing AVC/H.264 codec ids as outlined in RFC 6381 and ISO-14496-10.
|
| MEDIA_EXPORT bool ParseAVCCodecId(const std::string& codec_id,
|
| VideoCodecProfile* profile,
|
|
|