#include "media/base/video_frame_layout.h"
#include <stddef.h>
#include <stdint.h>
#include <sstream>
#include <string>
#include <utility>
#include "base/logging.h"
#include "media/base/video_frame.h"
#include "media/base/video_types.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/native_pixmap_handle.h"
namespace media {
namespace {
std::vector<ColorPlaneLayout> CreatePlanes(const std::vector<int32_t>& strides,
const std::vector<size_t>& offsets,
const std::vector<size_t>& sizes) { … }
static std::string ModifierToHexString(uint64_t modifier) { … }
}
TEST(VideoFrameLayout, CreateI420) { … }
TEST(VideoFrameLayout, CreateNV12) { … }
TEST(VideoFrameLayout, CreateWithStrides) { … }
TEST(VideoFrameLayout, CreateWithPlanes) { … }
TEST(VideoFrameLayout, CreateMultiPlanar) { … }
TEST(VideoFrameLayout, CopyConstructor) { … }
TEST(VideoFrameLayout, CopyAssignmentOperator) { … }
TEST(VideoFrameLayout, MoveConstructor) { … }
TEST(VideoFrameLayout, ToStringWithPlanes) { … }
TEST(VideoFrameLayout, ToStringMultiPlanar) { … }
TEST(VideoFrameLayout, ToString) { … }
TEST(VideoFrameLayout, EqualOperator) { … }
TEST(VideoFrameLayout, FitsInContiguousBufferOfSize) { … }
}