#ifndef MEDIA_BASE_VIDEO_CODEC_STRING_PARSERS_H_
#define MEDIA_BASE_VIDEO_CODEC_STRING_PARSERS_H_
#include <stdint.h>
#include <optional>
#include <string>
#include <string_view>
#include "media/base/media_export.h"
#include "media/base/media_types.h"
namespace media {
MEDIA_EXPORT std::optional<VideoType> ParseNewStyleVp9CodecID(
std::string_view codec_id);
MEDIA_EXPORT std::optional<VideoType> ParseLegacyVp9CodecID(
std::string_view codec_id);
MEDIA_EXPORT std::optional<VideoType> ParseAv1CodecId(
std::string_view codec_id);
MEDIA_EXPORT std::optional<VideoType> ParseAVCCodecId(
std::string_view codec_id);
MEDIA_EXPORT std::optional<VideoType> ParseHEVCCodecId(
std::string_view codec_id);
MEDIA_EXPORT std::optional<VideoType> ParseVVCCodecId(
std::string_view codec_id);
MEDIA_EXPORT std::optional<VideoType> ParseDolbyVisionCodecId(
std::string_view codec_id);
MEDIA_EXPORT std::optional<VideoType> ParseCodec(std::string_view codec_id);
MEDIA_EXPORT VideoCodec StringToVideoCodec(std::string_view codec_id);
std::string TranslateLegacyAvc1CodecIds(std::string_view codec_id);
}
#endif