chromium/media/gpu/buffer_validation_unittest.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "media/gpu/buffer_validation.h"

#include <fcntl.h>

#include "base/files/scoped_file.h"
#include "base/functional/bind.h"
#include "media/base/video_frame.h"
#include "media/base/video_types.h"
#include "media/video/fake_gpu_memory_buffer.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/buffer_types.h"
#include "ui/gfx/gpu_memory_buffer.h"
#include "ui/gfx/native_pixmap_handle.h"

namespace media {
namespace {

base::ScopedFD GetDummyFD() {}

size_t FileSizeForTesting(size_t size) {}

TEST(BufferValidationTest, VerifyGmbHandlePasses) {}

TEST(BufferValidationTest, VerifyGmbHandleInvalidType) {}

TEST(BufferValidationTest, VerifyGmbHandlePlanesCountMatches) {}

TEST(BufferValidationTest, VerifyGmbHandleStridesMonotonicallyDecrease) {}

TEST(BufferValidationTest, VerifyGmbHandleInvalidPlaneHeight) {}

TEST(BufferValidationTest, VerifyGmbHandleInvalidPlaneWidth) {}

TEST(BufferValidationTest, VerifyGmbHandleOffsetValid) {}

}  // namespace
}  // namespace media