#include "components/viz/common/resources/shared_image_format.h"
#include <limits>
#include <vector>
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace viz {
namespace {
constexpr gfx::Size kDefaultSize(100, 100);
constexpr gfx::Size kOddSize(9, 9);
class SharedImageFormatTest : public testing::Test { … };
TEST_F(SharedImageFormatTest, MultiPlaneNV12) { … }
TEST_F(SharedImageFormatTest, MultiPlaneNV16) { … }
TEST_F(SharedImageFormatTest, MultiPlaneNV24) { … }
TEST_F(SharedImageFormatTest, MultiPlaneYVU) { … }
TEST_F(SharedImageFormatTest, MultiPlaneI420) { … }
TEST_F(SharedImageFormatTest, MultiPlaneI422) { … }
TEST_F(SharedImageFormatTest, MultiPlaneI444) { … }
TEST_F(SharedImageFormatTest, MultiPlaneP010) { … }
TEST_F(SharedImageFormatTest, MultiPlaneP210) { … }
TEST_F(SharedImageFormatTest, MultiPlaneP410) { … }
TEST_F(SharedImageFormatTest, MultiPlaneYUVBiplanar16bit) { … }
TEST_F(SharedImageFormatTest, MultiPlaneYUVATriplanar) { … }
TEST_F(SharedImageFormatTest, MultiPlaneYUV420P10) { … }
TEST_F(SharedImageFormatTest, MultiPlaneYUV422P10) { … }
TEST_F(SharedImageFormatTest, MultiPlaneYUV444P10) { … }
TEST_F(SharedImageFormatTest, SinglePlaneRGBA_8888) { … }
TEST_F(SharedImageFormatTest, SinglePlaneRED_8) { … }
TEST_F(SharedImageFormatTest, SinglePlaneRG_88) { … }
TEST_F(SharedImageFormatTest, SinglePlaneETC1) { … }
TEST_F(SharedImageFormatTest, LegacyMultiPlaneP010) { … }
TEST_F(SharedImageFormatTest, LegacyMultiPlaneYV12) { … }
TEST_F(SharedImageFormatTest, LegacyMultiPlaneNV12) { … }
TEST_F(SharedImageFormatTest, LegacyMultiPlaneNV12A) { … }
TEST_F(SharedImageFormatTest, EstimatedSizeInBytesOverflow) { … }
TEST_F(SharedImageFormatTest, PrefersExternalSampler) { … }
}
}