#include "media/formats/webm/webm_video_client.h"
#include "media/base/media_util.h"
#include "media/base/mock_media_log.h"
#include "media/base/video_decoder_config.h"
#include "media/formats/webm/webm_constants.h"
namespace media {
namespace {
const gfx::Size kCodedSize(321, 243);
MATCHER(UnexpectedStereoMode, "") { … }
MATCHER(UnexpectedMultipleValues, "") { … }
}
static const struct CodecTestParams { … } kCodecTestParams[] = …;
class WebMVideoClientTest : public testing::TestWithParam<CodecTestParams> { … };
TEST_P(WebMVideoClientTest, AutodetectVp9Profile2NoDetection) { … }
TEST_P(WebMVideoClientTest, AutodetectVp9Profile2BitsPerChannel) { … }
TEST_P(WebMVideoClientTest, AutodetectVp9Profile2HDRMetaData) { … }
TEST_P(WebMVideoClientTest, AutodetectVp9Profile2HDRColorSpace) { … }
TEST_P(WebMVideoClientTest, InitializeConfigVP9Profiles) { … }
#if BUILDFLAG(ENABLE_AV1_DECODER)
TEST_F(WebMVideoClientTest, InitializeConfigAV1Profile) { … }
#endif
TEST_F(WebMVideoClientTest, InvalidStereoMode) { … }
TEST_F(WebMVideoClientTest, MultipleStereoMode) { … }
INSTANTIATE_TEST_SUITE_P(…);
}