#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "media/mojo/mojom/video_decoder_config_mojom_traits.h"
#include <utility>
#include "media/base/media_util.h"
#include "media/base/video_decoder_config.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
namespace {
static const gfx::Size kCodedSize(320, 240);
static const gfx::Rect kVisibleRect(320, 240);
static const gfx::Size kNaturalSize(320, 240);
}
TEST(VideoDecoderConfigStructTraitsTest, ConvertVideoDecoderConfig_Normal) { … }
TEST(VideoDecoderConfigStructTraitsTest,
ConvertVideoDecoderConfig_EmptyExtraData) { … }
TEST(VideoDecoderConfigStructTraitsTest, ConvertVideoDecoderConfig_Encrypted) { … }
TEST(VideoDecoderConfigStructTraitsTest,
ConvertVideoDecoderConfig_AspectRatio) { … }
TEST(VideoDecoderConfigStructTraitsTest,
ConvertVideoDecoderConfig_ColorSpaceInfo) { … }
TEST(VideoDecoderConfigStructTraitsTest,
ConvertVideoDecoderConfig_HDRMetadata) { … }
TEST(VideoDecoderConfigStructTraitsTest,
ConvertVideoDecoderConfig_InvalidConfigs) { … }
}