#ifndef MEDIA_BASE_SUPPORTED_VIDEO_DECODER_CONFIG_H_
#define MEDIA_BASE_SUPPORTED_VIDEO_DECODER_CONFIG_H_
#include <vector>
#include "base/containers/flat_map.h"
#include "media/base/media_export.h"
#include "media/base/video_codecs.h"
#include "media/base/video_decoder_config.h"
#include "ui/gfx/geometry/size.h"
namespace media {
constexpr gfx::Size kDefaultSwDecodeSizeMin(8, 8);
constexpr gfx::Size kDefaultSwDecodeSizeMax(8192, 8192);
struct MEDIA_EXPORT SupportedVideoDecoderConfig { … };
SupportedVideoDecoderConfigs;
MEDIA_EXPORT bool IsVideoDecoderConfigSupported(
const SupportedVideoDecoderConfigs& supported_configs,
const VideoDecoderConfig& config);
}
#endif