You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.01.

File UT_ConstImageView.cpp

ConstImageView Unit Tests.

Functions

TEST_P(UT_SDK_ConstImageView, DefaultPitchAndBytesPerPixel)
TEST_P(UT_SDK_ConstImageView, ArbitraryPitch)
TEST_P(UT_SDK_ConstImageView, ArbitraryBytesPerPixel)
INSTANTIATE_TEST_SUITE_P(AllFormats, UT_SDK_ConstImageView, ::testing::Values(ImageFormat::Mono_8, ImageFormat::Mono_16, ImageFormat::Mono_F, ImageFormat::RGB_8, ImageFormat::RGBA_8, ImageFormat::RGB_F, ImageFormat::RGBA_F, ImageFormat::Mono_32, ImageFormat::Mono_64))
class UT_SDK_ConstImageView : public testing::TestWithParam<ImageFormat>

Protected Static Attributes

static constexpr std::size_t width = {16}
static constexpr std::size_t height = {8}
static constexpr std::size_t pitch = {424}
static constexpr std::size_t bytesPerPixel = {42}