chromium/media/cast/test/utility/video_utility.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#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) {}

}  // namespace cast
}  // namespace media