#include "rtc_tools/video_file_writer.h"
#include <stdint.h>
#include <cstdio>
#include <string>
#include "absl/strings/match.h"
#include "api/video/video_frame_buffer.h"
#include "rtc_base/logging.h"
namespace webrtc {
namespace test {
namespace {
void WriteVideoToFile(const rtc::scoped_refptr<Video>& video,
const std::string& file_name,
int fps,
bool isY4m) { … }
}
void WriteVideoToFile(const rtc::scoped_refptr<Video>& video,
const std::string& file_name,
int fps) { … }
void WriteY4mVideoToFile(const rtc::scoped_refptr<Video>& video,
const std::string& file_name,
int fps) { … }
void WriteYuvVideoToFile(const rtc::scoped_refptr<Video>& video,
const std::string& file_name,
int fps) { … }
}
}