#include "test/create_frame_generator_capturer.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "absl/strings/match.h"
#include "api/task_queue/task_queue_factory.h"
#include "api/test/create_frame_generator.h"
#include "api/test/frame_generator_interface.h"
#include "api/units/time_delta.h"
#include "rtc_base/checks.h"
#include "system_wrappers/include/clock.h"
#include "test/testsupport/file_utils.h"
namespace webrtc {
namespace test {
namespace {
std::string TransformFilePath(std::string path) { … }
}
std::unique_ptr<FrameGeneratorCapturer> CreateFrameGeneratorCapturer(
Clock* clock,
TaskQueueFactory& task_queue_factory,
FrameGeneratorCapturerConfig::SquaresVideo config) { … }
std::unique_ptr<FrameGeneratorCapturer> CreateFrameGeneratorCapturer(
Clock* clock,
TaskQueueFactory& task_queue_factory,
FrameGeneratorCapturerConfig::SquareSlides config) { … }
std::unique_ptr<FrameGeneratorCapturer> CreateFrameGeneratorCapturer(
Clock* clock,
TaskQueueFactory& task_queue_factory,
FrameGeneratorCapturerConfig::VideoFile config) { … }
std::unique_ptr<FrameGeneratorCapturer> CreateFrameGeneratorCapturer(
Clock* clock,
TaskQueueFactory& task_queue_factory,
FrameGeneratorCapturerConfig::ImageSlides config) { … }
std::unique_ptr<FrameGeneratorCapturer> CreateFrameGeneratorCapturer(
Clock* clock,
TaskQueueFactory& task_queue_factory,
const FrameGeneratorCapturerConfig& config) { … }
}
}