// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // This file contains helper classes for video accelerator unittests. #ifndef MEDIA_GPU_TEST_VIDEO_TEST_ENVIRONMENT_H_ #define MEDIA_GPU_TEST_VIDEO_TEST_ENVIRONMENT_H_ #include <memory> #include <vector> #include "base/at_exit.h" #include "base/files/file_path.h" #include "base/test/scoped_feature_list.h" #include "media/gpu/test/video_frame_file_writer.h" #include "testing/gtest/include/gtest/gtest.h" namespace base { namespace test { class TaskEnvironment; } // namespace test } // namespace base namespace media { namespace test { // The frame output mode allows controlling which video frames are written to // disk. Writing frames will greatly slow down the test and generate a lot of // test artifacts, so be careful when configuring other modes than kNone in // automated testing. enum class FrameOutputMode { … }; // Frame output configuration. struct FrameOutputConfig { … }; class VideoTestEnvironment : public ::testing::Environment { … }; } // namespace test } // namespace media #endif // MEDIA_GPU_TEST_VIDEO_TEST_ENVIRONMENT_H_