blob: 42e2cba67e1f6c4e50a6fe7b9aa8bee10c20d200 [file] [log] [blame]
Niels Möller739fcb92016-02-29 13:11:45 +01001/*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10#ifndef WEBRTC_TEST_FRAME_UTILS_H_
11#define WEBRTC_TEST_FRAME_UTILS_H_
12
13#include "webrtc/base/basictypes.h"
14
15namespace webrtc {
16class VideoFrame;
17namespace test {
18
19bool EqualPlane(const uint8_t* data1,
20 const uint8_t* data2,
21 int stride,
22 int width,
23 int height);
24
25bool FramesEqual(const webrtc::VideoFrame& f1, const webrtc::VideoFrame& f2);
26
27} // namespace test
28} // namespace webrtc
29
30#endif // WEBRTC_TEST_FRAME_UTILS_H_