#include "media/base/supported_video_decoder_config.h"
namespace media {
SupportedVideoDecoderConfig::SupportedVideoDecoderConfig() = default;
SupportedVideoDecoderConfig::SupportedVideoDecoderConfig(
VideoCodecProfile profile_min,
VideoCodecProfile profile_max,
const gfx::Size& coded_size_min,
const gfx::Size& coded_size_max,
bool allow_encrypted,
bool require_encrypted)
: … { … }
SupportedVideoDecoderConfig::~SupportedVideoDecoderConfig() = default;
bool SupportedVideoDecoderConfig::Matches(
const VideoDecoderConfig& config) const { … }
bool IsVideoDecoderConfigSupported(
const SupportedVideoDecoderConfigs& supported_configs,
const VideoDecoderConfig& config) { … }
}