#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "media/cast/test/utility/video_utility.h"
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <cstdio>
#include "base/rand_util.h"
#include "third_party/libyuv/include/libyuv/compare.h"
#include "ui/gfx/geometry/size.h"
namespace media {
namespace cast {
double I420PSNR(const media::VideoFrame& frame1,
const media::VideoFrame& frame2) { … }
double I420SSIM(const media::VideoFrame& frame1,
const media::VideoFrame& frame2) { … }
void PopulateVideoFrame(VideoFrame* frame, int start_value) { … }
void PopulateVideoFrameWithNoise(VideoFrame* frame) { … }
bool PopulateVideoFrameFromFile(VideoFrame* frame, FILE* video_file) { … }
}
}