#include "test/test_video_capturer.h"
#include <algorithm>
#include "api/scoped_refptr.h"
#include "api/video/i420_buffer.h"
#include "api/video/video_frame_buffer.h"
#include "api/video/video_rotation.h"
namespace webrtc {
namespace test {
TestVideoCapturer::~TestVideoCapturer() = default;
void TestVideoCapturer::OnOutputFormatRequest(
int width,
int height,
const absl::optional<int>& max_fps) { … }
void TestVideoCapturer::OnFrame(const VideoFrame& original_frame) { … }
rtc::VideoSinkWants TestVideoCapturer::GetSinkWants() { … }
void TestVideoCapturer::AddOrUpdateSink(
rtc::VideoSinkInterface<VideoFrame>* sink,
const rtc::VideoSinkWants& wants) { … }
void TestVideoCapturer::RemoveSink(rtc::VideoSinkInterface<VideoFrame>* sink) { … }
void TestVideoCapturer::UpdateVideoAdapter() { … }
VideoFrame TestVideoCapturer::MaybePreprocess(const VideoFrame& frame) { … }
}
}