#include "test/testsupport/y4m_frame_generator.h"
#include <stdio.h>
#include <string.h>
#include <string>
#include "absl/strings/string_view.h"
#include "api/scoped_refptr.h"
#include "api/video/i420_buffer.h"
#include "rtc_base/checks.h"
#include "test/testsupport/frame_reader.h"
namespace webrtc {
namespace test {
namespace {
constexpr int kHeaderBytesToRead = …;
}
Y4mFrameGenerator::Y4mFrameGenerator(absl::string_view filename,
RepeatMode repeat_mode)
: … { … }
Y4mFrameGenerator::VideoFrameData Y4mFrameGenerator::NextFrame() { … }
void Y4mFrameGenerator::SkipNextFrame() { … }
void Y4mFrameGenerator::ChangeResolution(size_t width, size_t height) { … }
FrameGeneratorInterface::Resolution Y4mFrameGenerator::GetResolution() const { … }
YuvFrameReaderImpl::RepeatMode Y4mFrameGenerator::ToYuvFrameReaderRepeatMode(
RepeatMode repeat_mode) const { … }
}
}