#include "components/viz/common/resources/shared_image_format_utils.h"
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkColorType.h"
namespace viz {
namespace {
class SharedImageFormatUtilsTest : public testing::Test { … };
TEST_F(SharedImageFormatUtilsTest, ToClosestSkColorTypeMultiPlaneNV12) { … }
TEST_F(SharedImageFormatUtilsTest, ToClosestSkColorTypeMultiPlaneNV16) { … }
TEST_F(SharedImageFormatUtilsTest, ToClosestSkColorTypeMultiPlaneNV24) { … }
TEST_F(SharedImageFormatUtilsTest, ToClosestSkColorTypeMultiPlaneYVU) { … }
TEST_F(SharedImageFormatUtilsTest, ToClosestSkColorTypeMultiPlaneI420) { … }
TEST_F(SharedImageFormatUtilsTest, ToClosestSkColorTypeMultiPlaneP010) { … }
TEST_F(SharedImageFormatUtilsTest, ToClosestSkColorTypeMultiPlaneP210) { … }
TEST_F(SharedImageFormatUtilsTest, ToClosestSkColorTypeMultiPlaneP410) { … }
TEST_F(SharedImageFormatUtilsTest,
ToClosestSkColorTypeMultiPlaneYUVBiplanar16bit) { … }
TEST_F(SharedImageFormatUtilsTest,
ToClosestSkColorTypeMultiPlaneYUVATriplanar) { … }
TEST_F(SharedImageFormatUtilsTest, ToClosestSkColorTypeSinglePlaneRGBX) { … }
TEST_F(SharedImageFormatUtilsTest, ToClosestSkColorTypeSinglePlaneAlpha) { … }
TEST_F(SharedImageFormatUtilsTest, ToClosestSkColorTypeSoftwareRGBX) { … }
TEST_F(SharedImageFormatUtilsTest, ToClosestSkColorTypeSoftwareYUV) { … }
}
}